/* ==========================================================
   GAMES PAGE
========================================================== */

.games-page {

    min-height: 100vh;

}

/* ==========================================================
   HERO
========================================================== */

.games-hero {

    padding: 100px 0 80px;

    text-align: center;

    background:
    radial-gradient(
        circle at center,
        rgba(17,223,247,.12),
        transparent 60%
    );

}

.games-badge {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border-radius: 999px;

    border: 1px solid rgba(17,223,247,.20);

    background:
    rgba(17,223,247,.08);

    color: var(--primary);

    font-size: .9rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 25px;

}

.games-hero h1 {

    font-size: clamp(2.5rem, 6vw, 4.5rem);

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;

}

.games-hero p {

    max-width: 800px;

    margin: auto;

    color: var(--text-muted);

    font-size: 1.1rem;

}

/* ==========================================================
   FILTERS
========================================================== */

.games-filters {

    padding-bottom: 40px;

}

.filter-group {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}

.filter-btn {

    height: 48px;

    padding: 0 20px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.08);

    background:
    rgba(255,255,255,.03);

    color: white;

    font-weight: 600;

    transition: .25s ease;

}

.filter-btn:hover {

    border-color: var(--primary);

    color: var(--primary);

}

.filter-btn.active {

    background: var(--primary);

    color: #000;

    border-color: var(--primary);

}

/* ==========================================================
   GRID
========================================================== */

.games-grid-section {

    padding-bottom: 100px;

}

.games-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fill, minmax(280px, 1fr));

    gap: 30px;

}

/* ==========================================================
   CARD
========================================================== */

.game-card {

    overflow: hidden;

    border-radius: 20px;

    background: var(--bg-card);

    border: 1px solid rgba(255,255,255,.08);

    transition: .30s ease;

}

.game-card:hover {

    transform: translateY(-8px);

    border-color:
    rgba(17,223,247,.30);

    box-shadow:
    0 15px 40px rgba(0,0,0,.30);

}

.game-image {

    position: relative;

    aspect-ratio: 3 / 4;

    overflow: hidden;

}

.game-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s ease;

}

.game-card:hover .game-image img {

    transform: scale(1.05);

}

/* ==========================================================
   CONDITION
========================================================== */

.game-condition {

    position: absolute;

    top: 15px;
    left: 15px;

    z-index: 5;

    padding: 8px 12px;

    border-radius: 999px;

    background:
    rgba(0,0,0,.80);

    color: var(--primary);

    font-size: .8rem;

    font-weight: 700;

    backdrop-filter: blur(10px);

}

/* ==========================================================
   CONTENT
========================================================== */

.game-content {

    padding: 24px;

}

.game-content h3 {

    font-size: 1.2rem;

    margin-bottom: 15px;

    min-height: 58px;

}

.game-platform {

    display: inline-flex;

    align-items: center;

    padding: 8px 14px;

    border-radius: 999px;

    background:
    rgba(17,223,247,.08);

    color: var(--primary);

    font-size: .85rem;

    font-weight: 700;

    margin-bottom: 20px;

}

.game-price {

    font-size: 1.6rem;

    font-weight: 800;

    margin-bottom: 20px;

}

/* ==========================================================
   BUTTON
========================================================== */

.game-btn {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    height: 50px;

    border-radius: 14px;

    background: var(--primary);

    color: #000;

    font-weight: 700;

    transition: .25s ease;

}

.game-btn:hover {

    background: var(--primary-hover);

}

/* ==========================================================
   COMING SOON
========================================================== */

.games-coming-soon {

    padding-bottom: 100px;

}

.games-coming-soon .feature-notice {

    max-width: 900px;

    margin: auto;

    text-align: center;

}

.games-coming-soon h3 {

    font-size: 2rem;

    margin-bottom: 20px;

}

.games-coming-soon p {

    color: var(--text-muted);

    line-height: 1.8;

}

/* ==========================================================
   EMPTY STATE
========================================================== */

.games-empty {

    text-align: center;

    padding: 80px 20px;

}

.games-empty h3 {

    margin-bottom: 15px;

}

.games-empty p {

    color: var(--text-muted);

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .games-hero {

        padding-top: 80px;

    }

    .games-hero h1 {

        font-size: 2.5rem;

    }

    .games-grid {

        gap: 20px;

    }

    .game-content {

        padding: 18px;

    }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .games-hero {

        padding-top: 60px;

    }

    .games-badge {

        width: 100%;

    }

    .filter-group {

        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 10px;

    }

    .filter-group::-webkit-scrollbar {

        height: 4px;

    }

    .filter-btn {

        flex-shrink: 0;

    }

}

/* ==========================================================
   LARGE DESKTOP
========================================================== */

@media (min-width: 1600px) {

    .games-grid {

        grid-template-columns:
        repeat(5, 1fr);

    }

}