/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* GTA VI Official Colors - Pink/Purple/Orange Vice City Palette */
    --gta-pink: #ff006b;
    --gta-purple: #8b00ff;
    --gta-orange: #ff4500;
    --gta-yellow: #ffb347;
    --gta-cyan: #00ffff;
    --gta-dark-purple: #4b0082;
    --gta-hot-pink: #ff1493;
    --gta-coral: #ff7f50;
    --gta-black: #0a0a0a;
    --gta-dark-gray: #1a1a1a;
    --gta-gray: #333333;
    --gta-white: #ffffff;
    --gta-cream: #fff8e1;
    --shadow-color: rgba(255, 0, 107, 0.4);
    --text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    --gta-gradient: linear-gradient(135deg, #ff006b 0%, #8b00ff 25%, #ff4500 50%, #ffb347 75%, #00ffff 100%);
    --vice-gradient: linear-gradient(180deg, #ff1493 0%, #8b00ff 50%, #4b0082 100%);
}

body {
    font-family: 'Teko', sans-serif;
    background:
        linear-gradient(135deg, rgba(255, 0, 107, 0.15) 0%, rgba(139, 0, 255, 0.15) 50%, rgba(75, 0, 130, 0.25) 100%),
        linear-gradient(45deg, rgba(10, 10, 10, 0.4) 0%, rgba(75, 0, 130, 0.3) 100%),
        url('gta-vi-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--gta-white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 0, 107, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 80% 20%, rgba(139, 0, 255, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.05) 0%, transparent 80%);
    z-index: 1;
    pointer-events: none;
    animation: backgroundPulse 12s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}





/* Main Content */
main {
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    z-index: 10;
    position: relative;
}

.main-title {
    font-family: 'Anton', sans-serif;
    margin-bottom: 1rem;
}

.gta-text {
    display: block;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 400;
    background: linear-gradient(45deg, var(--gta-white) 0%, var(--gta-cream) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(255, 0, 107, 0.6))
            drop-shadow(0 0 30px rgba(139, 0, 255, 0.4))
            drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
    animation: titleGlow 3s ease-in-out infinite alternate;
    text-transform: uppercase;
}

.vi-text {
    display: block;
    font-family: 'Russo One', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    background: var(--vice-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 8px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8))
            drop-shadow(0 0 40px rgba(139, 0, 255, 0.6))
            drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.9));
    animation: viPulse 4s ease-in-out infinite;
}



@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 15px rgba(255, 0, 107, 0.6))
                drop-shadow(0 0 30px rgba(139, 0, 255, 0.4))
                drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
    }
    to {
        filter: drop-shadow(0 0 25px rgba(255, 0, 107, 0.8))
                drop-shadow(0 0 50px rgba(139, 0, 255, 0.6))
                drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.9));
    }
}

@keyframes viPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.8))
                drop-shadow(0 0 40px rgba(139, 0, 255, 0.6))
                drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.9));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 30px rgba(255, 20, 147, 1))
                drop-shadow(0 0 60px rgba(139, 0, 255, 0.8))
                drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.9));
    }
}



.subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    background: linear-gradient(90deg, var(--gta-cyan) 0%, var(--gta-white) 50%, var(--gta-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8));
    text-transform: uppercase;
}

.release-date {
    font-family: 'Teko', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    background: var(--gta-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    margin-bottom: 3rem;
    text-shadow: none;
    letter-spacing: 2px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
    animation: dateShimmer 3s ease-in-out infinite;
}

/* Countdown Styles */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.countdown-item {
    background:
        linear-gradient(145deg, rgba(255, 0, 107, 0.1), rgba(139, 0, 255, 0.1)),
        linear-gradient(145deg, var(--gta-dark-gray), var(--gta-black));
    border: 2px solid transparent;
    border-image: var(--vice-gradient) 1;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(255, 0, 107, 0.2),
        0 4px 16px rgba(139, 0, 255, 0.2),
        inset 0 1px 0 rgba(255, 20, 147, 0.3);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 40px rgba(255, 0, 107, 0.3),
        0 6px 20px rgba(139, 0, 255, 0.3),
        0 0 30px rgba(255, 20, 147, 0.4),
        inset 0 1px 0 rgba(255, 20, 147, 0.5);
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.2), rgba(139, 0, 255, 0.2), transparent);
    transition: left 0.5s;
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-number {
    font-family: 'Staatliches', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 20%, rgba(255, 179, 71, 0.9) 40%, rgba(255, 20, 147, 0.8) 70%, rgba(139, 0, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 12px rgba(255, 20, 147, 0.5))
            drop-shadow(0 0 18px rgba(139, 0, 255, 0.4));
    animation: countdownGlow 3s ease-in-out infinite alternate;
}

