@charset "UTF-8";

/* =====================================================
   Game List
===================================================== */

.game-list-page{
    max-width:1180px;
    margin:0 auto;
    padding:40px 20px 80px;
}

/* =====================================================
   Hero
===================================================== */

.game-list-hero{
    text-align:center;
    margin-bottom:52px;
}

.game-list-label{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 16px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
}

.game-list-hero h1{
    margin:18px 0 14px;
    font-size:clamp(42px,5vw,64px);
    font-weight:900;
    color:#0f172a;
    letter-spacing:-0.05em;
}

.game-list-hero p{
    max-width:720px;
    margin:0 auto;
    color:#64748b;
    font-size:15px;
    line-height:1.8;
}

/* =====================================================
   Section
===================================================== */

.game-featured-section,
.game-all-section{
    margin-top:0;
    margin-bottom:52px;
}

.game-section-head{
    margin-bottom:18px;
}

.game-section-head p{
    margin:0 0 8px;
    color:#2563eb;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.game-section-head h2{
    margin:0;
    color:#0f172a;
    font-size:30px;
    font-weight:900;
    letter-spacing:-0.04em;
}

/* =====================================================
   Featured Compact Card
===================================================== */

.game-featured-list{
    display:grid;
    gap:18px;
}

.game-featured-card{
    display:grid;
    grid-template-columns:380px 1fr;
    overflow:hidden;
    min-height:236px;
    background:#ffffff;
    border:1px solid rgba(148,163,184,.16);
    border-radius:24px;
    box-shadow:0 14px 36px rgba(15,23,42,.07);
}

.game-featured-thumb{
    display:flex;
    align-items:center;
    justify-content:center;
    height:236px;
    background:#f8fafc;
    overflow:hidden;
    text-decoration:none;
}

.game-featured-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.game-featured-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:28px 32px;
}

.game-card-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
}

.game-category{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:5px 11px;
    border-radius:999px;
    background:#eff6ff;
    color:#2563eb;
    font-size:11px;
    font-weight:900;
}

.game-play-count{
    color:#94a3b8;
    font-size:11px;
    font-weight:800;
    white-space:nowrap;
}

.game-featured-body h2{
    margin:0 0 10px;
    color:#0f172a;
    font-size:34px;
    line-height:1.18;
    font-weight:900;
    letter-spacing:-0.04em;
}

.game-featured-body p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.75;
}

.game-featured-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:16px;
}

.game-featured-meta span{
    padding:6px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-size:11px;
    font-weight:800;
}

.game-play-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:170px;
    height:48px;
    margin-top:20px;
    border-radius:14px;
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:#ffffff;
    font-size:14px;
    font-weight:900;
    text-decoration:none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.game-play-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(37,99,235,.22);
}

/* =====================================================
   Normal Game Cards
===================================================== */

.game-card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:18px;
}

.game-card{
    overflow:hidden;
    background:#ffffff;
    border-radius:22px;
    border:1px solid rgba(148,163,184,.16);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.game-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 32px rgba(15,23,42,.09);
}

.game-card-link{
    display:block;
    height:100%;
    text-decoration:none;
}

.game-thumb{
    aspect-ratio:16/9;
    overflow:hidden;
    background:#f8fafc;
}

.game-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .3s ease;
}

.game-card:hover .game-thumb img{
    transform:scale(1.04);
}

.game-card-body{
    padding:18px;
}

.game-card-body h2{
    margin:12px 0 8px;
    color:#0f172a;
    font-size:21px;
    font-weight:900;
    line-height:1.35;
    letter-spacing:-0.03em;
}

.game-card-body p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    margin:0;
    color:#64748b;
    font-size:13px;
    line-height:1.7;
}

.game-meta{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:14px;
}

.game-meta span{
    padding:5px 9px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-size:10px;
    font-weight:800;
}

/* =====================================================
   Placeholder
===================================================== */

.game-thumb-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    background:linear-gradient(135deg,#dbeafe,#bfdbfe);
}

.game-thumb-placeholder span{
    color:#2563eb;
    font-size:56px;
    font-weight:900;
}

/* =====================================================
   Empty
===================================================== */

.game-empty{
    padding:70px 20px;
    text-align:center;
    border-radius:24px;
    background:#ffffff;
    border:1px dashed rgba(148,163,184,.3);
}

.game-empty h2{
    margin:0 0 10px;
    color:#0f172a;
}

.game-empty p{
    margin:0;
    color:#64748b;
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width:900px){

    .game-featured-card{
        grid-template-columns:1fr;
    }

    .game-featured-thumb{
        height:auto;
        aspect-ratio:16/9;
    }

    .game-featured-body{
        padding:24px;
    }

    .game-featured-body h2{
        font-size:30px;
    }
}

@media (max-width:640px){

    .game-list-page{
        padding:24px 14px 56px;
    }

    .game-list-hero{
        margin-bottom:42px;
    }

    .game-list-hero h1{
        font-size:44px;
    }

    .game-section-head h2{
        font-size:26px;
    }

    .game-featured-card{
        border-radius:22px;
    }

    .game-featured-body{
        padding:22px 18px;
    }

    .game-featured-body h2{
        font-size:28px;
    }

    .game-play-btn{
        width:100%;
    }

    .game-card-grid{
        grid-template-columns:1fr;
    }
}