/* =================================================================
   HOME PAGE (pages/home.css)
   -----------------------------------------------------------------
   Page-specific spacing & composition for the homepage.
   ================================================================= */

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-block: clamp(3rem, 10vw, 6rem); /* Reduced vertical padding */
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.12) 0%, transparent 60%);
    z-index: -1;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 5rem); /* Slightly smaller title */
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--color-white) 30%, var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 500px;
    margin-inline: auto;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hide hero buttons on mobile for a cleaner start */
@media (max-width: 600px) {
    .hero {
        padding-block: 4rem 2rem;
    }
    
    .hero__btns {
        display: none;
    }

    .hero__subtitle {
        margin-bottom: 0;
    }
}

/* --- Games Section --- */
.games-section {
    padding-block: var(--section-spacing);
}

.games-grid {
    --grid-min: 280px;
}

.games-section__cta {
    margin-top: 4rem;
    text-align: center;
}

/* --- Stats Section --- */
.stats-section {
    padding-block: var(--section-spacing);
    background: var(--color-bg-alt);
    position: relative;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}