.countdown-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    background: linear-gradient(90deg, var(--gta-hot-pink) 0%, var(--gta-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: none;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.8));
}

@keyframes countdownGlow {
    from {
        filter: drop-shadow(0 0 12px rgba(255, 20, 147, 0.5))
                drop-shadow(0 0 18px rgba(139, 0, 255, 0.4));
    }
    to {
        filter: drop-shadow(0 0 18px rgba(255, 20, 147, 0.6))
                drop-shadow(0 0 24px rgba(139, 0, 255, 0.5))
                drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
    }
}

@keyframes dateShimmer {
    0%, 100% {
        background: var(--gta-gradient);
        -webkit-background-clip: text;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, #00ffff 0%, #ff006b 25%, #8b00ff 50%, #ff4500 75%, #ffb347 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
}

/* Info Section */
.info-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.info-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 248, 225, 0.8) 50%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.6));
}

.info-section > p {
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--gta-cream);
    text-align: center;
    letter-spacing: 1px;
}

.action-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background:
        linear-gradient(145deg, rgba(255, 0, 107, 0.1), rgba(139, 0, 255, 0.1)),
        linear-gradient(145deg, var(--gta-dark-gray), var(--gta-black));
    border: 2px solid transparent;
    border-radius: 15px;
    text-decoration: none;
    color: var(--gta-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.15), rgba(139, 0, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px rgba(255, 0, 107, 0.3),
        0 5px 15px rgba(139, 0, 255, 0.2);
}

.official-btn {
    border-image: linear-gradient(135deg, var(--gta-hot-pink), var(--gta-purple)) 1;
}

.official-btn:hover {
    border-image: linear-gradient(135deg, var(--gta-cyan), var(--gta-hot-pink)) 1;
}

.share-btn {
    border-image: linear-gradient(135deg, var(--gta-cyan), var(--gta-orange)) 1;
}

.share-btn:hover {
    border-image: linear-gradient(135deg, var(--gta-hot-pink), var(--gta-cyan)) 1;
}

.btn-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.6));
}

.btn-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--gta-cyan) 0%, var(--gta-hot-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.btn-subtitle {
    font-family: 'Teko', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--gta-cream);
    opacity: 0.8;
    letter-spacing: 1px;
}



/* Footer */
footer {
    background: var(--gta-black);
    border-top: 3px solid transparent;
    border-image: var(--gta-gradient) 1;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    font-family: 'Teko', sans-serif;
    color: var(--gta-cream);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .countdown-item {
        padding: 1rem 0.5rem;
    }

    .action-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .action-btn {
        padding: 1.5rem 1rem;
    }

    .btn-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .btn-text {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1rem;
    }
}

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

    .gta-text {
        letter-spacing: 1px;
    }

    .vi-text {
        letter-spacing: 2px;
    }
}

/* Mobile background image */
@media (max-width: 768px) {
    body {
        background:
            linear-gradient(135deg, rgba(255, 0, 107, 0.15) 0%, rgba(139, 0, 255, 0.15) 50%, rgba(75, 0, 130, 0.25) 100%),
            linear-gradient(45deg, rgba(10, 10, 10, 0.4) 0%, rgba(75, 0, 130, 0.3) 100%),
            url('gta-vi-background-mobile.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .background-overlay,
    header,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
