/* =========================================
   BUXNESIA POPULAR / GAME LIST
========================================= */

.game-list {
    margin: 80px 0;
}

.game-list-header,
.product-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.game-list h3,
.game-list-header h3,
.product-slider-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;

    font-size: clamp(24px, 3vw, 36px);
    font-weight: 950;
    letter-spacing: -.045em;
}

.game-list-header p,
.product-slider-header p {
    margin-top: 4px;

    color: #94a3b8;
    font-size: 14px;
}

.game-list-header a,
.product-slider-header a {
    color: #22d3ee;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.game-list-header a:hover,
.product-slider-header a:hover {
    color: #facc15;
}

/* =========================================
   OUTLINE BUTTON
========================================= */

.btn-outline {
    padding: 10px 18px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    border-radius: 999px;

    color: #22d3ee;
    background: rgba(34,211,238,.08);

    border: 1px solid rgba(34,211,238,.24);

    font-size: 14px;
    font-weight: 900;

    transition: .25s ease;
}

.btn-outline:hover {
    color: #07111f;
    background: linear-gradient(135deg, #22d3ee, #facc15);
    border-color: transparent;
    transform: translateY(-2px);
}

/* =========================================
   LIST CARD / SLIDER CARD
========================================= */

.list-card,
.slider-card {
    position: relative;
    overflow: hidden;

    margin-top: 22px;
    padding: 20px;

    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;

    box-shadow:
        0 24px 70px rgba(0,0,0,.30),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.list-card::before,
.slider-card::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: rgba(34,211,238,.10);
    filter: blur(30px);

    pointer-events: none;
}

/* =========================================
   GAME GRID
========================================= */

.game-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 14px;
}

/* GAME CARD */
.game-card {
    position: relative;
    overflow: hidden;

    min-height: 126px;
    padding: 16px 10px 14px;

    text-align: center;
    color: #ffffff;
    text-decoration: none;

    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;

    transition: .28s ease;
}

.game-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top, rgba(34,211,238,.16), transparent 55%);

    opacity: 0;
    transition: .28s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34,211,238,.28);
    box-shadow:
        0 18px 42px rgba(0,0,0,.30),
        0 0 24px rgba(34,211,238,.10);
}

.game-card:hover::before {
    opacity: 1;
}

/* GAME ICON */
.game-thumb {
    position: relative;
    z-index: 1;

    width: 60px;
    height: 60px;

    margin: 0 auto 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.game-thumb img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.game-name {
    position: relative;
    z-index: 1;

    display: block;

    color: #e5e7eb;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

/* =========================================
   PRODUCT SLIDER SECTION
========================================= */

.product-slider-section {
    position: relative;
    margin: 80px 0;
}

.product-slider-wrapper {
    position: relative;
}

.product-slider {
    position: relative;
    z-index: 1;

    display: flex;
    gap: 18px;

    overflow-x: scroll;
    scroll-behavior: smooth;

    padding: 6px 2px 16px;

    scrollbar-width: none;
    user-select: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

/* PRODUCT CARD */
.product-card {
    position: relative;
    overflow: hidden;

    min-width: 205px;
    max-width: 205px;
    flex-shrink: 0;

    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;

    box-shadow: 0 18px 45px rgba(0,0,0,.24);

    transition: .28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34,211,238,.28);
    box-shadow:
        0 26px 65px rgba(0,0,0,.34),
        0 0 28px rgba(34,211,238,.10);
}

/* BADGE */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    padding: 5px 10px;

    border-radius: 999px;

    color: #07111f;
    background: linear-gradient(135deg, #22d3ee, #facc15);

    font-size: 11px;
    font-weight: 950;

    box-shadow: 0 12px 24px rgba(34,211,238,.16);
}

/* IMAGE */
.product-thumb {
    aspect-ratio: 1 / 1.22;
    overflow: hidden;

    background: rgba(255,255,255,.06);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: .35s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.04);
}

/* INFO */
.product-info {
    padding: 14px;
}

.product-info h4 {
    margin-bottom: 5px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
}

.product-info .meta {
    margin-bottom: 6px;

    color: #94a3b8;
    font-size: 12px;
}

.product-info .price {
    margin-bottom: 6px;

    color: #facc15;
    font-size: 16px;
    font-weight: 950;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    margin-top: 6px;

    color: #94a3b8;
    font-size: 12px;
}

.product-stats .rating {
    color: #facc15;
    font-weight: 900;
}

.product-stats .sold {
    color: #94a3b8;
    font-weight: 700;
}

/* =========================================
   SLIDER BUTTON
========================================= */

.slider-btn {
    position: absolute;
    top: 42%;
    z-index: 3;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    color: #ffffff;
    background: rgba(15,23,42,.88);

    box-shadow: 0 16px 36px rgba(0,0,0,.30);

    cursor: pointer;

    font-size: 20px;
    font-weight: 900;

    transition: .25s ease;
}

.slider-btn:hover {
    color: #07111f;
    background: linear-gradient(135deg, #22d3ee, #facc15);
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
}

.slider-btn.left {
    left: -12px;
}

.slider-btn.right {
    right: -12px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
    .game-list,
    .product-slider-section {
        margin: 60px 0;
    }

    .game-list-header,
    .product-slider-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .list-card,
    .slider-card {
        padding: 16px;
        border-radius: 24px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
        gap: 12px;
    }

    .game-card {
        min-height: 116px;
        border-radius: 20px;
    }

    .game-thumb {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .game-thumb img {
        width: 40px;
        height: 40px;
    }

    .product-card {
        min-width: 172px;
        max-width: 172px;
    }

    .slider-btn {
        display: none;
    }
}