/* ==========================================================================
   ULTRA-PREMIUM UI ENGINE - SUHUTOTO88 (FINAL ORIENTAL EDITION) - PART 1
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    color: #f4f4f5;
    padding-bottom: 160px; 
    overflow-x: hidden;
    line-height: 1.5;
    background-color: #240202;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 0, 0, 0.5) 0%, rgba(74, 0, 0, 0.4) 25%, transparent 55%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.08) 0%, rgba(139, 0, 0, 0.15) 30%, transparent 60%),
        radial-gradient(circle at 50% 40%, rgba(61, 0, 0, 0.8) 0%, rgba(26, 0, 0, 0.95) 40%, transparent 70%),
        radial-gradient(circle at 80% 10%, rgba(255, 69, 0, 0.15) 0%, rgba(139, 0, 0, 0.4) 20%, transparent 50%);
    background-size: 300% 300%;
    background-attachment: fixed;
    animation: hyperAmbientLight 12s linear infinite;
}

@keyframes hyperAmbientLight {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 50%; }
    100% { background-position: 0% 0%; }
}

/* Navbar Premium Ultra-Glass */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    background: rgba(15, 3, 3, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area { display: flex; align-items: center; gap: 12px; }
.brand-logo-img { height: 48px; width: auto; object-fit: contain; display: inline-block; animation: brandLogoPulse 2s infinite ease-in-out; }

@keyframes brandLogoPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 16px rgba(255, 69, 0, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
}

.refresh-badge {
    display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 50px; font-size: 0.85rem; font-weight: 700;
    background: rgba(255, 215, 0, 0.04); border: 1px solid rgba(255, 215, 0, 0.2); color: #ffffff; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.pulse-dot { width: 8px; height: 8px; background: #ffd700; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Hero Section */
.hero-section { padding: 35px 6% 10px; text-align: center; }
.live-banner {
    background: rgba(139, 0, 0, 0.2) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.25); border-radius: 20px; padding: 26px; margin-bottom: 35px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 15px rgba(255, 69, 0, 0.2);
}
.banner-title { font-weight: 800; font-size: 1.5rem; color: #ffffff; letter-spacing: 0.5px; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.banner-date { color: #a1a1aa; font-size: 0.9rem; font-weight: 600; }

.filter-container { display: flex; gap: 14px; overflow-x: auto; padding: 10px 6px 20px; justify-content: flex-start; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.filter-container::-webkit-scrollbar { display: none; }

.filter-btn {
    flex: 0 0 auto; background: rgba(36, 2, 2, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f3e5ab;
    border: 1px solid rgba(255, 215, 0, 0.2); padding: 12px 28px; border-radius: 50px; font-size: 0.85rem; font-weight: 800;
    letter-spacing: 1px; cursor: pointer; text-transform: uppercase; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.filter-btn:hover { color: #ffffff; border-color: rgba(255, 215, 0, 0.6); background: rgba(74, 0, 0, 0.9); transform: translateY(-2px); }

.filter-btn.active {
    color: #ffffff !important; background: linear-gradient(135deg, #e60000 0%, #8b0000 50%, #4a0000 100%) !important; border-color: #ffd700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); transform: translateY(-2px) scale(1.02);
}

/* Grid & Game Card Layout */
.main-content { padding: 0 6%; }
.provider-section { margin-top: 40px; margin-bottom: 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 215, 0, 0.1); }
.provider-title { display: inline-flex; align-items: center; gap: 12px; }

.provider-logo-icon { height: 1.35rem; width: auto; object-fit: contain; display: inline-block; animation: providerLogoPulse 2s infinite ease-in-out; }
@keyframes providerLogoPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.7)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
}

.batch-badge { background: rgba(255, 215, 0, 0.1); color: #ffd700; padding: 4px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; border: 1px solid rgba(255, 215, 0, 0.3); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 22px; }

.game-card {
    background: rgba(26, 0, 0, 0.75) !important; backdrop-filter: blur(14px) !important; -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 215, 0, 0.1); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.game-card:hover { transform: translateY(-8px); }
.game-card:active { transform: scale(0.96); }

.neon-green:hover { box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3); border-color: #ffd700; }
.neon-orange:hover { box-shadow: 0 15px 35px rgba(255, 69, 0, 0.3); border-color: #ff4500; }
.neon-red:hover { box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3); border-color: #ef4444; }

.card-image-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1.15; background: #120101; box-shadow: inset 0 -20px 20px rgba(0,0,0,0.8); }
.game-img { width: 100%; height: 100%; object-fit: cover; }
.tag-badge { position: absolute; top: 12px; left: 12px; font-size: 0.68rem; font-weight: 800; padding: 5px 12px; border-radius: 6px; color: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.5); letter-spacing: 0.5px; }

.bg-red { background: #e60000; }
.bg-green-tag { background: #10b981; color: #060608; }
.bg-orange { background: #f59e0b; }

.card-info { padding: 14px; background: rgba(0, 0, 0, 0.4) !important; }
.game-title { font-size: 0.92rem; font-weight: 700; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; letter-spacing: -0.2px; }
.game-provider { font-size: 0.75rem; color: #a1a1aa; margin-bottom: 14px; font-weight: 600; }
.rate-container { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; margin-bottom: 8px; }
.rate-text { color: #d4d4d8; }

.color-green { color: #10b981 !important; text-shadow: none !important; }
.color-orange { color: #f59e0b !important; text-shadow: none !important; }
.color-red { color: #ef4444 !important; text-shadow: none !important; }

/* Progress Bar & Laser Effect */
.progress-bar { width: 100%; height: 12px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,0.8); margin-top: 4px; position: relative; }
.progress { height: 100%; border-radius: 10px; position: relative; overflow: hidden; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }

.progress::after {
    content: ''; position: absolute; top: 0; left: -150%; width: 60px; height: 100%; transform: skewX(-25deg); animation: lightningSlash 2s infinite ease-in-out;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0) 100%);
}
@keyframes lightningSlash { 0% { left: -150%; } 50% { left: 150%; } 100% { left: 150%; } }

.progress.bg-green { background: #10b981 !important; box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
.progress.bg-orange { background: #f59e0b !important; box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.progress.bg-red { background: #ef4444 !important; box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
/* ==========================================================================
   ULTRA-PREMIUM UI ENGINE - SUHUTOTO88 (FINAL ORIENTAL EDITION) - PART 2
   ========================================================================== */

/* FIX NAVIGATION: Mengunci & menyelaraskan .nav-icon-wrapper bawaan HTML Anda */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; transform: none; width: 100%; max-width: 100%; display: flex; justify-content: space-around;
    align-items: center; background: rgba(26, 2, 2, 0.96); border-top: 2px solid #ffd700; padding: 10px 8px 14px; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8); z-index: 2000;
}

.nav-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; flex: 1; transition: transform 0.2s ease; height: 100%; }

/* Penyelaras struktur wrapper ikon HTML asli */
.nav-icon-wrapper { display: flex; align-items: center; justify-content: center; height: 28px; margin-bottom: 4px; }
.nav-img-icon { width: 26px; height: 26px; object-fit: contain; display: block; }

/* Filter pendaran warna ikon */
.nav-item:nth-child(1) .nav-img-icon { filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6)); } 
.nav-item:nth-child(2) .nav-img-icon { filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)); } 
.nav-item:nth-child(3) .nav-img-icon { filter: drop-shadow(0 0 12px rgba(230, 0, 0, 0.9)); }  
.nav-item:nth-child(4) .nav-img-icon { filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.6)); } 

.pulse-glow { animation: iconPulse 2s infinite ease-in-out; }
@keyframes iconPulse { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
.nav-item:active { transform: scale(0.92); }

.nav-text { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; text-align: center; }
.text-whatsapp { color: #25D366; }
.text-daftar { color: #ffd700; } 
/* Mengubah teks LOGIN menjadi gradasi warna emas naga kekaisaran */
.text-login { 
    font-weight: 900; /* Membuat huruf sedikit lebih tebal dan tegas */
    background: linear-gradient(to bottom, #fff7c2 0%, #ffd700 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.9));
}
.text-result { color: #00FFFF; }

/* KOTAK TOMBOL LOGIN ORIENTAL (Aktif Khusus Kelas .nav-login-box) */
.nav-login-box { 
    background: linear-gradient(to bottom, #8b0000 0%, #4a0000 100%) !important; 
    border: 1px solid #ffd700 !important; 
    border-radius: 8px; padding: 6px 4px !important; 
    box-shadow: inset 0 0 8px rgba(0,0,0,0.6); margin: 0 4px;
}

/* Footer Styling System */
.main-footer { background: rgba(18, 1, 1, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255, 215, 0, 0.15); padding: 40px 6% 20px; margin-top: 50px; position: relative; z-index: 10; }
.footer-container-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-title-text { font-size: 1.4rem; font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(90deg, #ffd700, #ff3333); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-sub-title { font-size: 0.95rem; font-weight: 700; color: #ffffff; letter-spacing: 0.5px; border-left: 3px solid #ffd700; padding-left: 10px; margin-bottom: 4px; }
.footer-desc-text { font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; }
.footer-desc-text-small { font-size: 0.8rem; color: #71717a; line-height: 1.5; }

.footer-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.footer-link-grid a { font-size: 0.85rem; color: #a1a1aa; text-decoration: none; transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.footer-link-grid a:hover { color: #ffd700; transform: translateX(3px); }

.payment-logo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; background: rgba(255, 215, 0, 0.02); padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 215, 0, 0.08); }
.pay-icon-img { height: 18px; width: auto; object-fit: contain; display: inline-block; filter: grayscale(20%) opacity(80%); transition: all 0.3s ease; animation: footerLogoPulse 3s infinite ease-in-out; }

.payment-logo-row .pay-icon-img:nth-child(1) { animation-delay: 0s; }    
.payment-logo-row .pay-icon-img:nth-child(2) { animation-delay: 0.4s; }  
.payment-logo-row .pay-icon-img:nth-child(3) { animation-delay: 0.8s; }  
.payment-logo-row .pay-icon-img:nth-child(4) { animation-delay: 1.2s; }  

@keyframes footerLogoPulse { 0% { transform: scale(1); filter: grayscale(20%) opacity(80%); } 50% { transform: scale(1.08); filter: grayscale(0%) opacity(100%); } 100% { transform: scale(1); filter: grayscale(20%) opacity(80%); } }
.pay-icon-img:hover { transform: scale(1.12) !important; filter: grayscale(0%) opacity(100%) !important; animation-play-state: paused; }

.footer-bottom-copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 215, 0, 0.1); }
.footer-bottom-copyright p { font-size: 0.78rem; color: #52525b; }

/* Responsive Query Optimization */
@media (min-width: 768px) {
    .filter-container { justify-content: center; }
    .game-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
    .banner-title { font-size: 2rem; }
}
@media (max-width: 768px) {
    .footer-container-wrap { grid-template-columns: 1fr; gap: 24px; }
    .main-footer { padding: 30px 5% 120px; }
}
@media (max-width: 480px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .navbar { padding: 15px 5%; }
    .bottom-nav { width: 94%; padding: 10px 4px 14px; bottom: 16px; left: 3%; border-radius: 16px; border: 1px solid #ffd700; }
    .nav-text { font-size: 0.6rem; letter-spacing: 0.2px; }
}
.hero-section {
    position: relative;
    z-index: 10;
}
/* Pembungkus Utama Kontainer Filter */
.filter-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    background: rgba(15, 3, 3, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.08);
    border-radius: 50px;
    padding: 6px 12px; /* Memberikan ruang udara di dalam box utama */
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Penyesuaian Kontainer Geser */
.filter-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 45px; /* Menambah padding kiri-kanan agar tombol tidak terpotong panah */
    justify-content: flex-start;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.filter-container::-webkit-scrollbar { display: none; }

/* Menghilangkan kompresi ukuran tombol saat menumpuk */
.filter-btn {
    flex: 0 0 auto !important;
}

/* Desain Premium Tombol Panah (Sempurna & Presisi) */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #4a0000 0%, #240202 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 25;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efek Sorot saat Kursor Mendekat */
.nav-arrow:hover {
    background: linear-gradient(135deg, #8b0000 0%, #4a0000 100%);
    color: #ffffff;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Efek saat Tombol Diklik */
.nav-arrow:active {
    transform: translateY(-50%) scale(0.9);
}

/* Peletakan Posisi Panah yang Pas di Ujung Kontainer */
.prev-arrow { 
    left: 12px; 
}
.next-arrow { 
    right: 12px; 
}

/* Modifikasi Khusus Tampilan Layar Handphone */
@media (max-width: 480px) {
    .filter-wrapper {
        border-radius: 12px;
        padding: 4px 6px;
    }
    .filter-container {
        padding: 4px 35px; /* Menyesuaikan kerapatan jarak di layar kecil */
    }
    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .prev-arrow { left: 6px; }
    .next-arrow { right: 6px; }
}
/* ==========================================================================
   FINAL OPTIMIZATION - VVIP BOX MODAL STYLE
   ========================================================================== */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(10, 2, 2, 0.93); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    display: flex; 
    align-items: center; 
    justify-content: center;
    z-index: 99999; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
    padding: 20px;
}
.modal-overlay.active { 
    opacity: 1; 
    pointer-events: auto; 
}

/* Wadah Utama Pop-Up Box */
.modal-box {
    background: linear-gradient(135deg, #1f0101 0%, #0d0000 100%);
    border: 2px solid #ffd700; 
    border-radius: 24px; 
    width: 100%;
    max-width: 380px;
    padding: 35px 24px 24px; 
    position: relative; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 215, 0, 0.2);
    transform: scale(0.85); 
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-overlay.active .modal-box { 
    transform: scale(1); 
}

/* FIX TOMBOL TULISAN SILANG (PAS DI TENGAH) */
.close-modal-btn {
    position: absolute; 
    top: 16px; 
    right: 18px; 
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.4); 
    color: #ffd700; 
    font-size: 1.1rem; 
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}
.close-modal-btn:hover { 
    transform: scale(1.1) rotate(90deg); 
    background: #8b0000;
    color: #ffffff; 
    border-color: #ffd700;
}

/* Header Area */
.modal-header-content { 
    text-align: center; 
    margin-bottom: 20px; 
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-img-preview { 
    width: 135px; 
    height: 135px; 
    object-fit: cover; 
    border-radius: 20px; 
    border: 2px solid #ffd700; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8); 
}

.modal-title-text { 
    color: #ffffff; 
    font-size: 1.35rem; 
    font-weight: 800; 
    margin-top: 16px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.modal-sub-text { 
    color: #a1a1aa; 
    font-size: 0.78rem; 
    font-weight: 700; 
    letter-spacing: 2px; 
    margin-top: 4px; 
    text-transform: uppercase;
}

/* Body Area & List Text Alignment Fix */
.modal-body-content {
    width: 100%;
}

.pola-heading { 
    color: #ffd700; 
    font-size: 0.82rem; 
    font-weight: 800; 
    letter-spacing: 0.5px; 
    margin-bottom: 12px; 
    text-transform: uppercase; 
    text-align: center;
}
/* Kotak Detail Kombinasi Angka Pola */
.pola-details-box {
    background: rgba(0, 0, 0, 0.7); 
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px; 
    padding: 18px 24px; /* Padding ditingkatkan sedikit agar seimbang */
    color: #e4e4e7; 
    font-size: 0.92rem;
    font-weight: 700; 
    margin-bottom: 22px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 14px; /* Jarak antar baris pola sedikit lebih longgar dan elegan */
    width: 100%; /* Memastikan lebar kotak penuh mengikuti modal */
}

/* Struktur mikro untuk ikon dan teks baris pola */
.pola-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FIX TOMBOL MAIN SEKARANG GRADASI GLOW */
.modal-play-btn {
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff0000 0%, #b30000 50%, #660000 100%);
    color: #ffffff !important; 
    font-weight: 800; 
    font-size: 0.95rem; 
    text-decoration: none !important; 
    padding: 14px; 
    border-radius: 50px; 
    border: 1px solid #ffd700;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.4); 
    transition: all 0.2s ease;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.modal-play-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4); 
    filter: brightness(115%);
}
.modal-play-btn:active {
    transform: translateY(0);
}
/* ==========================================================================
   1. SISTEM FIX KARTU UTAMA (Mencegah Kebocoran Layout)
   ========================================================================== */
.game-card {
    overflow: hidden !important;
}

/* Menyembunyikan paksa jika ada teks pola liar yang keluar di dalam kartu game */
.game-card .pola-item {
    display: none !important;
}
/* ==========================================================================
   2. CONTAINER KOTAK INDUK POLA (KOTAK LUAR UTAMA) - BATASAN TEGAS
   ========================================================================== */
.pola-details-box {
    background: #090303 !important; /* Latar belakang hitam pekat sesuai gambar */
    
    /* BATASAN TEGAS: Garis tepi solid emas/oranye tipis yang mengunci kotak */
    border: 1.5px solid #4a3419 !important; /* Warna cokelat emas gelap tegas sesuai gambar */
    border-radius: 20px !important; /* Sudut melingkar lebar yang mulus */
    
    /* PENGAMAN: Memotong paksa semua elemen di dalamnya agar TIDAK BISA menembus keluar */
    overflow: hidden !important; 
    
    padding: 22px 16px; 
    color: #ffffff; 
    font-size: 1.05rem; 
    font-weight: 700; 
    margin-bottom: 22px;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.9); /* Dimensi kedalaman bagian dalam */
    display: flex;
    flex-direction: column;
    gap: 16px; /* Jarak vertikal antar baris pola di dalamnya */
    width: 100%;
    box-sizing: border-box !important; /* Memastikan padding tidak merusak ukuran total lebar */
}

/* ==========================================================================
   3. BARIS POLA (Pola Item & Penyelarasan Kolom)
   ========================================================================== */
.pola-details-box .pola-item {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 100%;
    height: 38px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

/* Kolom Kiri: Mengunci teks Manual/Auto + Angka Spin */
.pola-details-box .pola-item > span:first-child {
    display: inline-block;
    width: 95px; /* Dikunci agar deretan ikon di sebelahnya sejajar vertikal */
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}

/* Grup Pembungkus 3 Kotak Opsi Mini */
.pola-details-box .pola-item .box-group {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px; 
    width: 215px; /* Memberikan ruang ideal untuk border kotak di gawai */
}

/* ==========================================================================
   4. BINGKAI LABEL MINI (TURBO, QUICK, SKIP SCREENS)
   ========================================================================== */
.box-group .lbl-box {
    display: inline-flex !important;
    align-items: center;
    gap: 5px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    border-radius: 8px; 
    padding: 3px 6px 3px 3px; /* Kiri dibuat rapat mengikuti bentuk kotak status */
    height: 30px; 
    flex: 1; /* Membagi ukuran ketiga kotak secara rata */
}

/* Gaya Teks Mikro di Dalam Bingkai */
.box-group .lbl-box i {
    font-style: normal !important;
    font-size: 0.42rem !important; /* Ukuran super mikro agar muat di semua layar HP */
    font-weight: 800;
    color: #d4d4d8; 
    letter-spacing: 0.1px;
    line-height: 1; 
    display: inline-block;
    text-align: left;
    white-space: normal;
}

/* ==========================================================================
   5. INDIKATOR STATUS (Kotak Hijau Centang & Merah Silang)
   ========================================================================== */
.box-green, .box-red {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;   /* Dimensi persegi simetris sempurna */
    height: 22px !important;  
    border-radius: 5px !important;
    flex-shrink: 0;
    color: #ffffff !important;
    user-select: none;
    line-height: 1 !important; /* Mencegah font teks mendorong kotak menjadi lonjong */
    box-sizing: border-box !important;
    padding: 0 !important; 
    margin: 0 !important;
}

/* Kotak Hijau Aktif (Centang Putih) */
.box-green {
    background-color: #00b050; 
    border: 2px solid #00b050;
    font-size: 0.85rem !important;
    font-weight: 900; 
    box-shadow: 0 0 10px rgba(0, 176, 80, 0.5);
}

/* Kotak Merah Non-Aktif (Silang Putih) */
.box-red {
    background-color: #ef4444; 
    border: 2px solid #ef4444;
    font-size: 0.72rem !important; /* Diperkecil sedikit agar silang berada tepat di tengah */
    font-weight: 900; 
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* ==========================================================================
   6. CADANGAN / OPTIONAL (Sistem Engine Ikon SVG jika Diperlukan)
   ========================================================================== */
.box-empty {
    display: inline-block; 
    width: 24px; 
    height: 24px;
    background-color: rgba(0, 0, 0, 0.4); 
    border: 2px solid #8a8a8a; 
    border-radius: 6px; 
    flex-shrink: 0;
}

.box-checked {
    display: inline-block; 
    width: 24px; 
    height: 24px; 
    border-radius: 6px; 
    flex-shrink: 0;
    background-size: 14px; 
    background-repeat: no-repeat; 
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
}
/* ==========================================================================
   ULTRA-PREMIUM VIP BUTTON SUHUTOTO88 - MAXWIN EDITION
   ========================================================================== */
.btn-pola-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px; /* Sedikit ditinggikan agar lebih pas ditekan */
    
    /* Kombinasi gradasi gelap ke merah berapi yang sangat sangar */
    background: linear-gradient(135deg, #1f0101 0%, #4a0000 50%, #8b0000 100%) !important;
    
    /* Garis tepi emas solid bercahaya */
    border: 1px solid #ffd700 !important; 
    border-radius: 10px; /* Sudut lengkung yang lebih modern */
    
    /* Pewarnaan teks emas putih premium bersinar */
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 900; /* Super tebal agar tulisan terlihat tegas */
    text-transform: uppercase;
    letter-spacing: 1px; /* Jarak antar huruf diperlebar agar elegan */
    
    /* Efek bayangan dalam dan pendaran luar emas-merah murni */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 
                inset 0 1px 2px rgba(255, 255, 255, 0.2),
                0 0 4px rgba(255, 215, 0, 0.2);
                
    cursor: pointer;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek pegas elastis modern */
    text-decoration: none !important;
}

/* EFEK ANIMASI SOROT (HOVER/TOUCH) NYALALKAN API MAKSIMAL */
.btn-pola-trigger:hover {
    /* Gradasi berubah menjadi merah membara penuh */
    background: linear-gradient(135deg, #cc0000 0%, #8b0000 50%, #4a0000 100%) !important;
    color: #ffd700 !important; /* Teks berubah menjadi kuning emas naga */
    border-color: #ffffff !important; /* Garis tepi menyala putih */
    
    /* Pendaran lampu neon merah emas yang sangat kuat */
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.6), 
                0 0 15px rgba(255, 215, 0, 0.4),
                inset 0 1px 3px rgba(255, 255, 255, 0.4);
                
    transform: translateY(-3px) scale(1.02); /* Tombol terangkat dan sedikit membesar interaktif */
}

/* EFEK KETUKAN (ACTIVE) MEMBERIKAN FEEDBACK NYATA */
.btn-pola-trigger:active {
    transform: translateY(-1px) scale(0.97); /* Membal sedikit ke bawah saat ditekan jari */
    box-shadow: 0 2px 8px rgba(230, 0, 0, 0.4);
    filter: brightness(90%);
}
/* ==========================================================================
   CSS TAMBAHAN UNTUK LAYOUT POLA MODAL (PRAGMATIC & PG SOFT)
   ========================================================================== */

/* 1. GAYA UNTUK POLA KLASIK PRAGMATIC PLAY (BAWAAN ANDA) */
.pola-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
}
.box-group {
    display: flex;
    gap: 8px;
}
.lbl-box {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #aaa;
}
.box-green { color: #00ff66; font-weight: bold; }
.box-red { color: #ff2a6d; font-weight: bold; }

/* 2. GAYA UNTUK POLA BARU 4 BARIS PG SOFT (MENIRU GAMBAR REFERENSI) */
.pg-pola-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111111; /* Latar belakang kotak gelap */
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: sans-serif;
}
.pg-label-turbo {
    font-weight: bold;
    color: #e3bc57; /* Warna tulisan Turbo kuning/emas */
    font-size: 15px;
    width: 60px;
}
.pg-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #000000;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
}
.toggle-btn-on {
    background: #00ff66; /* Warna hijau ON */
    color: #000000;
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.toggle-btn-off {
    background: #ff2a6d; /* Warna merah OFF */
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.toggle-btn-on-blur, .toggle-btn-off-blur {
    color: #333333; /* Warna abu-abu redup untuk tombol pasif */
    font-size: 11px;
    padding: 2px 6px;
    font-weight: bold;
}
.pg-method-text {
    font-size: 14px;
    color: #ffffff;
    text-align: right;
    font-weight: 500;
}
.txt-active {
    color: #ffffff;
}
.txt-strike {
    color: #555555;
    text-decoration: line-through; /* Efek teks dicoret */
}
.txt-count {
    font-weight: bold;
    color: #ffffff;
}
/* CONTAINER UTAMA WADAH POLA (DIPAKSA CEPER) */
.pola-details-box {
    padding: 0px !important;
    margin: 0px !important;
    background: transparent !important;
}

/* BARIS KOTAK POLA PG SOFT (DIPANGKAS TINGGINYA) */
.pg-pola-row {
    display: grid !important;
    grid-template-columns: 55px 80px 1fr !important;
    align-items: center !important;
    background: #111111 !important;
    border: 1px solid #1c1c1c !important;
    border-radius: 8px !important;
    
    /* KUNCI UTAMA PEMANGKAS TINGGI KOTAK */
    padding: 4px 10px !important;     /* Ketebalan atas-bawah dipotong habis menjadi 4px */
    margin-bottom: 4px !important;    /* Jarak antar kotak dirapatkan menjadi 4px */
    min-height: 34px !important;      /* Mengunci tinggi minimal agar kotak tetap tipis */
    
    font-family: 'Poppins', sans-serif !important;
}

/* TULISAN TURBO SEBELAH KIRI */
.pg-label-turbo {
    font-weight: 700 !important;
    color: #e5b842 !important;
    font-size: 13px !important;
    line-height: 1 !important; /* Menghilangkan ruang kosong vertikal pada teks */
}

/* WADAH UTAMA TOMBOL SAKELAR */
.pg-toggle-wrapper {
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.toggle-box {
    display: flex !important;
    flex-direction: column !important;
    background: #000000 !important;
    padding: 2px 4px !important; /* Memperkecil bantalan kotak hitam sakelar */
    border-radius: 6px !important;
    border: 1px solid #1a1a1a !important;
    width: 64px !important;
    align-items: center !important;
    gap: 1px !important; /* Merapatkan jarak tombol ON dan OFF internal */
}

/* SAKELAR TOMBOL INDIKATOR KECIL */
.toggle-btn-on, .toggle-btn-off {
    font-weight: 800 !important;
    font-size: 9px !important; /* Mengecilkan ukuran font agar kotak ikut mengecil */
    padding: 1px 0 !important;
    border-radius: 3px !important;
    width: 100% !important;
    text-align: center !important;
}
.toggle-btn-on { background: #00e65b !important; color: #000000 !important; }
.toggle-btn-off { background: #ff1f5a !important; color: #ffffff !important; }

.toggle-btn-on-blur, .toggle-btn-off-blur {
    color: #252525 !important;
    font-size: 9px !important;
    padding: 1px 0 !important;
    font-weight: 700 !important;
    width: 100% !important;
    text-align: center !important;
}

/* TEKS METODE SPIN SEBELAH KANAN */
.pg-method-text {
    font-size: 12px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-align: right !important;
    line-height: 1 !important; /* Mencegah teks memakan ruang vertikal */
}

.txt-active { color: #ffffff !important; }
.txt-strike { color: #3e3e3e !important; text-decoration: line-through !important; }
.txt-count { font-weight: 700 !important; color: #ffffff !important; }

/* OPTIMASI TAMBAHAN UNTUK SCREEN HANDPHONE */
@media screen and (max-width: 480px) {
    .pg-pola-row {
        padding: 3px 8px !important;
        margin-bottom: 3px !important;
    }
}
