/* ===================================
   AniMo Gaming - Rockstar Edition
   GTA VI Inspired Cinematic Design
   =================================== */

:root {
    /* Rockstar Palette */
    --primary-blue: #2563eb;
    --primary-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --bg-primary: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body.locked {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ===================================
   Background Elements (Fix for Visibility)
   =================================== */
.video-background,
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-primary);
}

.video-overlay,
.grid-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

canvas#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================
   Scroll Snapping Sections
   =================================== */
section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ===================================
   Ken Burns Animation (Rockstar Style)
   =================================== */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.slide-background,
.game-image,
.zone-showcase-image,
.about-img {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    line-height: 1;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: 1;
    display: block;
}

.logo-subtitle {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.cta-button {
    background: transparent;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border: 1px solid rgba(255, 230, 0, 0.5);
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.cta-button:hover {
    background: #FFD700;
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.86, 0, 0.07, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .cta-button {
        display: none;
        /* Hide on mobile to save space, or move into nav-links */
    }
}

/* ===================================
   Hero Slider (GTA VI Style)
   =================================== */
.hero-slider {
    height: 100vh;
    width: 100%;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.slide-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    max-width: 900px;
    z-index: 10;
}

.slide-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.slide-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -4px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.slide-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    display: block;
}

.primary-button,
.secondary-button {
    padding: 1.2rem 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.primary-button {
    background: #fff;
    color: #000;
}

.primary-button:hover {
    background: var(--accent-cyan);
    color: #fff;
    transform: scale(1.05);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Verticle Dot Navigation */
.slider-dots {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.dot {
    width: 3px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.5s;
}

.dot.active {
    background: #fff;
    height: 70px;
}

/* ===================================
   Rockstar Style Sections
   =================================== */
.section-header {
    position: relative;
    padding: 100px 4rem 40px;
    z-index: 10;
    text-align: left;
}

.section-badge {
    color: var(--accent-cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
}

.section-description {
    color: #888;
    font-size: 1.2rem;
    max-width: 600px;
    margin-top: 1rem;
}

/* Games Grid - Stable & Cinematic */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    min-height: 70vh;
    gap: 1.5rem;
    padding: 0 4rem;
    margin-top: 5rem;
}

.game-card {
    height: 500px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}

.game-card:hover {
    transform: scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: 0.5s;
}

.game-info h3 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.game-tags span {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Zones - Stable Cinematic Layout */
.zones-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    gap: 0;
}

.zone-showcase-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.zone-showcase-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.zone-showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 5rem;
}

.zone-showcase-content {
    max-width: 500px;
}

.zone-number {
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.1;
    line-height: 0.8;
    position: absolute;
    top: 10%;
    right: 10%;
}

.zone-showcase-content h3 {
    font-size: 3.5rem;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

/* ===================================
   Responsive Changes
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .slide-content {
        left: 5%;
        bottom: 15%;
        width: 90%;
    }

    .slide-title {
        font-size: 4rem;
    }

    .section-header {
        padding: 80px 1.5rem 30px;
    }

    .section-title {
        font-size: 3rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .game-card {
        height: 400px;
    }

    .zones-showcase {
        grid-template-columns: 1fr;
    }

    .zone-showcase-item {
        height: 60vh;
    }

    .zone-showcase-overlay {
        padding: 2rem;
    }

    .zone-showcase-content h3 {
        font-size: 2.5rem;
    }

    section {
        height: auto;
        min-height: auto;
        padding: 60px 0;
        scroll-snap-align: none;
    }

    html {
        scroll-snap-type: none;
    }
}

/* ===================================
   Avengers Style Announcement (Epic Reveal)
   =================================== */
.avengers-reveal {
    text-align: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.epic-date {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 15px;
    color: #fff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(37, 99, 235, 0.8),
        0 0 40px rgba(37, 99, 235, 0.6);
    margin-bottom: 2rem;
    animation: epicGlow 3s ease-in-out infinite alternate;
}

@keyframes epicGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(37, 99, 235, 0.5));
    }

    100% {
        filter: brightness(1.5) drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.countdown-container-epic {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* NEW: Allow units to wrap on small screens */
    gap: 2rem;
    /* REDUCED: More flexible gap */
    margin: 3rem 0;
    width: 100%;
}

.countdown-box-epic {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.countdown-box-epic .value {
    font-size: clamp(3.5rem, 8vw, 6rem);
    /* RESPONSIVE: Scales with screen */
    font-weight: 900;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 30%, #aaaaaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.2rem 1rem;
    /* Added horizontal padding */
    display: block;
    text-align: center;
}

.countdown-box-epic .label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--accent-cyan);
    font-weight: 900;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}

/* Calendar Style */
.epic-calendar {
    display: inline-flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-top: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.calendar-month {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.calendar-day {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

/* ===================================
   Splash Screen (The Announcement)
   =================================== */
.splash-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.86, 0, 0.07, 1), opacity 0.8s ease;
}

.splash-screen.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    max-width: 900px;
    width: 90%;
}

/* ===================================
   Contact Form Styles
   =================================== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.form-group select option {
    background: #111;
    color: #fff;
}

.full-width {
    width: 100%;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .splash-content {
        width: 100%;
        padding: 0 1rem;
    }

    .splash-content .slide-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px;
    }

    .countdown-container-epic {
        gap: 0.5rem;
        margin: 1.5rem 0;
    }

    .countdown-box-epic .value {
        font-size: 2.5rem !important;
    }

    .countdown-box-epic .label {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .primary-button,
    .secondary-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .slide-cta {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* Animations Helper */
.fadeInUp {
    animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}