/* I Drank The Wine - Game Page Styles */

/* Game Hero Section */
.game-hero {
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

/* Hero background video - FULL SCREEN */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(2px);
}

/* Hero background gif - FULL SCREEN */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.3;
    filter: blur(2px);
}

/* Dark overlay for better text readability */
.game-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    z-index: 1;
    pointer-events: none;
}

/* Ensure content is above background */
.game-hero .container {
    position: relative;
    z-index: 2;
}

.game-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--lightning-blue);
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px var(--glow-blue-strong);
    line-height: 1.1;
}

.subtitle-line {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 6px;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--light-yellow);
    font-style: italic;
    margin: 2rem 0;
    max-width: 800px;
    line-height: 1.6;
}

.release-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.release-badge {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid var(--lightning-blue);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 20px var(--glow-blue);
}

/* Back Link */
.back-link {
    color: var(--lightning-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
}

.back-link:hover {
    border-color: var(--lightning-blue);
    box-shadow: 0 0 15px var(--glow-blue);
}

/* Overview Section */
.overview {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
    padding: 5rem 5%;
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--lightning-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.lead-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.platform-info {
    color: var(--light-yellow);
    font-size: 1rem;
    opacity: 0.9;
}

/* Demo Status Box */
.demo-status {
    padding: 5rem 5%;
    background: var(--black);
}

.demo-box {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--lightning-blue);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 0 40px var(--glow-blue);
    max-width: 1000px;
    margin: 0 auto;
}

.demo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.demo-badge {
    background: var(--lightning-blue);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 900;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.demo-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--lightning-blue);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
}

.demo-feature .icon {
    font-size: 1.5rem;
}

.demo-dates {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
}

.demo-dates p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Key Features */
.key-features {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--dark-gray) 0%, var(--black) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: var(--lightning-blue);
    box-shadow: 0 0 30px var(--glow-blue);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--lightning-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    line-height: 1.7;
    color: var(--off-white);
}

/* Gameplay Video */
.gameplay-video {
    padding: 5rem 5%;
    background: var(--black);
}

.video-wrapper {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px var(--glow-blue);
    border: 3px solid var(--lightning-blue);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CTA Section */
.cta-section {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--dark-gray) 0%, var(--black) 100%);
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--lightning-blue);
    margin-bottom: 1rem;
}

.cta-box > p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--off-white);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cta-button-large.primary {
    background: var(--lightning-blue);
    color: var(--black);
    border-color: var(--lightning-blue);
}

.cta-button-large.primary:hover {
    box-shadow: 0 0 30px var(--glow-blue-strong);
    transform: scale(1.05);
}

.cta-button-large.secondary {
    background: transparent;
    color: var(--lightning-blue);
    border-color: var(--lightning-blue);
}

.cta-button-large.secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px var(--glow-blue);
}

.cta-note {
    color: var(--light-yellow);
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* Media Gallery */
.media-gallery {
    padding: 5rem 5%;
    background: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.4s ease;
    aspect-ratio: 16/9;
    background: var(--dark-gray);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--lightning-blue);
    box-shadow: 0 0 30px var(--glow-blue);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--lightning-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.zoom-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--off-white);
    opacity: 0.7;
    font-style: italic;
}

.gallery-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(26, 26, 26, 0.6);
    border: 2px dashed rgba(0, 212, 255, 0.3);
    border-radius: 12px;
}

.gallery-placeholder p {
    font-size: 1.5rem;
    color: var(--lightning-blue);
    margin-bottom: 1rem;
}

.gallery-placeholder .placeholder-note {
    font-size: 1rem;
    color: var(--off-white);
    opacity: 0.7;
    font-style: italic;
}

.gallery-placeholder code {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--lightning-blue);
    font-family: monospace;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border: 3px solid var(--lightning-blue);
    box-shadow: 0 0 50px var(--glow-blue);
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--lightning-blue);
    font-size: 4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--white);
    text-shadow: 0 0 20px var(--glow-blue);
    transform: scale(1.2);
}

.modal-caption {
    color: var(--lightning-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    text-align: center;
    text-shadow: 0 0 10px var(--glow-blue);
}

/* Footer */
.game-footer {
    background: var(--dark-gray);
    padding: 4rem 5% 2rem;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--lightning-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--lightning-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section p {
    color: var(--off-white);
    opacity: 0.8;
    margin: 0.5rem 0;
}

.footer-section a {
    display: block;
    color: var(--off-white);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--lightning-blue);
    padding-left: 1rem;
}

.footer-section a:hover::before {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0.8rem 0;
    color: var(--off-white);
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-quote {
    font-style: italic;
    color: var(--light-yellow);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-box {
        padding: 2rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button-large {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section a::before {
        display: none;
    }
    
    .footer-section a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}