
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-dark: #121212;
    --bg-light: #1A1A1A;
    --bg-input: #2C2C2C;
    --primary-red: #FBC02D;
    --primary-yellow: #FBC02D;
    --text-white: #FFFFFF;
    --text-grey: #AAAAAA;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    margin-bottom: 20px;
    padding: 0 20px;
}

a {
    color: var(--text-white);
    text-decoration: none;
}

canvas {
    position: fixed !important;
    z-index: 9999 !important;
    pointer-events: none;
}


.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-light);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-red);
}

.main-nav a {
    margin: 0 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-yellow);
}


.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-dark);
}

.btn-checkout-premium {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    
    display: flex;
    align-items: stretch; 
    justify-content: space-between;
    background: linear-gradient(1deg, #ff6b35, #ff9500);  
    border-radius: 50px; 
    overflow: hidden; 
    
    height: 55px;
    min-width: 240px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-checkout-premium:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 192, 45, 0.4); 
}

.btn-checkout-premium:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(100%); 
    transform: none;
    box-shadow: none;
}

.btn-label {
    flex-grow: 1; 
    display: flex;
    align-items: center;
    padding-left: 20px; 
    

    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333333; 
    letter-spacing: 0.5px;
}

.btn-icon-box {
    background-color: #fff; 
    
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #121212; 
    font-size: 1.4rem;
    
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 10% 100%);
    
    margin-left: -10px; 
    padding-left: 10px; 
}


.checkout-action-wrapper {
    display: flex;          
    justify-content: flex-end; 
    margin-top: 1rem; 
    width: 100%;
}

#checkout-button {
    min-width: 200px; 
    font-size: 1.1rem; 
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 14px;
    margin-top: 5px;
    background-color: var(--bg-input);
    border: 1px solid var(--bg-input);
    border-radius: 5px;
    color: var(--text-white);
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border: 1px solid var(--primary-yellow);
}

select.form-control {
    width: 100%; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-color: var(--bg-input);
    color: #e0e0e0; 
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 40px 12px 16px; 
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBC02D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    
    transition: all 0.3s ease;
}

select.form-control:focus {
    border-color: var(--primary-yellow); 
    box-shadow: 0 0 10px rgba(251, 192, 45, 0.2);
    background-color: #1a1a1a;
}

select.form-control option {
    background-color: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.card-subtitle{
    margin-bottom: 15px;
}



.premium-header-container {
    margin-bottom: 2rem;
    background-color: #1e1e1e; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.game-banner {
    position: relative;
    height: 180px; 
    overflow: hidden;
    margin-bottom: 0; 
}

.game-banner-img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    filter: brightness(0.8); 
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #151515, transparent);
}

.game-info-bar {
    position: relative;
    background-color: #151515;
    background-image: repeating-linear-gradient(
        45deg,
        #ff9500,
        #ff6b35 10px,
        #ff9500 10px,
        #ff6b35 20px
    );
    padding: 10px 20px 20px 20px;
    border-top: 0px solid #333;
}

.info-bar-content {
    display: flex;
    align-items: flex-end; 
    gap: 20px;
    position: relative;
    top: -40px; 
    margin-bottom: -30px; 
}

