/**
 * Sevengameshop.com — CALM FLAT & SHARP DESIGN SYSTEM
 * Solid Crimson & Dark Slate (Sharp Typography, No Gradients, Clean & Simple)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --warna: #E53935;
    --warna-hover: #D32F2F;
    --warna-dark: #C62828;
    
    /* Clean Calm Flat Colors */
    --bg-main: #121218;
    --bg-card: #1B1B24;
    --bg-card-hover: #22222E;
    --bg-surface: #1E1E28;
    --bg-input: #15151D;
    --bg-nav: #16161E;
    --bg-footer: #13131A;
    
    /* Clean Flat Borders */
    --border-color: #2A2A38;
    --border-accent: #E53935;
    --border-light: #232330;
    
    /* Crisp Typography */
    --text-primary: #FFFFFF;
    --text-secondary: #D1D1DE;
    --text-muted: #8E8EA0;
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-full: 9999px;
    
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    letter-spacing: -0.2px;
}

/* ==========================================================================
   SVG VECTOR ICONS SYSTEM
   ========================================================================== */
.svg-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.18em;
    fill: currentColor;
    flex-shrink: 0;
}

.svg-icon-sm {
    width: 0.95em;
    height: 0.95em;
    vertical-align: -0.12em;
}

.svg-icon-lg {
    width: 1.35em;
    height: 1.35em;
    vertical-align: -0.2em;
}

/* ==========================================================================
   HEADER & NAVBAR (CALM FLAT & 3D ROLL-DOWN MENU)
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.bg-custom {
    background-color: var(--bg-nav);
    border-bottom: 1px solid var(--border-color);
}

.container {
    width: 100%;
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.navbar-brand span {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: #FFFFFF;
    background-color: #232330;
}

.nav-link.active {
    color: #FFFFFF;
    background-color: var(--warna);
}

.nav-btn-primary {
    background-color: var(--warna) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
}

.nav-btn-primary:hover {
    background-color: var(--warna-hover) !important;
}

.navbar-toggler {
    display: none;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

.navbar-toggler:hover {
    border-color: var(--warna);
    color: var(--warna);
}

/* ==========================================================================
   MAIN CONTAINER
   ========================================================================== */
