/* =============================================================
   SEASON1.CSS — Season 1 Presentation Page
   ============================================================= */

/* ===== HERO SECTION ===== */
.season-hero {
    text-align: center;
    padding: 56px 32px 40px;
    position: relative;
    overflow: hidden;
}

.season-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 100, 255, 0.30) 30%, rgba(160, 120, 255, 0.45) 50%, rgba(140, 100, 255, 0.30) 70%, transparent);
    pointer-events: none;
}

/* ===== HERO LOGO (Season 1 image) ===== */
.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-logo {
    display: block;
    width: clamp(200px, 50vw, 313px);
    height: auto;
    position: relative;
    z-index: 2;
    filter:
        drop-shadow(0 0 18px rgba(140, 100, 255, 0.45))
        drop-shadow(0 0 40px rgba(100, 60, 220, 0.20))
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.60));
    animation: heroLogoFloat 4s ease-in-out infinite alternate;
}

@keyframes heroLogoFloat {
    0%   { transform: translateY(0); filter: drop-shadow(0 0 18px rgba(140, 100, 255, 0.45)) drop-shadow(0 0 40px rgba(100, 60, 220, 0.20)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.60)); }
    100% { transform: translateY(-6px); filter: drop-shadow(0 0 24px rgba(140, 100, 255, 0.55)) drop-shadow(0 0 50px rgba(100, 60, 220, 0.30)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.60)); }
}

.hero-logo-glow {
    position: absolute;
    inset: -30%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(120, 80, 255, 0.18) 0%,
        rgba(80, 40, 200, 0.08) 40%,
        transparent 70%
    );
    filter: blur(20px);
    z-index: 1;
    animation: heroGlowPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlowPulse {
    0%   { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1;   transform: scale(1.08); }
}

/* Hero title — same style as policy-title (delete page) */
.season-title {
    font-family: 'Passion One', sans-serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(
        180deg,
        rgba(240, 230, 255, 1.0) 0%,
        rgba(180, 150, 255, 1.0) 50%,
        rgba(130, 100, 240, 1.0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 12px rgba(140, 100, 255, 0.35))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.60));
}

/* Subtitle */
.season-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: clamp(0.88rem, 3vw, 1.05rem);
    line-height: 1.7;
    color: rgba(200, 190, 230, 0.72);
    max-width: 520px;
    margin: 0 auto;
}

/* ===== GAMES GRID SECTION ===== */
.games-section {
    padding: 36px 28px 20px;
}

.games-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-left: 4px;
    flex-wrap: nowrap;
}

.games-section-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: rgba(120, 80, 255, 0.10);
    border: 1px solid rgba(140, 100, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(180, 150, 255, 0.85);
    animation: iconFloat 4s ease-in-out infinite alternate;
}

@keyframes iconFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

.games-section-title {
    font-family: 'Passion One', sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 4vw, 1.45rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(
        180deg,
        rgba(230, 220, 255, 1.0) 0%,
        rgba(160, 140, 240, 1.0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.50));
}

.games-count {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(140, 200, 255, 0.85);
    background: rgba(80, 160, 255, 0.10);
    border: 1px solid rgba(80, 160, 255, 0.18);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ===== GAMES GRID ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}

/* ===== GAME CARD ===== */
.game-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: default;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(35, 20, 75, 0.50) 0%,
            rgba(20, 12, 55, 0.60) 50%,
            rgba(30, 18, 65, 0.50) 100%
        );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(140, 100, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
        0 4px 20px rgba(0, 0, 0, 0.30),
        0 0 15px rgba(120, 80, 255, 0.05);

    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Top highlight */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(180, 150, 255, 0.25) 30%,
        rgba(200, 170, 255, 0.40) 50%,
        rgba(180, 150, 255, 0.25) 70%,
        transparent
    );
    opacity: 0.6;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

/* Glow overlay on hover */
.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(140, 100, 255, 0.12) 0%,
        rgba(80, 40, 200, 0.05) 50%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.game-card:hover {
    border-color: rgba(160, 120, 255, 0.40);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 45px rgba(120, 80, 255, 0.18),
        0 0 80px rgba(100, 60, 220, 0.08);
    transform: translateY(-5px) scale(1.03);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover::after {
    opacity: 1;
}

.game-card:hover .game-logo {
    transform: scale(1.08);
    filter:
        drop-shadow(0 0 14px rgba(140, 100, 255, 0.35))
        drop-shadow(0 0 28px rgba(100, 60, 220, 0.15))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.40));
}

/* Logo image */
.game-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.40));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 28px 28px 12px;
}

.stat-card:last-child {
    grid-column: 1 / -1;
}

