/* ========== CUANWIN77-STYLE THEME: Dark Navy + Gold ========== */

/* ========== BASE & LAYOUT ========== */
*, *::before, *::after { box-sizing: border-box; }
html {
    max-width: 480px;
    margin: 0 auto;
    background-color: #050810;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    padding-bottom: 65px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0e1a;
    color: #e0e0e0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ========== OFFCANVAS ========== */
.offcanvas { --bs-offcanvas-width: 300px !important; }

/* ========== BUTTONS ========== */
.btn-masuk {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #0a0e1a;
    background: linear-gradient(135deg, #e6c55a, #d4a843);
    border-radius: 6px; border: none;
    transition: all 0.25s ease; display: inline-block;
    box-shadow: 0 2px 8px rgba(212,168,67,0.3);
}
.btn-masuk:hover { opacity: 0.9; color: #0a0e1a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,168,67,0.4); }

.btn-daftar {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    border-radius: 6px; border: none;
    transition: all 0.25s ease; display: inline-block;
    box-shadow: 0 2px 8px rgba(26,115,232,0.3);
}
.btn-daftar:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,0.4); }

.btn-daftar-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(26,115,232,0.25);
}
.btn-daftar-2:hover { opacity: 0.9; color: #fff; transform: translateY(-1px); }

.btn-masuk-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #0a0e1a;
    background: linear-gradient(135deg, #e6c55a, #d4a843);
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(212,168,67,0.25);
}
.btn-masuk-2:hover { opacity: 0.9; color: #0a0e1a; transform: translateY(-1px); }

.btn-promosi-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #0a0e1a;
    background: linear-gradient(135deg, #e6c55a, #d4a843);
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(230,197,90,0.25);
}
.btn-promosi-2:hover { opacity: 0.9; color: #0a0e1a; transform: translateY(-1px); }

.btn-deposit {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #0a0e1a;
    background: linear-gradient(135deg, #e6c55a, #d4a843);
    border-radius: 6px; border: none;
    display: inline-block; transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(212,168,67,0.3);
}
.btn-deposit:hover { opacity: 0.9; color: #0a0e1a; transform: translateY(-1px); }

/* ========== LINK STYLES ========== */
.link-header {
    font-weight: 500; color: #e0e0e0; text-decoration: none;
    transition: color 0.2s;
}
.link-header:hover { color: #d4a843; }

.link-header-2 {
    font-weight: 400; font-size: 11px; color: #999;
    text-decoration: none; transition: color 0.2s;
}
.link-header-2:hover { color: #d4a843; }

/* ========== TOP NAVBAR ========== */
.top-navbar {
    background: linear-gradient(180deg, #0f1525, #0a0e1a) !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212,168,67,0.15);
}
.top-navbar .navbar-brand img {
    width: 120px;
    height: auto;
}
@media (max-width: 360px) {
    .top-navbar .navbar-brand img { width: 100px; }
    .btn-masuk, .btn-daftar { font-size: 12px; padding: 6px 12px; }
}

/* ========== NAV MENU BAR ========== */
.nav-menu-bar {
    background: linear-gradient(180deg, #141b2d, #0f1525);
    padding: 10px 0;
    border-bottom: 1px solid rgba(212,168,67,0.1);
}
.nav-menu-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; text-decoration: none; color: #c0c0c0;
    font-weight: 700; font-size: 10px;
    transition: all 0.25s ease;
}
.nav-menu-item:hover { color: #d4a843; transform: scale(1.1); }
.nav-menu-item i {
    font-size: 18px;
    color: #d4a843;
    text-shadow: 0 0 8px rgba(212,168,67,0.3);
}
@media (max-width: 360px) {
    .nav-menu-item { font-size: 9px; }
    .nav-menu-item i { font-size: 15px; }
}

/* ========== OFFCANVAS SIDEBAR ========== */
.sidebar-menu {
    background-color: #0f1525; font-size: 15px;
    border-left: 1px solid rgba(212,168,67,0.1);
}
.sidebar-grid-item {
    text-align: center; padding: 8px 0;
}
.sidebar-grid-item img {
    width: 38px; height: 38px; object-fit: contain;
}
.sidebar-grid-item .label {
    font-size: 12px; margin-top: 5px; color: #999;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 14px 15px 8px;
}
.section-header .title {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 15px;
    color: #d4a843;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-header .title img { width: 28px; height: 28px; }
.section-header .see-all {
    font-size: 12px; color: #d4a843; padding: 5px 14px;
    background: rgba(212,168,67,0.1); border-radius: 20px;
    cursor: pointer; transition: all 0.25s ease;
    border: 1px solid rgba(212,168,67,0.2);
}
.section-header .see-all:hover { background: rgba(212,168,67,0.2); color: #e6c55a; }

/* ========== PROVIDER GRID ========== */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px; padding: 8px 15px 15px;
}
.provider-item {
    text-align: center; text-decoration: none; color: #999;
    font-size: 11px; font-weight: 400;
    transition: all 0.25s ease;
}
.provider-item:hover { color: #d4a843; transform: scale(1.08); }
.provider-item img {
    width: 48px; height: 48px; object-fit: contain;
    background-color: #141b2d; border-radius: 50%;
    padding: 2px;
    border: 1px solid rgba(212,168,67,0.15);
    transition: all 0.25s ease;
}
.provider-item:hover img {
    border-color: rgba(212,168,67,0.4);
    box-shadow: 0 0 12px rgba(212,168,67,0.2);
}
.provider-item .name { margin-top: 5px; }

@media (max-width: 360px) {
    .provider-grid { gap: 8px; padding: 6px 10px 12px; }
    .provider-item img { width: 42px; height: 42px; }
    .provider-item { font-size: 10px; }
}

/* ========== GAME CATEGORY ICONS (4-col) ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; padding: 12px 15px;
    text-align: center;
}
.category-item {
    text-decoration: none; color: #c0c0c0; font-size: 12px;
    font-weight: 500; transition: all 0.25s ease;
    padding: 10px 5px; border-radius: 10px;
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(212,168,67,0.08);
}
.category-item:hover { transform: scale(1.05); color: #d4a843; background: rgba(212,168,67,0.08); border-color: rgba(212,168,67,0.2); }
.category-item img { width: 45px; height: 45px; object-fit: contain; }
.category-item .label { margin-top: 5px; }

/* ========== CTA BUTTONS ROW ========== */
.cta-row {
    display: flex; justify-content: center; gap: 10px;
    padding: 12px 15px; flex-wrap: wrap;
}
.cta-row a { flex: 1; text-align: center; min-width: 80px; }

/* ========== MARQUEE / ANNOUNCEMENT ========== */
.announcement-bar {
    background: linear-gradient(90deg, #141b2d, #1a2236);
    color: #d4a843;
    padding: 8px 12px; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
    border-top: 1px solid rgba(212,168,67,0.15);
    border-bottom: 1px solid rgba(212,168,67,0.15);
}
.announcement-bar i { flex-shrink: 0; color: #d4a843; }

/* ========== DUAL SECTION (Sports/Poker, Lotto/Fishing) ========== */
.dual-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; padding: 15px;
}
.dual-card {
    text-align: center;
}
.dual-card .card-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 700; font-size: 13px; margin-bottom: 10px;
    color: #d4a843;
}
.dual-card .card-title img { width: 28px; height: 28px; }
.dual-card .card-img {
    width: 100%; max-width: 180px; border-radius: 10px;
    transition: transform 0.25s ease;
    border: 2px solid rgba(212,168,67,0.15);
}
.dual-card .card-img:hover { transform: scale(1.03); border-color: rgba(212,168,67,0.35); }

/* ========== CASINO ROW ========== */
.casino-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; padding: 8px 15px 15px;
}
.casino-card img {
    width: 100%; border-radius: 10px;
    background: linear-gradient(135deg, #1a2236, #141b2d);
    padding: 4px;
    transition: all 0.25s ease;
    border: 1px solid rgba(212,168,67,0.15);
}
.casino-card img:hover {
    transform: scale(1.03);
    border-color: rgba(212,168,67,0.4);
    box-shadow: 0 4px 15px rgba(212,168,67,0.15);
}

/* ========== SECTION BG HELPERS ========== */
.bg-dark-1 { background-color: #0a0e1a; }
.bg-dark-2 { background-color: #0f1525; }
.bg-orange {
    background: linear-gradient(180deg, #111827, #0f1525);
    border-top: 1px solid rgba(212,168,67,0.1);
    border-bottom: 1px solid rgba(212,168,67,0.1);
}

/* ========== BOTTOM STICKY NAV ========== */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    background: linear-gradient(180deg, #111827, #0a0e1a);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.6);
    z-index: 1050; padding: 6px 0;
    border-top: 1px solid rgba(212,168,67,0.15);
}
.bottom-nav .row { margin: 0; }
.bottom-nav .nav-item-bottom {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #666; font-size: 11px;
    padding: 4px 0; transition: all 0.25s ease;
}
.bottom-nav .nav-item-bottom:hover { color: #d4a843; }
.bottom-nav .nav-item-bottom img {
    width: 22px; height: 22px; margin-bottom: 3px;
    opacity: 0.5; transition: all 0.25s ease;
}
.bottom-nav .nav-item-bottom:hover img { opacity: 1; }
.bottom-nav .nav-item-bottom i {
    font-size: 18px; margin-bottom: 3px;
}
.bottom-nav .nav-item-bottom.active { color: #d4a843; }
.bottom-nav .nav-item-bottom.active img { opacity: 1; }
.bottom-nav .balance-btn {
    background: linear-gradient(135deg, #d4a843, #b8892a);
    color: #fff; border-radius: 6px; padding: 4px 0;
}
.bottom-nav .balance-btn i { color: #fff; }

/* ========== FOOTER ========== */
.site-footer {
    background: linear-gradient(180deg, #0f1525, #0a0e1a);
    color: #c0c0c0;
    padding: 20px 15px; font-size: 12px; font-weight: 300;
    line-height: 1.7;
    border-top: 1px solid rgba(212,168,67,0.15);
}
.site-footer h6 {
    font-weight: 700; font-size: 13px; margin-bottom: 10px;
    color: #d4a843;
}
.site-footer .footer-link {
    color: #999; margin-bottom: 6px;
    transition: color 0.2s; cursor: pointer;
}
.site-footer .footer-link:hover { color: #d4a843; }
.site-footer .copyright {
    text-align: center; padding-top: 15px;
    border-top: 1px solid rgba(212,168,67,0.1);
    margin-top: 15px; font-size: 11px; color: #666;
}
.site-footer .social-icon {
    font-size: 24px; color: rgba(212,168,67,0.5);
    transition: color 0.2s;
}
.site-footer .social-icon:hover { color: #d4a843; }

/* ========== PAYMENT LOGOS ========== */
.payment-section {
    padding: 12px 15px;
    text-align: center;
}
.payment-section h6 {
    color: #d4a843; font-size: 12px; font-weight: 600;
    margin-bottom: 10px;
}
.payment-section img {
    max-width: 100%; border-radius: 6px;
    margin-bottom: 8px;
}

/* ========== PROMO CARDS ========== */
.promo-section {
    padding: 10px 15px;
}
.promo-card {
    background: linear-gradient(135deg, #141b2d, #1a2236);
    border-radius: 12px; overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(212,168,67,0.1);
    transition: all 0.25s ease;
}
.promo-card:hover {
    border-color: rgba(212,168,67,0.3);
    box-shadow: 0 4px 20px rgba(212,168,67,0.1);
}
.promo-card img {
    width: 100%; display: block;
}
.promo-card .promo-body {
    padding: 12px 15px;
}
.promo-card .promo-title {
    font-weight: 700; font-size: 14px; color: #d4a843;
    margin-bottom: 5px;
}
.promo-card .promo-desc {
    font-size: 12px; color: #999; line-height: 1.5;
}

/* ========== WARNING BAR ========== */
.warning-bar {
    background: linear-gradient(90deg, rgba(212,168,67,0.08), rgba(212,168,67,0.15), rgba(212,168,67,0.08));
    padding: 8px 15px;
    text-align: center;
    font-size: 11px;
    color: #d4a843;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(212,168,67,0.1);
}

/* ========== SERVICE BADGES ========== */
.service-badges {
    display: flex; justify-content: center; gap: 15px;
    padding: 15px;
}
.service-badge {
    text-align: center; flex: 1;
    padding: 12px 8px;
    background: rgba(20, 27, 45, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(212,168,67,0.1);
}
.service-badge i {
    font-size: 22px; color: #d4a843;
    margin-bottom: 6px; display: block;
}
.service-badge .badge-label {
    font-size: 11px; color: #999; font-weight: 600;
    text-transform: uppercase;
}
.service-badge .badge-value {
    font-size: 13px; color: #d4a843; font-weight: 700;
    margin-top: 2px;
}

/* ========== MODAL STYLING ========== */
.modal-content { border-radius: 12px; overflow: hidden; }
#login .modal-content {
    background: linear-gradient(180deg, #141b2d, #0f1525);
    color: #e0e0e0;
    border: 1px solid rgba(212,168,67,0.2);
}
#login .modal-header {
    border-bottom: 1px solid rgba(212,168,67,0.15); padding: 16px 20px;
    background: rgba(10,14,26,0.5);
}
#login .modal-title { font-weight: 700; color: #d4a843; font-size: 1.25rem; }
#login .modal-body { padding: 24px 20px; }
#login .input-group-text {
    background: #0f1525; color: #d4a843;
    border: 1px solid rgba(212,168,67,0.2); font-size: 18px;
}
#login .form-control {
    background: #0a0e1a; color: #e0e0e0;
    border: 1px solid rgba(212,168,67,0.15); font-size: 15px;
    padding: 12px 14px;
}
#login .form-control::placeholder { color: #666; }
#login .form-control:focus {
    border-color: #d4a843; box-shadow: 0 0 0 .25rem rgba(212,168,67,.15);
    background: #0a0e1a; color: #e0e0e0;
}
#login .btn-close {
    filter: invert(1);
}
.btn-login-submit {
    display: block; width: 75%; max-width: 350px;
    margin: 10px auto 0; padding: 12px;
    background: linear-gradient(135deg, #e6c55a, #d4a843); color: #0a0e1a;
    border: none; border-radius: 8px;
    font-weight: 700; font-size: 16px;
    cursor: pointer; transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(212,168,67,0.3);
}
.btn-login-submit:hover { background: linear-gradient(135deg, #f0d06a, #e6c55a); color: #0a0e1a; }
#login .login-footer {
    font-size: 13px; color: #999; text-align: center; margin-top: 18px;
}
#login .login-footer a {
    color: #d4a843; text-decoration: none; font-weight: 500;
}
#login .login-footer a:hover { text-decoration: underline; color: #e6c55a; }

/* ========== FORM DARK STYLE (daftar/deposit) ========== */
.form-dark .form-label {
    font-size: 13px; color: #999; font-weight: 400; margin-bottom: 4px;
}
.form-dark .input-group-text {
    color: #d4a843; background-color: #0f1525;
    border: 1px solid rgba(212,168,67,0.15); font-size: 13px;
}
.form-dark .form-control,
.form-dark .form-select {
    color: #e0e0e0; background-color: #0a0e1a;
    border: 1px solid rgba(212,168,67,0.15); font-size: 12px;
}
.form-dark .form-control::placeholder { color: #555; }
.form-dark .form-control:focus,
.form-dark .form-select:focus {
    border-color: #d4a843; box-shadow: 0 0 0 2px rgba(212,168,67,0.15);
    background-color: #0a0e1a; color: #e0e0e0;
}
.form-dark .section-title {
    font-size: 14px; font-weight: 700; color: #d4a843;
    margin: 18px 0 10px; padding-bottom: 6px;
    border-bottom: 1px solid rgba(212,168,67,0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-dark .hint-text {
    font-size: 11px; color: #666; padding: 8px 0; line-height: 1.5;
}

/* ========== CTA FULL WIDTH ========== */
.btn-full {
    display: block; width: 100%; text-align: center;
    padding: 12px; border: none; border-radius: 8px;
    font-weight: 700; font-size: 14px; cursor: pointer;
    transition: all 0.25s ease;
}
.btn-full:hover { opacity: 0.9; transform: translateY(-1px); }

/* ========== SUCCESS MODAL ========== */
.success-modal .modal-content {
    background: linear-gradient(180deg, #141b2d, #0f1525);
    color: #e0e0e0;
    border: 1px solid rgba(212,168,67,0.3); border-radius: 12px;
}
.success-modal .success-icon {
    font-size: 60px; color: #d4a843; margin-bottom: 10px;
}
.success-modal h4 { font-weight: 700; color: #d4a843; }
.success-modal p { font-size: 13px; color: #999; margin-top: 10px; }

/* ========== DEPOSIT TABS ========== */
.deposit-tabs {
    display: flex; gap: 0; padding: 10px 15px;
}
.deposit-tab {
    flex: 1; text-align: center; padding: 8px;
    font-size: 12px; font-weight: 600; color: #666;
    border-bottom: 2px solid transparent;
    cursor: pointer; transition: all 0.25s ease;
}
.deposit-tab:hover, .deposit-tab.active {
    color: #d4a843; border-bottom-color: #d4a843;
}
.deposit-tab i { margin-right: 4px; }

/* ========== CAROUSEL ENHANCEMENTS ========== */
.carousel { border-radius: 0; overflow: hidden; }
.carousel-indicators [data-bs-target] {
    background-color: rgba(212,168,67,0.4);
    width: 8px; height: 8px; border-radius: 50%;
    border: none;
}
.carousel-indicators .active {
    background-color: #d4a843;
    box-shadow: 0 0 8px rgba(212,168,67,0.5);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 481px) {
    html { box-shadow: 0 0 40px rgba(0,0,0,0.7); }
}
/* ========== BASE & LAYOUT ========== */
*, *::before, *::after { box-sizing: border-box; }
html {
    max-width: 480px;
    margin: 0 auto;
    background-color: #0a0515;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    padding-bottom: 65px; /* space for sticky bottom nav */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f0620;
    color: #e8e0f0;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ========== OFFCANVAS ========== */
.offcanvas { --bs-offcanvas-width: 300px !important; }

/* ========== BUTTONS ========== */
.btn-masuk {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-radius: 6px; border: none;
    transition: all 0.25s ease; display: inline-block;
    box-shadow: 0 2px 8px rgba(126, 34, 206, 0.3);
}
.btn-masuk:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(126, 34, 206, 0.4); }

.btn-daftar {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #c084fc, #a855f7);
    border-radius: 6px; border: none;
    transition: all 0.25s ease; display: inline-block;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
    border: 1px solid rgba(192, 132, 252, 0.3);
}
.btn-daftar:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4); }

.btn-daftar-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #ddd;
    background: #252538;
    border: 1px solid #3a3a50;
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
}
.btn-daftar-2:hover { color: #fff; background: #2e2e42; transform: translateY(-1px); }

.btn-masuk-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
}
.btn-masuk-2:hover { color: #fff; transform: translateY(-1px); }

.btn-promosi-2 {
    font-weight: 600; font-size: 12px; padding: 10px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-radius: 8px; display: inline-block;
    transition: all 0.25s ease;
}
.btn-promosi-2:hover { color: #fff; transform: translateY(-1px); }

.btn-deposit {
    font-weight: 600; font-size: 14px; padding: 8px 18px;
    text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #2ed573, #139c44);
    border-radius: 6px; border: none;
    display: inline-block; transition: all 0.2s;
}
.btn-deposit:hover { opacity: 0.9; color: #fff; }

/* ========== LINK STYLES ========== */
.link-header {
    font-weight: 500; color: #fff; text-decoration: none;
    transition: opacity 0.2s;
}
.link-header:hover { color: #fff; opacity: 0.8; }

.link-header-2 {
    font-weight: 400; font-size: 11px; color: #ccc;
    text-decoration: none; transition: color 0.2s;
}
.link-header-2:hover { color: #fff; }

/* ========== TOP NAVBAR ========== */
.top-navbar {
    background: linear-gradient(180deg, #1a0a2e, #150929) !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}
.top-navbar .navbar-brand img {
    width: 120px;
    height: auto;
}
@media (max-width: 360px) {
    .top-navbar .navbar-brand img { width: 100px; }
    .btn-masuk, .btn-daftar { font-size: 12px; padding: 6px 12px; }
}

/* ========== NAV MENU BAR ========== */
.nav-menu-bar {
    background: linear-gradient(180deg, #1e1e2e, #18182a);
    padding: 10px 0;
    border-bottom: 1px solid #2a2a3a;
}
.nav-menu-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; text-decoration: none; color: #fff;
    font-weight: 700; font-size: 10px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-menu-item:hover { color: #fff; transform: scale(1.1); opacity: 0.9; }
.nav-menu-item i {
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
@media (max-width: 360px) {
    .nav-menu-item { font-size: 9px; }
    .nav-menu-item i { font-size: 15px; }
}

/* ========== OFFCANVAS SIDEBAR ========== */
.sidebar-menu {
    background: #121218; font-size: 15px;
    border-left: 1px solid #2a2a3a;
}
.sidebar-grid-item {
    text-align: center; padding: 8px 0;
}
.sidebar-grid-item img {
    width: 38px; height: 38px; object-fit: contain;
}
.sidebar-grid-item .label {
    font-size: 12px; margin-top: 5px; color: #ccc;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 12px 15px 8px;
}
.section-header .title {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px;
}
.section-header .title img { width: 28px; height: 28px; }
.section-header .see-all {
    font-size: 12px; color: #999; padding: 4px 12px;
    background: #1e1e2e; border-radius: 20px;
    cursor: pointer; transition: all 0.2s;
    border: 1px solid #2a2a3a;
}
.section-header .see-all:hover { background: #282838; color: #ddd; }

/* ========== PROVIDER GRID ========== */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px; padding: 8px 15px 15px;
}
.provider-item {
    text-align: center; text-decoration: none; color: #ccc;
    font-size: 11px; font-weight: 400;
    transition: transform 0.2s;
}
.provider-item:hover { color: #fff; transform: scale(1.05); }
.provider-item img {
    width: 48px; height: 48px; object-fit: contain;
    background: #1e1e2e; border-radius: 50%;
    padding: 2px;
    border: 1px solid #2a2a3a;
    transition: border-color 0.2s;
}
.provider-item:hover img {
    border-color: #444;
}
.provider-item .name { margin-top: 5px; }

@media (max-width: 360px) {
    .provider-grid { gap: 8px; padding: 6px 10px 12px; }
    .provider-item img { width: 42px; height: 42px; }
    .provider-item { font-size: 10px; }
}

/* ========== GAME CATEGORY ICONS (4-col) ========== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; padding: 12px 15px;
    text-align: center;
}
.category-item {
    text-decoration: none; color: #fff; font-size: 12px;
    font-weight: 500; transition: transform 0.2s;
}
.category-item:hover { transform: scale(1.05); color: #fff; }
.category-item img { width: 45px; height: 45px; object-fit: contain; }
.category-item .label { margin-top: 5px; }

/* ========== CTA BUTTONS ROW ========== */
.cta-row {
    display: flex; justify-content: center; gap: 10px;
    padding: 12px 15px; flex-wrap: wrap;
}
.cta-row a { flex: 1; text-align: center; min-width: 80px; }

/* ========== MARQUEE / ANNOUNCEMENT ========== */
.announcement-bar {
    background: #1a1a28; color: #aaa;
    padding: 6px 12px; font-size: 13px;
    display: flex; align-items: center; gap: 8px;
    border-top: 1px solid #2a2a3a;
    border-bottom: 1px solid #2a2a3a;
}
.announcement-bar i { flex-shrink: 0; }

/* ========== DUAL SECTION (Sports/Poker, Lotto/Fishing) ========== */
.dual-section {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; padding: 15px;
}
.dual-card {
    text-align: center;
}
.dual-card .card-title {
    display: flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 13px; margin-bottom: 10px;
}
.dual-card .card-title img { width: 28px; height: 28px; }
.dual-card .card-img {
    width: 100%; max-width: 180px; border-radius: 8px;
    transition: transform 0.2s;
}
.dual-card .card-img:hover { transform: scale(1.03); }

/* ========== CASINO ROW ========== */
.casino-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; padding: 8px 15px 15px;
}
.casino-card img {
    width: 100%; border-radius: 10px;
    background: #1e1e2e; padding: 4px;
    transition: transform 0.2s;
    border: 1px solid #2a2a3a;
}
.casino-card img:hover { transform: scale(1.03); border-color: #444; }

/* ========== SECTION BG HELPERS ========== */
.bg-dark-1 { background: #121218; }
.bg-dark-2 { background-color: #0e0e14; }
.bg-orange { background: #1e1e2e; }

/* ========== BOTTOM STICKY NAV ========== */
.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px;
    background: linear-gradient(180deg, #1a0a2e, #120828);
    box-shadow: 0 -2px 15px rgba(88, 28, 135, 0.3);
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    z-index: 1050; padding: 6px 0;
}
.bottom-nav .row { margin: 0; }
.bottom-nav .nav-item-bottom {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #888; font-size: 11px;
    padding: 4px 0; transition: color 0.2s;
}
.bottom-nav .nav-item-bottom:hover { color: #fff; }
.bottom-nav .nav-item-bottom img {
    width: 22px; height: 22px; margin-bottom: 3px;
    opacity: 0.7; transition: opacity 0.2s;
}
.bottom-nav .nav-item-bottom:hover img { opacity: 1; }
.bottom-nav .nav-item-bottom i {
    font-size: 18px; margin-bottom: 3px;
}
.bottom-nav .nav-item-bottom.active { color: #c084fc; }
.bottom-nav .nav-item-bottom.active img { opacity: 1; filter: brightness(1.3); }
.bottom-nav .balance-btn {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff; border-radius: 6px; padding: 4px 0;
    box-shadow: 0 2px 8px rgba(126, 34, 206, 0.3);
}
.bottom-nav .balance-btn i { color: #fff; }

/* ========== FOOTER ========== */
.site-footer {
    background: #121218; color: #b0b0b0;
    padding: 24px 15px; font-size: 12px; font-weight: 300;
    line-height: 1.8;
    border-top: 1px solid #2a2a3a;
}
.site-footer h6 {
    font-weight: 700; font-size: 13px; margin-bottom: 10px; color: #fff;
}
.site-footer .footer-link {
    color: #888; margin-bottom: 6px;
    transition: color 0.2s; cursor: pointer;
}
.site-footer .footer-link:hover { color: #ddd; }
.site-footer .copyright {
    text-align: center; padding-top: 15px;
    border-top: 1px solid #2a2a3a;
    margin-top: 15px; font-size: 11px; color: #666;
}
.site-footer .social-icon {
    font-size: 24px; color: #888;
    transition: color 0.2s;
}
.site-footer .social-icon:hover { color: #fff; }

/* ========== MODAL STYLING ========== */
.modal-content { border-radius: 16px; overflow: hidden; border: none; }
#login .modal-content {
    background: linear-gradient(165deg, #1a0a2e 0%, #16082b 40%, #0f0620 100%);
    color: #e8e0f0;
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 20px 60px rgba(88, 28, 135, 0.4), 0 0 40px rgba(168, 85, 247, 0.1);
}
#login .modal-header {
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(126, 34, 206, 0.15), rgba(88, 28, 135, 0.1));
}
#login .modal-title {
    font-weight: 800; color: #c084fc; font-size: 1.3rem;
    letter-spacing: 0.5px;
}
#login .btn-close { filter: invert(1) brightness(0.8); }
#login .modal-body { padding: 28px 24px; }
#login .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}
#login .input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25), 0 2px 12px rgba(88, 28, 135, 0.3);
}
#login .input-group-text {
    background: rgba(126, 34, 206, 0.15); color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2); font-size: 17px;
    padding: 12px 14px;
    transition: all 0.3s ease;
}
#login .input-group:focus-within .input-group-text {
    background: rgba(126, 34, 206, 0.25); color: #c084fc;
}
#login .form-control {
    background: rgba(15, 6, 32, 0.8); color: #e8e0f0;
    border: 1px solid rgba(168, 85, 247, 0.15); font-size: 15px;
    padding: 12px 14px;
    transition: all 0.3s ease;
}
#login .form-control::placeholder { color: rgba(168, 85, 247, 0.4); }
#login .form-control:focus {
    border-color: #a855f7;
    box-shadow: none;
    background: rgba(15, 6, 32, 0.9); color: #f0e8ff;
}
.btn-login-submit {
    display: block; width: 80%; max-width: 350px;
    margin: 14px auto 0; padding: 13px;
    background: linear-gradient(135deg, #a855f7, #7c3aed, #6d28d9);
    color: #fff;
    border: none; border-radius: 10px;
    font-weight: 700; font-size: 16px;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 34, 206, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.btn-login-submit::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.btn-login-submit:hover::before { left: 100%; }
.btn-login-submit:hover {
    background: linear-gradient(135deg, #c084fc, #a855f7, #7c3aed);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.5);
}
.btn-login-submit:active { transform: translateY(0); }
#login .login-footer {
    font-size: 13px; color: rgba(168, 85, 247, 0.6); text-align: center; margin-top: 20px;
}
#login .login-footer a {
    color: #c084fc; text-decoration: none; font-weight: 600;
    transition: color 0.2s ease;
}
#login .login-footer a:hover { text-decoration: underline; color: #e9d5ff; }

/* ========== FORM DARK STYLE (daftar/deposit) ========== */
.form-dark .form-label {
    font-size: 13px; color: #9ca3af; font-weight: 400; margin-bottom: 5px;
}
.form-dark .input-group {
    border-radius: 8px; overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.form-dark .input-group:focus-within {
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}
.form-dark .input-group-text {
    color: #a78bfa; background: #1a1a24;
    border: 1px solid #2a2a3a; font-size: 13px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}
.form-dark .input-group:focus-within .input-group-text {
    color: #c4b5fd; border-color: rgba(139, 92, 246, 0.4);
}
.form-dark .form-control,
.form-dark .form-select {
    color: #e5e7eb; background: #16161f;
    border: 1px solid #2a2a3a; font-size: 13px;
    padding: 10px 12px;
    transition: all 0.2s ease;
}
.form-dark .form-control::placeholder { color: #555; }
.form-dark .form-control:focus,
.form-dark .form-select:focus {
    border-color: rgba(139, 92, 246, 0.5); box-shadow: none;
    background: #1a1a24; color: #f3f4f6;
}
.form-dark .form-select option {
    background: #16161f; color: #e5e7eb;
}
.form-dark .section-title {
    font-size: 12px; font-weight: 700; color: #a78bfa;
    margin: 20px 0 10px; padding-bottom: 7px;
    border-bottom: 1px solid #2a2a3a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.form-dark .hint-text {
    font-size: 11px; color: #6b7280; padding: 8px 0; line-height: 1.5;
}

/* ========== CTA FULL WIDTH ========== */
.btn-full {
    display: block; width: 100%; text-align: center;
    padding: 14px; border: none; border-radius: 10px;
    font-weight: 700; font-size: 15px; cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative; overflow: hidden;
}
.btn-full::before {
    content: ''; position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}
.btn-full:hover::before { left: 100%; }
.btn-full:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(126, 34, 206, 0.4); }
.btn-full:active { transform: translateY(0); }

/* ========== SUCCESS MODAL ========== */
.success-modal .modal-content {
    background-color: #1c1c1c; color: #fff;
    border: 1px solid #23c85d; border-radius: 12px;
}
.success-modal .success-icon {
    font-size: 60px; color: #23c85d; margin-bottom: 10px;
}
.success-modal h4 { font-weight: 700; color: #23c85d; }
.success-modal p { font-size: 13px; color: #ccc; margin-top: 10px; }
.success-modal .spinner-border { color: #23c85d !important; }

/* ========== DEPOSIT TABS ========== */
.deposit-tabs {
    display: flex; gap: 0; padding: 10px 15px;
}
.deposit-tab {
    flex: 1; text-align: center; padding: 8px;
    font-size: 12px; font-weight: 600; color: rgba(168, 85, 247, 0.5);
    border-bottom: 2px solid transparent;
    cursor: pointer; transition: all 0.2s;
}
.deposit-tab:hover, .deposit-tab.active {
    color: #c084fc; border-bottom-color: #a855f7;
}
.deposit-tab i { margin-right: 4px; }

/* ========== RESPONSIVE ========== */
@media (min-width: 481px) {
    html { box-shadow: 0 0 30px rgba(0,0,0,0.5); }
}