main.content, .content {
    flex: 1;
    padding-top: 20px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

/* ==========================================================================
   SINGLE PROPORTIONAL BANNER (SLIM LANDSCAPE 2.65:1, EXACT DISINITOPUPNYA)
   ========================================================================== */
.single-banner-wrapper {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid rgba(229, 57, 53, 0.3);
    background-color: var(--bg-card);
    box-shadow: 0 8px 24px -4px rgba(229, 57, 53, 0.2), 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.single-banner-wrapper:hover {
    box-shadow: 0 14px 36px -2px rgba(229, 57, 53, 0.3), 0 6px 18px rgba(0, 0, 0, 0.6);
    border-color: rgba(229, 57, 53, 0.5);
}

.single-banner-img {
    width: 100%;
    aspect-ratio: 2.65 / 1;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* ==========================================================================
   SECTION HEADINGS (LEFT ALIGNED & CALM FLAT)
   ========================================================================== */
.section-heading-wrap {
    margin-bottom: 20px;
    text-align: left;
}

.section-title-disini {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.section-title-disini .svg-icon {
    color: var(--warna);
}

.strip-primary {
    display: block;
    width: 48px;
    height: 3.5px;
    background-color: var(--warna);
    border-radius: var(--radius-full);
    margin-top: 6px;
    margin-left: 0;
}

/* ==========================================================================
   PRODUCT CARDS GRID (6 COLUMNS ON DESKTOP & CENTERED LEFTOVER PRODUCTS)
   ========================================================================== */
.grid-container-game, #gridManual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}

.product_list, #gridManual .product_list {
    width: calc((100% - (5 * 14px)) / 6);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: var(--transition);
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
}

.product_list:hover {
    border-color: var(--warna);
    background-color: var(--bg-card-hover);
    transform: translateY(-3px);
}

.card-game {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #15151D;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.25;
    height: 2.5em; /* Exactly 2 lines height for 100% height uniformity */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.card-subtitle {
    display: none;
}

.card-topup {
    margin-top: auto;
    width: 100%;
}

.btn-topup {
    display: block;
    width: 100%;
    background-color: var(--warna);
    color: #FFFFFF !important;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 8px 0;
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-topup:hover {
    background-color: var(--warna-hover);
}

/* ==========================================================================
   DETAIL PAGE (CALM FLAT & SHARP)
   ========================================================================== */
.row-detail {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 24px;
}

.card-product-detail {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    position: sticky;
    top: 85px;
}

.card-product-detail img {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
}

.card-product-detail h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.card-product-detail p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 18px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.circle-step {
    width: 30px;
    height: 30px;
    background-color: var(--warna);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #FFFFFF;
    flex-shrink: 0;
}

.step-title {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: #FFFFFF;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--warna);
    background-color: #1A1A24;
}

.grid-packages {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
}

.radio-nominal {
    display: none;
}

.radio-nominal + label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #15151D;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 74px;
}

.radio-nominal + label:hover {
    border-color: var(--warna);
    background-color: #20202C;
}

.radio-nominal:checked + label {
    border-color: var(--warna);
    background-color: #281D23;
}

.item-name {
    font-weight: 800;
    font-size: 0.82rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.item-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--warna);
    margin-top: auto;
}

.payment-item {
    background-color: #15151D;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-item.active {
    border-color: var(--warna);
    background-color: #281D23;
}

.btn-beli-sekarang {
    display: block;
    width: 100%;
    background-color: var(--warna);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-family: inherit;
}

.btn-beli-sekarang:hover {
    background-color: var(--warna-hover);
}

/* ==========================================================================
   FLAT PAYMENT BUTTON (NO GREEN, SOLID RED & COMPACT)
   ========================================================================== */
.btn-wa-confirm-flat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background-color: var(--warna);
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 12px;
    letter-spacing: 0.2px;
    border: none;
    height: 40px;
}

.btn-wa-confirm-flat:hover {
    background-color: var(--warna-hover);
}

/* ==========================================================================
   PRICE PAGE REFINEMENTS (COMFORTABLE & CLEAN)
   ========================================================================== */
.price-product-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    margin-bottom: 24px;
    align-items: start;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.price-product-info {
    text-align: center;
    padding-top: 6px;
}

.price-product-info img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin: 0 auto 10px;
    display: block;
}

.price-product-info h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.price-card-table {
    background-color: #15151E;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.table-price {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table-price th {
    background-color: #12121A;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.3px;
}

.table-price td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.table-price tr:nth-child(even) td {
    background-color: rgba(255, 255, 255, 0.015);
}

.table-price tr:last-child td {
    border-bottom: none;
}

.table-price tr:hover td {
    background-color: rgba(229, 57, 53, 0.08);
}

.price-badge-on {
    background-color: #182C20;
    border: 1px solid #25D366;
    color: #25D366;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 800;
}

.filter-tabs-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-tab-btn:hover, .filter-tab-btn.active {
    background-color: var(--warna);
    border-color: var(--warna);
    color: #FFFFFF;
}

/* ==========================================================================
   FOOTER (0 PADDING FULL GAME ICONS & PAGE LIST DIVIDERS)
   ========================================================================== */
footer.bg-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-color);
    position: relative;
    margin-top: auto;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--warna);
}

.footer-inner {
    padding: 40px 0 24px;
}

.footer-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-col h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--warna);
}

.footer-col p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* POPULAR GAMES ICONS (0 PADDING, 100% FULL ICON FILL, NO CROPPING DISTORTION) */
.footer-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-games-grid a {
    display: block;
    padding: 0 !important;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 1 / 1;
}

.footer-games-grid a:hover {
    border-color: var(--warna);
    transform: translateY(-2px);
}

.footer-games-grid img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    padding: 0 !important;
    margin: 0;
}

/* FOOTER PAGE LIST WITH DIVIDERS */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.footer-links li:first-child {
    padding-top: 0;
}

.footer-links li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
    display: block;
}

.footer-links a:hover {
    color: var(--warna);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--warna);
    color: #FFFFFF;
    border-color: var(--warna);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 14px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE QUERIES (TRUE UNROLLING MENU & 3 EQUAL PRODUCT COLUMNS)
   ========================================================================== */