.logo-wrapper {
    flex-shrink: 0;
    border-radius: 16px;
    background: #151515; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

.game-logo-img {
    position: static; 
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: none; 
    display: block;
}

.text-details {
    flex-grow: 1;
    padding-bottom: 10px;
    animation: slideUp 0.6s ease-out;
}

.topup-body-layout {
    display: flex;
    flex-direction: row-reverse; 
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 5rem; 
}

.topup-sidebar { 
    flex: 1;
    min-width: 280px;
    order: 1; 
}

.topup-main-content { 
    flex: 2;
    min-width: 320px;
    order: 2; 
}

.product-title {
    margin: 10px;
    font-size: 1.8rem;
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.publisher-name {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.feature-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    font-size: 0.8rem;
    background-color: rgba(0,0,0,0.25); 
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-yellow { color: #FFD700; }
.text-blue { color: #4FC3F7; }
.text-green { color: #69F0AE; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-description {
    max-width: 100%; 
    margin: 20px;
    font-size: 1.1rem;
    color: #AAAAAA;
}

.card {
    background-color: var(--bg-light);
    border: 1px solid #2a2a2a;
    padding: 2rem;
    padding-bottom: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.card-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.card-step-title i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
}

.card-step-title span {
    background-color: var(--primary-yellow);
    color: var(--bg-dark);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
}


.item-group {
    margin-bottom: 2rem;
}

.item-group-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nominal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.nominal-item {
    border-radius: 10px; 
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 10px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #333; 
}

.nominal-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary-yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nominal-item.active {
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 2px rgba(251, 192, 45, 0.3);
}

.nominal-item.regular-card {
    background: linear-gradient(
        to bottom, 
        #252525 0%, 
        #252525 64%, 
        #303030 64%, 
        #303030 100%
    );
}

.nominal-item.regular-card.active {
    background: linear-gradient(
        to bottom, 
        #353025 0%, 
        #353025 64%, 
        #453f2f 64%, 
        #453f2f 100%
    );
}


.item-group-title.flash-sale{ 
    color: #383636;
    display: flex;
    align-items: center;
    justify-content: center;
    content: "";
    z-index: -1;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700);
    background-size: 400% 400%;
    animation: shinyBorder 7s ease infinite;
    border-radius: 12px;
    opacity: 5; 
    padding: 3px;
}

.nominal-item.flash-sale-card {
    background: #1a1a1a; 
    border: 3px solid transparent; 
    position: relative;
    z-index: 1;
}

.nominal-item.flash-sale-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700);
    background-size: 400% 400%;
    animation: shinyBorder 2s ease infinite;
    border-radius: 12px;
    opacity: 10; 
}

.nominal-item.flash-sale-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background: #1e1e1e;
    border-radius: 10px;
}

@keyframes shinyBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nominal-item.flash-sale-card.active {
    border: 1px solid var(--primary-yellow);
}


.item-main-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 5px 12px; 
}

.item-icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.item-details {
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 0.85rem;
    color: #ddd;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 4px;
}

.item-price {
    font-size: 1rem;
    color: var(--primary-yellow);
    font-weight: 700;
}

.item-original-price {
    font-size: 0.7rem;
    color: #888;
    text-decoration: line-through;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px; 
    margin-top: auto; 
}

.item-info, .item-stock {
    font-size: 0.7rem;
    color: #aaa;
    font-style: italic;
}

.item-stock {
    color: var(--primary-yellow); 
    font-weight: 600;
}

.item-tag.instant {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1); 
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.item-tag.discount {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #d32f2f; 
    color: #fff;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.error {
    color: #F44336;
    font-weight: 600;
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #F44336;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: var(--bg-input);
    border-radius: 5px;
    padding: 5px;
    margin: 0 20px;
}

.search-container input {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 5px 10px;
    outline: none;
}

.search-container button {
    background: none;
    border: none;
    color: var(--text-grey);
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


.modal-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    width: 90%;
    max-width: 500px;
    text-align: left; 
    transform: scale(0.9); 
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1); 
}

.modal-title {
    text-align: center;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
}

.konfirmasi-text{
    text-align: center;
    color: #fff;
    font-size: 0.8rem;
    min-height: 1.2em;
    position: relative;
}

.konfirmasi-text.typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--primary-yellow);
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes typeChar {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.konfirmasi-text.typing-active {
    animation: typeOut 2.5m steps(50) forwards;
}

@keyframes typeOut {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}


.modal-data-card {
    background-color: #181818; 
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    margin: 1.5rem 0;
}

.data-row {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2a2a2a; 
}

.data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.data-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-grey);
}