.stat-card {
    text-align: center;
    padding: 20px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(140, 100, 255, 0.10);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow on stat cards */
.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 25%;
    right: 25%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(100, 160, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.stat-card:hover {
    border-color: rgba(140, 100, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(100, 60, 220, 0.08);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-value {
    font-family: 'Passion One', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    letter-spacing: 0.03em;
    background: linear-gradient(
        180deg,
        rgba(200, 230, 255, 1.0) 0%,
        rgba(100, 180, 255, 1.0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(80, 160, 255, 0.35));
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-label {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(180, 170, 210, 0.60);
}

/* ===== COMING SOON BANNER ===== */
.coming-soon {
    text-align: center;
    padding: 24px 28px 36px;
}

.coming-soon-text {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(200, 190, 230, 0.60);
    font-style: italic;
}

.coming-soon-text strong {
    color: rgba(180, 160, 255, 0.85);
    font-weight: 600;
    font-style: normal;
}

/* =============================================================
   AMBIENT LIGHT EFFECTS — Extra glow for gaming feel
   ============================================================= */

/* Soft animated light sweep across the grid */
.games-section {
    position: relative;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(120, 80, 255, 0.04),
        rgba(80, 160, 255, 0.03),
        transparent
    );
    animation: lightSweep 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes lightSweep {
    0%   { left: -40%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ===== BACKGROUND IMAGE FADE ===== */
.glass-container {
    position: relative;
}

.glass-container > .bg-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 550px;
    z-index: 0;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 20%, transparent 85%);
    mask-image: linear-gradient(to bottom, black 0%, black 20%, transparent 85%);
}

.glass-container > .bg-fade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.30;
    display: block;
}

/* Push all direct children above the bg */
.glass-container > *:not(.bg-fade) {
    position: relative;
    z-index: 1;
}

/* Glow accent behind hero title */
.season-title {
    position: relative;
}

.glass-container::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 200px;
    background: radial-gradient(
        ellipse at center,
        rgba(120, 80, 255, 0.06) 0%,
        rgba(80, 40, 200, 0.03) 50%,
        transparent 80%
    );
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: ambientGlow 6s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
    0%   { opacity: 0.5; }
    100% { opacity: 1; }
}

/* =============================================================
   SCROLL REVEAL ANIMATION
   ============================================================= */
.game-card {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    animation: cardReveal 0.6s ease forwards;
}

@keyframes cardReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered delays */
.game-card:nth-child(1)  { animation-delay: 0.05s; }
.game-card:nth-child(2)  { animation-delay: 0.10s; }
.game-card:nth-child(3)  { animation-delay: 0.15s; }
.game-card:nth-child(4)  { animation-delay: 0.20s; }
.game-card:nth-child(5)  { animation-delay: 0.25s; }
.game-card:nth-child(6)  { animation-delay: 0.30s; }
.game-card:nth-child(7)  { animation-delay: 0.35s; }
.game-card:nth-child(8)  { animation-delay: 0.40s; }
.game-card:nth-child(9)  { animation-delay: 0.45s; }
.game-card:nth-child(10) { animation-delay: 0.50s; }
.game-card:nth-child(11) { animation-delay: 0.55s; }
.game-card:nth-child(12) { animation-delay: 0.60s; }
.game-card:nth-child(13) { animation-delay: 0.65s; }
.game-card:nth-child(14) { animation-delay: 0.70s; }
.game-card:nth-child(15) { animation-delay: 0.75s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ===== MOBILE ===== */
@media (max-width: 480px) {
    .season-hero {
        padding: 36px 20px 28px;
    }

    .hero-logo {
        width: clamp(170px, 55vw, 240px);
    }

    .games-section {
        padding: 24px 16px 16px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }

    .game-card {
        padding: 14px;
        border-radius: 14px;
    }

    .stats-bar {
        padding: 20px 16px 8px;
        gap: 8px;
    }

    .stat-card {
        padding: 16px 10px;
    }

    .coming-soon {
        padding: 16px 16px 28px;
    }

    .games-section-header {
        gap: 10px;
        margin-bottom: 20px;
    }
}

/* ===== TABLET ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
}

/* ===== DESKTOP ===== */
@media (min-width: 769px) {
    .season-hero {
        padding: 64px 48px 44px;
    }

    .games-section {
        padding: 40px 40px 24px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .game-card {
        padding: 22px;
        border-radius: 20px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 32px 40px 16px;
        gap: 16px;
    }

    .stat-card:last-child {
        grid-column: auto;
    }

    .coming-soon {
        padding: 28px 40px 44px;
    }
}