@media (max-width: 860px) {
    /* 3D UNROLLING ACCORDION MENU ANIMATION */
    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #161620;
        border-bottom: 2px solid var(--border-color);
        padding: 14px 16px;
        gap: 6px;
        transform-origin: top center;
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85);
    }

    .navbar-nav.show {
        display: flex;
        animation: rollDownAccordion 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    }

    .navbar-nav li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 10px 14px;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
    }

    .nav-link:hover {
        background-color: #222230;
        border-left: 3px solid var(--warna);
        padding-left: 18px;
    }

    .navbar-toggler {
        display: block;
    }

    .row-detail {
        grid-template-columns: 1fr;
    }

    .card-product-detail {
        position: static;
    }

    .price-product-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .price-product-info {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 0;
    }

    .price-product-info img {
        margin: 0;
        width: 56px;
        height: 56px;
    }

    .price-product-info h5 {
        margin: 0 0 6px 0;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* REAL 3D UNROLLING ACCORDION ANIMATION (MENGGULUNG KEBAWAH) */
@keyframes rollDownAccordion {
    0% {
        opacity: 0;
        max-height: 0;
        transform: perspective(600px) rotateX(-90deg);
    }
    60% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
        max-height: 420px;
        transform: perspective(600px) rotateX(0deg);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM (100% MATCHING DISINITOPUPNYA SCREENSHOT)
   ========================================================================== */
@media (max-width: 768px) {
    .container, main.content, .content {
        padding-left: 24px !important;
        padding-right: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* PREVENT AUTO-ZOOM ON MOBILE INPUT FOCUS */
    input, select, textarea, .form-control {
        font-size: 16px !important;
        touch-action: manipulation;
    }

    main.content, .content {
        padding-top: 14px;
        padding-bottom: 40px;
    }

    .single-banner-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 6px auto 22px;
        border-radius: 20px;
        border: 1.5px solid rgba(229, 57, 53, 0.35);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    }

    .single-banner-img {
        width: 100%;
        aspect-ratio: 2.65 / 1;
        height: auto;
        object-fit: cover;
        border-radius: 18px;
        display: block;
    }

    .section-heading-wrap {
        margin-bottom: 14px;
    }

    .section-title-disini {
        font-size: 1.2rem;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    .strip-primary {
        width: 42px;
        height: 4px;
        border-radius: 4px;
        background-color: #FFA726; /* Gold/Yellow underline bar */
        margin-top: 5px;
    }

    .grid-container-game, #gridManual {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 28px;
        width: 100%;
        box-sizing: border-box;
    }

    .product_list, #gridManual .product_list {
        width: calc((100% - 20px) / 3);
        box-sizing: border-box;
        padding: 8px 6px 10px;
        border-radius: 14px;
        background-color: #161624;
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-decoration: none;
        height: auto;
        flex-shrink: 0;
    }

    .card-game {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 6px;
        background-color: #12121A;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-game img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .card-title {
        font-size: 0.72rem;
        font-weight: 800;
        text-align: center;
        height: 2.4em;
        line-height: 1.2;
        margin-bottom: 6px;
        color: #FFFFFF;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-topup {
        background-color: #FFA726; /* Gold/Yellow button matching disinitopupnya screenshot */
        color: #111118 !important;
        font-size: 0.7rem;
        font-weight: 900;
        padding: 5px 0;
        border-radius: 6px;
        text-transform: uppercase;
        letter-spacing: 0.2px;
        text-align: center;
        border: none;
        cursor: pointer;
        display: block;
        width: 100%;
    }

    .btn-topup:hover {
        background-color: #FB8C00;
    }
}

@media (max-width: 480px) {
    .container, main.content, .content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .grid-container-game, #gridManual {
        gap: 8px;
    }

    .product_list, #gridManual .product_list {
        width: calc((100% - 16px) / 3);
        padding: 7px 5px 9px;
        border-radius: 12px;
    }
}

@media (max-width: 360px) {
    .container, main.content, .content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .grid-container-game, #gridManual {
        gap: 6px;
    }

    .product_list, #gridManual .product_list {
        width: calc((100% - 12px) / 3);
        padding: 6px 4px 8px;
        border-radius: 10px;
    }

    .card-game {
        border-radius: 8px;
    }

    .card-game img {
        border-radius: 8px;
    }

    .card-title {
        font-size: 0.66rem;
    }

    .btn-topup {
        font-size: 0.64rem;
        padding: 4px 0;
    }
}

/* ==========================================================================
   QRIS IMAGE CONTAINER (AUTO ASPECT RATIO HUGGING 1:1, 9:16, 4:3, ETC.)
   ========================================================================== */
.qris-img-container {
    background-color: #FFFFFF;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    max-width: 100%;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.qris-img-container img, #qrisImg {
    max-width: 230px;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 3px;
}