.data-label-group i {
    color: var(--primary-yellow);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.data-label-text {
    font-size: 0.9rem;
    font-weight: 400;
}

.data-value {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.85rem;
    text-align: right;
    max-width: 60%; 
    word-wrap: break-word;
}

.data-value.total-price {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    font-weight: 700;
}

.modal-actions {
    display: flex;
    flex-direction: row; 
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.btn-cancel-premium, 
.modal-actions .btn-checkout-premium {
    flex: 1; 
    width: auto; 
    min-width: 0; 
    height: 48px; 
    
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.btn-cancel-premium {
    background-color: #d32f2f;
}
.btn-cancel-premium .btn-label {
    background: linear-gradient(1deg, #ff6b35, #ff9500);;
    color: #333;
}
.btn-cancel-premium .btn-icon-box {
    background-color: #fff;
    color: #d32f2f;
}

.modal-actions .btn-checkout-premium {
    background-color: var(--primary-yellow);
}
.modal-actions .btn-checkout-premium .btn-label {
    background: linear-gradient(1deg, #ff6b35, #ff9500);
    color: #333;
}

.btn-cancel-premium .btn-label,
.modal-actions .btn-checkout-premium .btn-label {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center; 
    font-size: 0.9rem;
    font-weight: 700;
    padding-left: 5px;
}

.btn-cancel-premium .btn-icon-box,
.modal-actions .btn-checkout-premium .btn-icon-box {
    width: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    margin-left: -10px;
}

.toggle-icon {
    display: none;
}

#how-to-content {
    display: block; 
}


#confirmation-modal {
    z-index: 1000; 
}


#cancel-modal {
    z-index: 99999 !important; 
    display: none; /* Default hidden */
    /* Pastikan posisinya fixed agar menutupi layar */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85); /* Sedikit lebih gelap agar fokus */
    justify-content: center;
    align-items: center;
}

#cancel-modal .modal-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Jarak antar tombol */
    width: 100%;
    margin-top: 20px;
}

/* Styling Tombol Cancel (Merah) */
.btn-cancel-confirm {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1; /* Agar lebar tombol seimbang */
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.2);
}
.btn-cancel-confirm:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
}

/* Styling Tombol Lanjut Bayar (Hijau) */
.btn-payment-resume {
    background-color: #2ecc71;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1; /* Agar lebar tombol seimbang */
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.2);
}

.btn-payment-resume:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.3);
}

/* Mempercantik Modal Content */
#cancel-modal .modal-content {
    background: #1e1e1e; /* Warna gelap elegan sesuai tema game */
    border: 1px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    /* Animasi muncul */
    animation: modalSlideIn 0.3s ease-out forwards;
}

#cancel-modal .modal-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

#cancel-modal p {
    color: #b0b3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 375px) {
    .modal-content {
        padding: 20px; 
        width: 95%;
    }

    .modal-actions {
        gap: 10px; 
    }

    .btn-cancel-premium .btn-label,
    .modal-actions .btn-checkout-premium .btn-label {
        font-size: 0.75rem; 
    }
    
    .btn-cancel-premium .btn-icon-box,
    .modal-actions .btn-checkout-premium .btn-icon-box {
        width: 35px;
        font-size: 0.9rem;
    }

    .topup-title{
        display: flex;
        padding-right: 120px;
        color: white;
    }
}


