/* ===== GAME LIST ===== */
.game-list {
    margin: 60px 0;
}

.game-list h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
}

.game-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-list-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.game-list-header p {
    font-size: 14px;
    color: #6b7280;
}

.game-list-header a {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
}

/* GRID */

.list-card {
    background: #ffffff;
    border-radius: 18px;

    padding: 20px 18px 22px;
    margin-top: 18px;

    border: 1px solid #e5e7eb;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
}

/* CARD */
.game-card {
    background: linear-gradient(180deg, #25eb56, #148130);
    border-radius: 14px;
    padding: 14px 10px 12px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(37,99,235,.35);
}

/* IMAGE */
.game-thumb {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-thumb img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* NAME */
.game-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}


.product-slider-section {
    position: relative;
}

.product-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}

.product-slider-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.product-slider-header p {
    font-size: 14px;
    color: #6b7280;
}

.product-slider-header a {
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    text-decoration: none;
}

.btn-outline {
    padding: 10px 18px;
    border: 1.5px solid #16a34a;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    background: transparent;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: all .25s ease;
}

.btn-outline:hover {
    background: #ecfdf5;
    transform: translateY(-1px);
}

/* CARD PUTIH */
.slider-card {
    background: #ffffff;
    border-radius: 18px;

    padding: 20px 18px 22px;
    margin-top: 18px;

    border: 1px solid #e5e7eb;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.6);
}

/* WRAPPER */
.product-slider-wrapper {
    position: relative;
}

.product-slider {
    display: flex;
    gap: 18px;

    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px 16px;
}

/* HILANGKAN SCROLLBAR */
.product-slider::-webkit-scrollbar {
    display: none;
}
.product-slider {
    scrollbar-width: none;
}

/* CARD */
.product-card {
    min-width: 200px;
    max-width: 200px;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    transition: .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* BADGE */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

/* IMAGE */
.product-thumb {
    aspect-ratio: 1 / 1.25;
    background: #f3f4f6;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.product-info {
    padding: 14px;
}

.product-info h4 {
    font-size: 14px;
    font-weight: 700;
    
}

.product-info .meta {
    font-size: 12px;
    color: #6b7280;
   
}

.product-info .price {
    font-size: 16px;
    font-weight: 800;
    color: #f97316;
   
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.product-stats .rating {
    color: #facc15; /* kuning bintang */
    font-weight: 600;
}

.product-stats .sold {
    font-weight: 500;
}


/* SLIDER BUTTON */
.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);

    cursor: pointer;
    font-size: 20px;
    font-weight: bold;

    z-index: 2;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.08);
}

.slider-btn.left { left: -12px; }
.slider-btn.right { right: -12px; }

/* MOBILE */
@media (max-width: 768px) {
    .product-card {
        min-width: 170px;
    }

}