/* ── Games Section ── */
.games {
    padding: var(--section-padding);
    background: var(--bg-surface-3);
}

/* Featured Game */
.featured-game {
    max-width: var(--max-width);
    margin: 0 auto 64px;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.game-header img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
}

.game-header h2 {
    font-size: 2em;
    color: var(--text-white);
    margin: 0;
}

/* Carousel */
.carousel-container {
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Store buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 0.85em;
    font-family: var(--font-primary);
    color: var(--text-white);
    background: linear-gradient(145deg, var(--bg-surface-4), #292e63);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: background var(--transition-base), transform var(--transition-fast);
}

.store-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-surface-1);
    transform: translateY(-3px);
}

/* More Games */
.more-games {
    max-width: var(--max-width);
    margin: 0 auto;
}

.more-games h2 {
    text-align: center;
    font-size: 1.8em;
    color: var(--accent-gold);
    margin-bottom: 32px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--bg-surface-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.game-card img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
}

.game-card h3 {
    font-size: 0.95em;
    margin-bottom: 12px;
}

.game-card .store-buttons {
    margin-top: 16px;
    gap: 8px;
}

.game-card .store-btn {
    font-size: 0.7em;
    padding: 8px 12px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .games {
        padding: var(--section-padding-mobile);
    }

    .game-header {
        flex-direction: column;
        gap: 12px;
    }

    .game-header img {
        width: 64px;
        height: 64px;
    }

    .game-header h2 {
        font-size: 1.5em;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 80%;
        text-align: center;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .game-card img {
        width: 80px;
        height: 80px;
    }
}