@media (max-width: 992px) {
    .nominal-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {

    .premium-header-container {
        margin-bottom: 1.5rem;
        border-radius: 0 0 12px 12px; 
    }

    .game-banner {
        height: 130px; 
    }

    .game-info-bar {
        padding: 10px 15px 15px 15px; 
    }

    .info-bar-content {
        display: flex;
        flex-direction: row !important; 
        align-items: flex-end; 
        margin-top: -30px;
        gap: 12px;
        justify-content: center;
        
        margin-top: -50px; 
        top: 0; 
        gap: 12px; 
        margin-bottom: 0;
        flex-wrap: wrap;
    }

    .logo-wrapper {
        width: 80px;
        height: 80px;
        flex-shrink: 0; 
        border-radius: 12px;
        background-color: #151515; 
        box-shadow: 0 4px 8px rgba(0,0,0,0.4);
        z-index: 5; 
    }

    #how-to-card {
        padding: 15px 20px; 
        cursor: pointer;
        background-color: var(--bg-light);
        border: 1px solid #333;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        transition: background-color 0.2s, border-color 0.2s;
    }

    #how-to-card:active {
        background-color: #222; 
    }

    #how-to-toggle {
        display: flex;
        justify-content: space-between; 
        align-items: center;
        margin-bottom: 0; 
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-yellow); 
    }

    .topup-title{
        padding-right: 160px;
        color: white;
    }

    .title-text {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .toggle-icon {
        display: block; 
        font-size: 1rem;
        color: #fff;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    }

    #how-to-card.active .toggle-icon {
        transform: rotate(180deg);
        color: var(--primary-yellow);
    }

    .how-to-content {
        max-height: 0; 
        opacity: 0;
        overflow: hidden; 
        transition: all 0.4s ease; 
        margin-top: 0;
    }

    #how-to-card.active .how-to-content {
        max-height: 600px; 
        opacity: 1;
        margin-top: 15px; 
        border-top: 1px solid #333; 
        padding-top: 15px;
    }

    .how-to-list {
        padding-left: 20px !important; 
        margin: 0;
    }

    .how-to-list li {
        font-size: 0.9rem;
        color: #ddd; 
        margin-bottom: 10px; 
        line-height: 1.5;
        padding-left: 5px; 
        
        list-style-type: decimal !important; 
        list-style-position: outside; 
    }

    .how-to-list li::marker {
        color: var(--primary-yellow);
        font-weight: bold;
    }
    

    .topup-body-layout {
        display: flex;
        flex-direction: column; 
        flex-wrap: wrap;
        gap: 0rem;
        margin-top: 1rem;
    }

    .topup-sidebar, .topup-main-content {
        order: 0; 
    }

    .nominal-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; 
    }

    .nominal-item {
        padding: 10px; 
        margin: 0; 
        min-height: 70px; 
    }

    .item-main-content {
        flex-direction: row; 
        align-items: center;
        gap: 8px;
    }
    
    .item-main-content {
        flex-direction: row; 
        align-items: center;
        gap: 8px;
    }

    .item-name {
        font-size: 0.70rem; 
        margin: 0;
        line-height: 1.2;
    }

    .item-price {
        font-size: 0.75rem;
        /* margin: 8px 0 0 10px; */
        margin-top: 9px;
        margin-left: 0; 
    }

    .item-icon {
        width: 22px; 
        height: 22px;
    }

    .item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; 
    }

    .item-info, .item-stock {
    font-size: 0.5rem;
    color: #aaa;
    font-style: italic;
    }

    .item-tag.instant {
        display: flex;
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .game-banner-img {
        height: 140px; 
    }

    .game-logo-img {
        width: 100%;
        height: 100%;
        border-radius: 8px;
        object-fit: cover;
        position: static; 
        border: none;
    }

    .text-details {
        flex-grow: 1;
        text-align: center; 
        padding-bottom: 2px;
        z-index: 5;
    }

    .product-title {
        font-size: 1.1rem; 
        line-height: 1.2;
        margin-bottom: 4px;
        margin-top: 0;
        text-transform: uppercase;
        text-shadow: 0 1px 2px rgba(0,0,0,0.5); 
    }

    .publisher-name {
        font-size: 0.75rem;
        margin-bottom: 8px;
        color: #fff; 
        font-weight: 600;
        opacity: 0.9;
    }

    .feature-badges {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .badge-item {
        font-size: 0.45rem; 
        background-color: rgba(0,0,0,0.25); 
        padding: 2px 8px;
        border-radius: 20px;
        color: #fff;
        white-space: nowrap; 
    }
    
    .badge-item span {
        display:inline-flex; 
    }
    
    .badge-item i {
        margin-right: 0px; 
    }

    #product-description {
        font-size: 0.8rem;
        padding: 0 15px;
    }

    .search-container {
        width: 100%;
        margin: 10px 0;
        order: 3; 
    }

    .card {
        padding: 1.2rem; 
        padding-bottom: 0.3rem;
    }

    .checkout-action-wrapper {
        justify-content: center; 
    }
    #checkout-button {
        width: 100%; 
    }

    .btn-checkout-premium {
        width: 100%; 
        min-width: auto;
    }
    
    .btn-label {
        justify-content: center; 
        padding-left: 10px; 
    }

    .konfirmasi-text{
        font-size: 0.7rem;
    }

    .topup-page-container {
        padding-bottom: 300px !important; 
    }
    
    select.form-control {
        max-width: 100%;
        box-sizing: border-box; 
    }

}

