:root {
    --ink: #05070d;
    --navy: #080d19;
    --panel: #0d1423;
    --panel-raised: #111b2d;
    --line: rgba(151, 171, 207, .14);
    --line-bright: rgba(151, 171, 207, .25);
    --text: #f4f6fb;
    --muted: #8d9ab1;
    --gold: #f4c45b;
    --gold-bright: #ffe09a;
    --blue: #3d9bff;
    --purple: #9b70ff;
    --green: #5ee29a;
    --sidebar-width: 238px;
    --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: "DM Sans", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 34px 34px;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    z-index: 50;
    display: flex;
    flex-direction: column;
    background: rgba(8, 13, 25, .96);
    border-right: 1px solid var(--line);
}
.sidebar-brand { padding: 24px 20px 22px; border-bottom: 1px solid var(--line); }
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg, var(--gold-bright), var(--gold)); border-radius: 10px; box-shadow: 0 8px 25px rgba(244, 196, 91, .2); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--gold-bright); font-size: 17px; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.sidebar-close, .mobile-menu-button { display: none; border: 0; color: var(--text); background: transparent; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 22px 13px; }
.nav-caption { display: block; padding: 0 12px 10px; color: #61708a; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.nav-caption-spaced { margin-top: 28px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 3px 0; padding: 0 12px; color: #aeb8ca; border: 1px solid transparent; border-radius: 8px; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.sidebar-link i { width: 18px; color: #70809c; font-size: 16px; text-align: center; }
.sidebar-link:hover, .sidebar-link.is-active { color: var(--text); background: linear-gradient(90deg, rgba(244, 196, 91, .13), rgba(61, 155, 255, .05)); border-color: rgba(244, 196, 91, .16); }
.sidebar-link.is-active i { color: var(--gold); }
.sidebar-link-muted { color: #7f8da4; }
.sidebar-footer { padding: 16px 14px; border-top: 1px solid var(--line); }
.sidebar-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 0; border-radius: 7px; color: var(--ink); background: var(--gold); font-size: 12px; font-weight: 800; }
.sidebar-cta:hover, .button-gold:hover { background: var(--gold-bright); }
.sidebar-user { display: flex; align-items: center; gap: 9px; }
.user-avatar, .activity-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); background: linear-gradient(135deg, var(--blue), var(--purple)); font-weight: 800; }
.user-summary { display: grid; min-width: 0; flex: 1; }
.user-summary strong { overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.user-summary small { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.icon-button, .header-icon-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: transparent; }
.icon-button:hover, .header-icon-button:hover { color: var(--gold); border-color: var(--gold); }
.header-icon-button { position: relative; }
.notification-center { position: relative; }
.notification-menu { position: absolute; top: 40px; right: 0; z-index: 1200; width: min(350px, calc(100vw - 24px)); max-height: 420px; overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: #080d1b; box-shadow: 0 15px 35px rgba(0,0,0,.35); }
.notification-menu[hidden] { display: none; }
.notification-menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 10px; border-bottom: 1px solid var(--line); }
.notification-menu-heading strong { color: var(--gold); font-size: 12px; }
.notification-menu-heading a, .notification-menu-footer { color: var(--blue); font-size: 10px; font-weight: 700; }
.notification-item { margin: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.notification-item:last-child { border-bottom: 0; }
.notification-item button { width: 100%; padding: 10px 8px; border: 0; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.notification-item button:hover, .notification-item.is-unread button { background: rgba(255,255,255,.05); }
.notification-item button { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.notification-item-icon { display: grid !important; place-items: center; width: 24px; height: 24px; margin-top: 1px; color: var(--gold); background: rgba(244,196,91,.1); border-radius: 6px; }
.notification-item-copy { min-width: 0; }
.notification-item strong, .notification-item span, .notification-item small { display: block; }
.notification-item strong { color: var(--text); font-size: 12px; }
.notification-item-copy > span { margin-top: 3px; font-size: 11px; line-height: 1.4; }
.notification-item small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.notification-empty { padding: 14px 8px; color: var(--muted); font-size: 11px; }
.notification-menu-footer { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 8px 5px; border-top: 1px solid var(--line); }
.notification-dot { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); border-radius: 10px; font-size: 8px; }
.header-deposit { gap: 5px; }

.notifications-page { width: min(900px, 100%); margin: 0 auto; padding: 44px 0 70px; }
.notifications-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 30px; background: linear-gradient(115deg, rgba(244,196,91,.14), rgba(61,155,255,.08) 58%, rgba(13,20,35,.9)); border: 1px solid rgba(244,196,91,.22); border-radius: 10px; }
.notifications-hero h1 { margin: 7px 0 5px; color: var(--text); font-size: clamp(27px, 4vw, 39px); line-height: 1.1; }
.notifications-hero p { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; }
.notifications-hero-icon { display: grid; place-items: center; width: 68px; height: 68px; flex: 0 0 auto; color: var(--gold-bright); background: rgba(5,7,13,.35); border: 1px solid rgba(244,196,91,.3); border-radius: 50%; font-size: 27px; }
.notifications-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 3px 15px; }
.notifications-summary { display: flex; align-items: baseline; gap: 7px; color: var(--muted); font-size: 12px; }
.notifications-summary strong { color: var(--gold); font-size: 23px; }
.notifications-read-all { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; color: var(--blue); background: rgba(61,155,255,.08); border: 1px solid rgba(61,155,255,.25); border-radius: 6px; font-size: 11px; font-weight: 700; }
.notifications-read-all:hover { background: rgba(61,155,255,.15); }
.notifications-list { display: grid; gap: 9px; }
.notification-card { margin: 0; }
.notification-card-button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; align-items: center; gap: 15px; padding: 17px 19px; color: var(--text); text-align: left; background: rgba(13,20,35,.82); border: 1px solid var(--line); border-radius: 8px; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.notification-card-button:hover, .notification-card.is-unread .notification-card-button { background: rgba(17,27,45,.98); border-color: rgba(244,196,91,.42); }
.notification-card-button:hover { transform: translateY(-1px); }
.notification-card-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--gold); background: rgba(244,196,91,.1); border: 1px solid rgba(244,196,91,.16); border-radius: 8px; font-size: 19px; }
.notification-card-content { min-width: 0; }
.notification-card-topline { display: flex; align-items: center; gap: 9px; }
.notification-card-topline strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.notification-card-topline em { padding: 3px 5px; color: var(--ink); background: var(--gold); border-radius: 3px; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.notification-card-message { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.notification-card-content small { display: block; margin-top: 8px; color: #687792; font-size: 10px; }
.notification-card-content small i { margin-right: 4px; }
.notification-card-arrow { color: #61708a; font-size: 14px; }
.notifications-empty { padding: 60px 24px; text-align: center; background: rgba(13,20,35,.72); border: 1px dashed var(--line-bright); border-radius: 8px; }
.notifications-empty > span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; color: var(--green); background: rgba(94,226,154,.1); border-radius: 50%; font-size: 24px; }
.notifications-empty h2 { margin: 0 0 6px; font-size: 18px; }
.notifications-empty p { max-width: 390px; margin: 0 auto 20px; color: var(--muted); font-size: 12px; }
.notifications-pagination { margin-top: 20px; }
.notification-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.notification-back-link:hover { color: var(--gold); }
.notification-detail-page { max-width: 900px; }
.notification-detail-card { padding: 38px 42px; text-align: center; background: linear-gradient(145deg, rgba(17,27,45,.96), rgba(13,20,35,.88)); border: 1px solid rgba(244,196,91,.25); border-radius: 10px; }
.notification-detail-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; color: var(--gold-bright); background: rgba(244,196,91,.11); border: 1px solid rgba(244,196,91,.25); border-radius: 50%; font-size: 25px; }
.notification-detail-card h1 { margin: 9px 0 7px; color: var(--text); font-size: clamp(24px, 4vw, 34px); }
.notification-detail-card time { color: var(--muted); font-size: 11px; }
.notification-detail-message { max-width: 620px; margin: 28px auto; padding: 22px 24px; color: #dfe7f2; background: rgba(5,7,13,.35); border: 1px solid var(--line); border-radius: 7px; font-size: 15px; line-height: 1.7; }
.notification-detail-meta { display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--muted); font-size: 11px; }
.notification-detail-meta span:first-child { color: var(--green); }
.notification-detail-action { margin-top: 26px; }

@media (max-width: 650px) {
    .notifications-page { padding: 25px 0 48px; }
    .notifications-hero { padding: 22px 20px; }
    .notifications-hero-icon { width: 50px; height: 50px; font-size: 20px; }
    .notifications-toolbar { padding-top: 20px; }
    .notification-card-button { grid-template-columns: 38px minmax(0, 1fr) 14px; gap: 11px; padding: 14px 12px; }
    .notification-card-icon { width: 38px; height: 38px; font-size: 16px; }
    .notification-card-topline strong { font-size: 13px; }
    .notification-card-message { white-space: normal; }
    .notification-detail-card { padding: 30px 18px; }
    .notification-detail-message { padding: 18px; font-size: 13px; }
    .notification-detail-meta { flex-direction: column; gap: 6px; }
}

.site-shell { min-height: 100vh; margin-left: var(--sidebar-width); position: relative; }
.site-shell { min-height: 100vh; margin-left: var(--sidebar-width); position: relative; display: flex; flex-direction: column; }
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; background: rgba(5, 7, 13, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-left, .header-actions { display: flex; align-items: center; gap: 16px; }
.global-search { width: min(380px, 42vw); height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #71809a; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; }
.global-search:focus-within { border-color: rgba(61, 155, 255, .7); box-shadow: 0 0 0 3px rgba(61, 155, 255, .08); }
.global-search input { width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 12px; }
.global-search input::placeholder { color: #66748c; }
.search-key { display: grid; place-items: center; width: 19px; height: 19px; color: #8491a6; border: 1px solid var(--line-bright); border-radius: 4px; font-size: 11px; }
.mobile-brand { display: none; color: var(--gold-bright); font-size: 14px; font-weight: 800; letter-spacing: .09em; }
.header-login { padding: 0; color: #aeb8ca; background: transparent; border: 0; font-size: 12px; font-weight: 700; }
.header-login:hover { color: var(--gold); }
.button-gold, .button-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border-radius: 7px; font-size: 12px; font-weight: 800; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button-gold { color: var(--ink); background: var(--gold); border: 1px solid var(--gold); }
.button-ghost { color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line-bright); }
.button-ghost:hover { border-color: var(--blue); background: rgba(61,155,255,.1); }
.button-small { min-height: 34px; padding: 0 14px; }
.balance-pill { display: flex; align-items: center; gap: 9px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.balance-pill > i { color: var(--gold); font-size: 17px; }
.balance-pill span { display: grid; gap: 0; }
.balance-pill small { color: var(--muted); font-size: 8px; letter-spacing: .12em; }
.balance-pill strong { color: var(--gold-bright); font-size: 12px; }
.ticker-bar { display: flex; align-items: center; gap: 10px; min-height: 33px; padding: 0 34px; color: #aab5c7; background: #090e18; border-bottom: 1px solid var(--line); font-size: 11px; }
.ticker-bar i { color: var(--gold); }
.page-content { width: min(1440px, 100%); margin: 0 auto; padding: 24px 34px 52px; }
.page-content { width: min(1440px, 100%); flex: 1 0 auto; margin: 0 auto; padding: 24px 34px 52px; }
.notification-item-link { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 10px 8px; color: var(--muted); }
.notification-item-link:hover, .notification-item-link.is-unread { background: rgba(255,255,255,.05); }
.notification-item button { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.page-alert { margin: 12px 34px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.alert-success { color: var(--green); background: rgba(94,226,154,.08); }
.alert-danger { color: #ff8e9a; background: rgba(255,80,100,.08); }
.site-footer { padding: 0 34px 25px; color: #536078; font-size: 11px; }

.lobby-hero { position: relative; min-height: 274px; display: flex; align-items: center; overflow: hidden; padding: 34px 38px; background: linear-gradient(110deg, #101b2e 0%, #0b1220 54%, #18162d 100%); border: 1px solid var(--line); border-radius: 10px; }
.lobby-hero::after { content: ""; position: absolute; inset: 0; opacity: .35; background: linear-gradient(90deg, transparent 0, rgba(61,155,255,.1) 52%, rgba(155,112,255,.16) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 470px; }
.eyebrow, .section-kicker { display: block; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow { color: var(--gold); }
.lobby-hero h1 { max-width: 360px; margin: 11px 0 7px; color: var(--text); font-size: clamp(28px, 3vw, 43px); line-height: 1.05; letter-spacing: -.03em; }
.lobby-hero p { max-width: 360px; margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.hero-actions { display: flex; gap: 9px; }
.hero-art { position: absolute; right: 11%; top: 50%; z-index: 1; display: grid; place-items: center; width: 190px; height: 190px; color: var(--gold); transform: translateY(-50%) rotate(-10deg); font-size: 82px; opacity: .95; }
.hero-art strong { position: absolute; color: rgba(255, 224, 154, .13); font-size: 78px; letter-spacing: -.1em; }
.hero-orbit { position: absolute; border: 1px solid rgba(244,196,91,.35); border-radius: 50%; transform: rotate(35deg); }
.hero-orbit-one { width: 180px; height: 75px; }
.hero-orbit-two { width: 220px; height: 100px; border-color: rgba(61,155,255,.35); transform: rotate(-32deg); }
.hero-banner-strip { position: absolute; right: 25px; bottom: 20px; z-index: 2; display: flex; width: 250px; height: 66px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 7px; background: var(--panel); }
.hero-banner-slide { min-width: 100%; }
.hero-banner-slide img { width: 100%; height: 66px; object-fit: cover; opacity: .76; }
.jackpot-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 18px; margin-top: 12px; padding: 10px 13px; background: #0b111e; border: 1px solid rgba(244,196,91,.22); border-left: 2px solid var(--gold); border-radius: 6px; }
.jackpot-label, .jackpot-game, .jackpot-stat { display: flex; align-items: center; gap: 9px; }
.jackpot-label { color: var(--gold); font-size: 17px; }
.jackpot-label span, .jackpot-game span, .jackpot-stat { display: grid; gap: 1px; }
.jackpot-label span { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.jackpot-label small, .jackpot-game small, .jackpot-stat small { color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .08em; }
.jackpot-game { min-width: 0; }
.jackpot-game img { width: 42px; height: 42px; object-fit: cover; border-radius: 4px; }
.jackpot-game strong { overflow: hidden; color: #e9edf5; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.jackpot-stat { padding-left: 18px; border-left: 1px solid var(--line); }
.jackpot-stat strong { color: var(--green); font-size: 10px; }
.jackpot-action { display: grid; place-items: center; width: 30px; height: 30px; color: var(--ink); background: var(--gold); border-radius: 50%; }

.lobby-section, .category-strip { margin-top: 29px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 13px; }
.section-heading-tight { margin-bottom: 10px; }
.section-heading h2 { margin: 3px 0 0; color: var(--text); font-size: 20px; letter-spacing: -.02em; }
.section-kicker.accent-gold { color: var(--gold); }
.section-kicker.accent-blue { color: var(--blue); }
.section-kicker.accent-green { color: var(--green); }
.section-kicker.accent-purple { color: var(--admin-accent, var(--purple)); }
.reference-provider:focus-visible,
.provider-directory .nav-link:focus-visible,
.provider-filter:focus-visible,
.all-games-filter:focus-visible { outline: 2px solid var(--admin-accent, var(--purple)); outline-offset: 2px; }
.text-link { color: var(--muted); font-size: 11px; }
.text-link:hover { color: var(--gold); }
.section-controls { display: flex; gap: 6px; }
.round-button { display: grid; place-items: center; width: 29px; height: 29px; color: #bdc7d8; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.round-button:hover { color: var(--gold); border-color: var(--gold); }
.category-list, .provider-rail, .game-rail { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2b3850 transparent; }
.category-chip { display: inline-flex; align-items: center; gap: 8px; min-width: max-content; padding: 11px 15px; color: #aab5c7; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.category-chip i { color: var(--blue); }
.category-chip:hover, .category-chip.is-active { color: var(--gold-bright); border-color: rgba(244,196,91,.45); background: rgba(244,196,91,.08); }
.category-chip.is-active i { color: var(--gold); }
.game-rail { padding-bottom: 7px; }
.game-card { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; }
.game-rail .game-card { flex: 0 0 145px; }
.game-card:hover { border-color: rgba(244,196,91,.5); transform: translateY(-2px); transition: transform .18s ease, border-color .18s ease; }
.game-card-link { display: block; }
.game-cover { position: relative; overflow: hidden; aspect-ratio: 1 / 1.18; background: #111827; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.game-card:hover .game-cover img { transform: scale(1.04); }
.game-badge { position: absolute; top: 7px; left: 7px; padding: 3px 6px; color: var(--ink); background: var(--gold); border-radius: 4px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.game-badge.badge-new { background: var(--blue); color: white; }
.game-play { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 26px; height: 26px; color: var(--ink); background: var(--gold); border-radius: 50%; opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease; }
.game-card:hover .game-play { opacity: 1; transform: translateY(0); }
.game-card-meta { display: grid; gap: 2px; min-height: 53px; padding: 9px 9px 10px; }
.game-card-meta strong { overflow: hidden; color: #e9edf5; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.game-card-meta small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.game-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 11px; }
.game-grid .game-card { min-width: 0; }
.result-count { color: var(--muted); font-size: 11px; }
.provider-tile { flex: 0 0 156px; min-height: 94px; display: grid; align-content: center; justify-items: start; gap: 2px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 7px; }
.provider-tile:hover { border-color: rgba(61,155,255,.65); background: var(--panel-raised); }
.provider-tile img { width: 80px; height: 27px; margin-bottom: 7px; object-fit: contain; object-position: left center; }
.provider-fallback { display: grid; place-items: center; width: 31px; height: 27px; margin-bottom: 7px; color: var(--gold); background: rgba(244,196,91,.1); border-radius: 4px; font-size: 10px; font-weight: 900; }
.provider-tile strong { overflow: hidden; width: 100%; color: #e7ecf5; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.provider-tile small { color: var(--muted); font-size: 9px; }
.promo-band { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; margin-top: 34px; padding: 27px 30px; background: linear-gradient(105deg, #12182b, #111525 55%, #17142a); border: 1px solid var(--line); border-radius: 9px; }
.promo-copy h2 { max-width: 460px; margin: 7px 0 8px; font-size: 23px; line-height: 1.15; }
.promo-copy p { max-width: 500px; margin: 0 0 17px; color: var(--muted); font-size: 12px; }
.promo-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.promo-mini-grid article { display: grid; gap: 5px; padding: 13px 10px; background: rgba(5,7,13,.34); border: 1px solid var(--line); border-radius: 7px; }
.promo-mini-grid i { color: var(--gold); font-size: 18px; }
.promo-mini-grid strong { color: #dce4f0; font-size: 11px; }
.promo-mini-grid span { color: var(--muted); font-size: 9px; }
.activity-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.activity-panel { padding: 17px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.activity-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); }
.activity-item .activity-avatar { width: 27px; height: 27px; font-size: 10px; }
.activity-item > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.activity-item strong { overflow: hidden; color: #dce4f0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.activity-item small { color: var(--muted); font-size: 9px; }
.activity-item b { color: var(--green); font-size: 10px; }
.empty-state { padding: 24px; color: var(--muted); }
.mobile-bottom-nav { display: none; }
.mobile-account-trigger { display: none; }
.account-menu-overlay { position: fixed; inset: 0; z-index: 1190; background: rgba(0,4,12,.72); }
.account-menu-popup { position: fixed; right: 16px; bottom: 74px; z-index: 1191; width: min(310px, calc(100% - 32px)); padding: 20px; border: 1px solid rgba(61,155,255,.4); border-radius: 12px; background: linear-gradient(180deg, #0a1b2d, #050d19); box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.account-menu-popup[hidden], .account-menu-overlay[hidden] { display: none; }
.account-menu-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: 1px solid rgba(61,155,255,.3); border-radius: 5px; color: #b9c9da; background: #071728; }
.account-menu-kicker { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.account-menu-popup h2 { margin: 5px 0 4px; color: #f2f6fb; font-size: 18px; }
.account-menu-popup p { margin: 0 0 17px; color: #8fa4ba; font-size: 11px; }
.account-menu-action { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; margin-top: 8px; padding: 0 12px; border: 1px solid transparent; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 700; text-align: left; }
.account-menu-action i { width: 18px; color: var(--gold-bright); font-size: 15px; text-align: center; }
.account-menu-login { background: linear-gradient(180deg, #ffe79a, #e9af36); color: #05070d; }
.account-menu-login i { color: #05070d; }
.account-menu-register { border-color: rgba(61,155,255,.3); background: #071728; }
.register-login-link { padding: 0; border: 0; background: transparent; cursor: pointer; }

main.page-content .payment-shell {
    --payment-bg: #070b16;
    --payment-panel: rgba(13, 20, 35, .92);
    --payment-panel-soft: rgba(8, 14, 27, .94);
    --payment-line: rgba(61, 155, 255, .24);
    --payment-line-strong: rgba(61, 155, 255, .48);
    --payment-muted: #8d9ab1;
    --payment-glow: rgba(61, 155, 255, .10);
    min-height: auto;
    padding: 25px 0 45px;
    background: transparent;
}

main.page-content .payment-shell .deposit-page,
main.page-content .payment-shell .withdraw-page {
    width: min(1120px, calc(100% - 36px));
}

main.page-content .payment-shell .deposit-account {
    min-height: 58px;
    height: auto;
    padding: 0 20px;
    color: var(--text);
    background: linear-gradient(105deg, rgba(13, 24, 43, .98), rgba(7, 13, 26, .98));
    border: 1px solid var(--payment-line);
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

main.page-content .payment-shell .deposit-account .normal,
main.page-content .payment-shell .deposit-account span { color: var(--blue); }
main.page-content .payment-shell .deposit-account strong { color: var(--gold-bright); }

main.page-content .payment-shell .deposit-nav {
    height: 60px;
    overflow-x: auto;
    white-space: nowrap;
    background: rgba(5, 10, 21, .98);
    border: 1px solid var(--payment-line);
    border-top: 0;
    scrollbar-width: thin;
    scrollbar-color: #2b3850 transparent;
}

main.page-content .payment-shell .deposit-nav a {
    flex: 0 0 auto;
    padding: 0 22px;
    color: #aeb8ca;
    border-right: 1px solid rgba(151, 171, 207, .12);
    font-size: 12px;
    font-weight: 700;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

main.page-content .payment-shell .deposit-nav a:hover {
    color: var(--gold-bright);
    background: rgba(244, 196, 91, .06);
}

main.page-content .payment-shell .deposit-nav a.active {
    color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(244, 196, 91, .14), rgba(244, 196, 91, .04));
    border-bottom: 2px solid var(--gold);
    box-shadow: inset 0 -10px 18px rgba(244, 196, 91, .04);
}

main.page-content .payment-shell .deposit-header {
    position: relative;
    margin: 30px auto 22px;
    padding: 0 2px 17px;
    border-bottom: 1px solid var(--line);
}

main.page-content .payment-shell .deposit-header::before {
    content: "PAYMENT";
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
}

main.page-content .payment-shell .deposit-header h1 {
    color: var(--text);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.02em;
}

main.page-content .payment-shell .deposit-header p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

main.page-content .payment-shell .qris-simple-card,
main.page-content .payment-shell .payment-box,
main.page-content .payment-shell .amount-box,
main.page-content .payment-shell .withdraw-card,
main.page-content .payment-shell .transaction-panel {
    background: linear-gradient(145deg, rgba(13, 24, 43, .96), rgba(7, 12, 24, .98));
    border: 1px solid var(--payment-line);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .025);
}

main.page-content .payment-shell .qris-simple-card,
main.page-content .payment-shell .withdraw-card { width: min(820px, 100%); }

main.page-content .payment-shell .qris-simple-card-head,
main.page-content .payment-shell .withdraw-card-head,
main.page-content .payment-shell .payment-head {
    padding: 17px 21px;
    border-bottom: 1px solid var(--line);
}

main.page-content .payment-shell .qris-simple-card-head strong,
main.page-content .payment-shell .withdraw-card-head strong,
main.page-content .payment-shell .payment-head strong { color: var(--text); font-size: 14px; }
main.page-content .payment-shell .qris-simple-card-head span { color: var(--green); }

main.page-content .payment-shell #qrisSimpleForm,
main.page-content .payment-shell #withdrawForm { padding: 22px; }

main.page-content .payment-shell #qrisSimpleForm label,
main.page-content .payment-shell .withdraw-field label { color: #dfe7f2; }

main.page-content .payment-shell #qrisSimpleForm input,
main.page-content .payment-shell .amount-input,
main.page-content .payment-shell .withdraw-field input,
main.page-content .payment-shell .withdraw-readonly {
    background: rgba(3, 9, 19, .78);
    border: 1px solid rgba(151, 171, 207, .25);
    border-radius: 7px;
}

main.page-content .payment-shell #qrisSimpleForm input:focus,
main.page-content .payment-shell .amount-input:focus,
main.page-content .payment-shell .withdraw-field input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--payment-glow);
}

main.page-content .payment-shell .qris-simple-quick button,
main.page-content .payment-shell .quick button {
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line-bright);
    border-radius: 6px;
}

main.page-content .payment-shell #qrisSimpleForm .qris-simple-submit,
main.page-content .payment-shell #continueBtn.continue,
main.page-content .payment-shell #withdrawSubmit.qris-simple-submit {
    min-height: 52px;
    height: auto;
    border: 1px solid var(--gold);
    border-radius: 7px;
    color: var(--ink);
    background: linear-gradient(180deg, #ffe79a, #e9af36);
    box-shadow: 0 8px 22px rgba(244, 196, 91, .12);
}

main.page-content .payment-shell #qrisSimpleForm .qris-simple-submit:hover,
main.page-content .payment-shell #continueBtn.continue:hover:not(:disabled),
main.page-content .payment-shell #withdrawSubmit.qris-simple-submit:hover {
    background: linear-gradient(180deg, #fff0b5, #f4c45b);
    box-shadow: 0 10px 26px rgba(244, 196, 91, .22);
}

main.page-content .payment-shell .payment-box,
main.page-content .payment-shell .amount-box { margin-top: 16px; }
main.page-content .payment-shell .category { padding: 18px 21px; }
main.page-content .payment-shell .method,
main.page-content .payment-shell .qris-action {
    border-color: rgba(61, 155, 255, .24);
    border-radius: 7px;
    background: rgba(8, 15, 29, .82);
}
main.page-content .payment-shell .method:hover,
main.page-content .payment-shell .method.active,
main.page-content .payment-shell .qris-action:hover,
main.page-content .payment-shell .qris-action.active {
    border-color: rgba(244, 196, 91, .58);
    background: rgba(244, 196, 91, .07);
}
main.page-content .payment-shell .amount-box { padding: 21px; }
main.page-content .payment-shell .action { border-color: var(--payment-line); border-radius: 7px; background: rgba(8, 14, 27, .82); }

main.page-content .payment-shell .withdraw-form-grid { gap: 14px; }
main.page-content .payment-shell .withdraw-total {
    border-color: rgba(94, 226, 154, .34);
    border-radius: 7px;
    background: rgba(94, 226, 154, .07);
}

main.page-content .payment-shell .credit-debit-summary {
    margin: 22px auto 16px;
    width: min(820px, 100%);
    border: 1px solid var(--payment-line);
    border-radius: 8px;
    background: var(--payment-panel);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}
main.page-content .payment-shell .transaction-columns {
    width: min(1060px, 100%);
    margin: 0 auto;
    gap: 16px;
}
main.page-content .payment-shell .transaction-panel { padding: 18px; }
main.page-content .payment-shell .history-card {
    background: rgba(8, 15, 29, .86);
    border: 1px solid var(--line);
    border-radius: 7px;
}
main.page-content .payment-shell .history-detail-button {
    border-color: rgba(61, 155, 255, .38);
    border-radius: 5px;
    color: #9ed5ff;
    background: rgba(61, 155, 255, .07);
}
main.page-content .payment-shell .history-detail-button:hover { border-color: var(--gold); color: var(--gold-bright); }

@media (max-width: 700px) {
    main.page-content .payment-shell { padding: 15px 0 34px; }
    main.page-content .payment-shell .deposit-page,
    main.page-content .payment-shell .withdraw-page { width: calc(100% - 16px); }
    main.page-content .payment-shell .deposit-account { min-height: 58px; padding: 8px 13px; line-height: 1.55; }
    main.page-content .payment-shell .deposit-nav { height: 52px; }
    main.page-content .payment-shell .deposit-nav a { padding: 0 14px; font-size: 11px; }
    main.page-content .payment-shell .deposit-header { margin-top: 22px; margin-bottom: 17px; }
    main.page-content .payment-shell .deposit-header h1 { font-size: 22px; }
    main.page-content .payment-shell .qris-simple-card-head,
    main.page-content .payment-shell .withdraw-card-head,
    main.page-content .payment-shell .payment-head { padding: 15px 16px; }
    main.page-content .payment-shell #qrisSimpleForm,
    main.page-content .payment-shell #withdrawForm { padding: 16px; }
    main.page-content .payment-shell .category,
    main.page-content .payment-shell .amount-box { padding: 16px; }
    main.page-content .payment-shell .credit-debit-summary,
    main.page-content .payment-shell .transaction-columns { width: 100%; }
}

@media (max-width: 520px) {
    main.page-content .payment-shell .credit-debit-summary { grid-template-columns: 1fr; }
}

.register-modal-overlay { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
.register-modal { position: fixed; top: 50%; left: 50%; z-index: 91; display: none; width: min(520px, calc(100% - 28px)); max-height: min(720px, calc(100vh - 30px)); overflow-y: auto; color: var(--text); background: #0b1220; border: 1px solid var(--line-bright); border-radius: 10px; box-shadow: 0 20px 80px rgba(0,0,0,.55); transform: translate(-50%, -48%); }
.register-modal.is-open, .register-modal-overlay.is-open { display: block; }
.register-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.register-modal-title { margin: 0; color: var(--gold-bright); font-size: 16px; }
.register-modal-close { border: 0; color: var(--muted); background: transparent; }
.register-steps { display: flex; align-items: center; padding: 16px 20px; }
.step-item { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.step-item.active { color: var(--gold); }
.step-circle { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line-bright); border-radius: 50%; }
.step-item.active .step-circle { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.step-divider { width: 50px; height: 1px; margin: 0 10px; background: var(--line-bright); }
.register-modal-body { padding: 0 20px 22px; }
.register-step-content { display: none; }
.register-step-content.active { display: block; }
.form-group-modern { margin: 0 0 13px; }
.form-label-modern { display: block; margin-bottom: 6px; color: #bdc8d9; font-size: 11px; font-weight: 700; }
.form-label-modern i { margin-right: 5px; color: var(--blue); }
.form-input-modern, .form-select-modern { width: 100%; min-height: 39px; padding: 0 11px; color: var(--text); background: #080e1a; border: 1px solid var(--line); border-radius: 6px; outline: 0; font-size: 12px; }
.form-input-modern:focus, .form-select-modern:focus { border-color: var(--blue); }
.form-input-modern.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, .12); }
.form-input-modern.is-valid { border-color: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, .12); }
.form-hint.text-danger { color: #f87171 !important; }
.form-hint.text-success { color: #4ade80 !important; }
.form-hint { color: var(--muted); font-size: 9px; }
.password-input-wrapper { position: relative; }
.password-input-wrapper .form-input-modern { padding-right: 40px; }
.password-toggle { position: absolute; top: 0; right: 0; width: 38px; height: 39px; border: 0; color: var(--muted); background: transparent; }
.payment-type-tabs { display: flex; gap: 7px; }
.payment-tab { flex: 1; min-height: 35px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 5px; font-size: 11px; }
.payment-tab.active { color: var(--gold); border-color: var(--gold); }
.btn-register-next, .btn-register-submit { width: 100%; min-height: 40px; margin-top: 8px; color: var(--ink); background: var(--gold); border: 0; border-radius: 6px; font-size: 11px; font-weight: 800; }
.register-step-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.btn-register-back { min-height: 40px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; }
.form-check-modern { display: flex; gap: 8px; margin: 13px 0; color: var(--muted); font-size: 10px; }
.form-check-modern a { color: var(--blue); }
body.modal-open, body.menu-open { overflow: hidden; }

.login-modal-overlay { position: fixed; inset: 0; z-index: 90; display: none; background: rgba(0, 3, 10, .76); backdrop-filter: blur(7px); }
.login-modal-overlay.is-open { display: block; }
.login-modal { position: fixed; top: 50%; left: 50%; z-index: 91; width: min(420px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; color: var(--text); background: radial-gradient(circle at 85% 0%, rgba(155,112,255,.22), transparent 34%), linear-gradient(155deg, #0b2038, #050d19 72%); border: 1px solid rgba(61,155,255,.48); border-radius: 10px; box-shadow: 0 24px 90px rgba(0,0,0,.62), 0 0 0 1px rgba(244,196,91,.06); transform: translate(-50%, -48%) scale(.98); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.login-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.login-modal[hidden] { display: block; }
.login-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid rgba(61,155,255,.2); }
.login-modal-brand { display: flex; align-items: center; gap: 9px; color: var(--gold-bright); letter-spacing: .1em; font-size: 14px; }
.login-modal-mark { display: grid; place-items: center; width: 29px; height: 29px; color: var(--ink); background: linear-gradient(135deg, #fff0ad, var(--gold)); border-radius: 6px; font-size: 14px; }
.login-modal-close { display: grid; place-items: center; width: 32px; height: 32px; color: #aabbd0; background: transparent; border: 1px solid transparent; border-radius: 6px; }
.login-modal-close:hover { color: var(--gold); border-color: rgba(244,196,91,.45); }
.login-modal-body { padding: 21px 22px 23px; }
.login-modal-body h2 { margin: 5px 0 3px; color: #f7f9fc; font-size: 21px; line-height: 1.15; }
.login-modal-subtitle { margin: 0 0 19px; color: var(--muted); font-size: 11px; }
.login-modal-error { margin: 0 0 13px; padding: 9px 10px; color: #ffadb5; background: rgba(255,80,100,.1); border: 1px solid rgba(255,100,120,.3); border-radius: 6px; font-size: 11px; }
.login-field { margin-bottom: 13px; }
.login-field label { display: block; margin-bottom: 6px; color: #c6d2e1; font-size: 11px; font-weight: 700; }
.login-input-wrap { position: relative; display: flex; align-items: center; min-height: 42px; color: var(--blue); background: rgba(3,10,19,.72); border: 1px solid rgba(61,155,255,.3); border-radius: 6px; }
.login-input-wrap:focus-within { border-color: rgba(244,196,91,.72); box-shadow: 0 0 0 3px rgba(244,196,91,.08); }
.login-input-wrap > i { width: 37px; text-align: center; font-size: 14px; }
.login-input-wrap input { width: 100%; min-width: 0; height: 40px; padding: 0 10px 0 0; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 12px; }
.login-input-wrap input::placeholder { color: #71879d; }
.login-password-toggle { display: grid; place-items: center; flex: 0 0 38px; height: 40px; color: #8395aa; background: transparent; border: 0; }
.login-password-toggle:hover { color: var(--gold); }
.login-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; margin-top: 18px; color: var(--ink); background: linear-gradient(180deg, #ffe79a, #e9af36); border: 1px solid var(--gold); border-radius: 6px; font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.login-submit:hover { background: linear-gradient(180deg, #fff0b5, #f4c45b); }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-submit-loading i { display: inline-block; margin-right: 6px; animation: login-spin .8s linear infinite; }
.login-modal-register { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.login-modal-register button { padding: 0; color: var(--gold); background: transparent; border: 0; font-weight: 800; }
.login-modal-register button:hover { color: var(--gold-bright); }
@keyframes login-spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
    .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .hero-art { right: 7%; }
}
@media (max-width: 900px) {
    :root { --sidebar-width: 0px; }
    .site-sidebar { width: 260px; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 15px 0 45px rgba(0,0,0,.3); }
    .site-sidebar.is-open { transform: translateX(0); }
    .sidebar-close { display: block; position: absolute; top: 22px; right: 16px; }
    .sidebar-overlay { position: fixed; inset: 0; z-index: 45; display: none; background: rgba(0,0,0,.65); }
    .sidebar-overlay.is-visible { display: block; }
    .site-header { padding: 0 18px; }
    .mobile-menu-button { display: grid; place-items: center; width: 32px; height: 32px; font-size: 21px; }
    .mobile-brand { display: block; }
    .global-search { width: min(330px, 45vw); }
    .page-content { padding: 20px 18px 75px; }
    .site-footer { padding: 0 18px 80px; }
    .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 44; display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px 7px max(7px, env(safe-area-inset-bottom)); background: rgba(8,13,25,.97); border-top: 1px solid var(--line); }
    .mobile-bottom-nav a, .mobile-bottom-nav button { display: grid; place-items: center; gap: 2px; color: var(--muted); background: transparent; border: 0; font-size: 10px; }
    .mobile-bottom-nav .mobile-account-trigger { display: grid !important; visibility: visible !important; opacity: 1 !important; }
    .mobile-bottom-nav i { font-size: 17px; }
    .mobile-bottom-nav .is-active, .mobile-bottom-nav a:hover, .mobile-bottom-nav button:hover { color: var(--gold); }
}
@media (max-width: 650px) {
    .site-header { gap: 8px; }
    .header-left { min-width: 0; gap: 7px; }
    .header-actions { gap: 7px; }
    .header-login { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 8px; color: #f4c45b; font-size: 11px; white-space: nowrap; }
    .balance-pill { padding: 4px 7px; }
    .balance-pill strong { max-width: 82px; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
    .global-search { flex: 1; width: auto; }
    .global-search input { min-width: 0; }
    .search-key { display: none; }
    .ticker-bar { padding: 0 18px; }
    .lobby-hero { min-height: 300px; padding: 25px 20px; align-items: flex-start; }
    .lobby-hero h1 { font-size: 30px; }
    .hero-art { right: 0; bottom: 6px; top: auto; width: 130px; height: 130px; transform: rotate(-10deg); font-size: 58px; opacity: .6; }
    .hero-orbit-one { width: 130px; height: 55px; }
    .hero-orbit-two { width: 160px; height: 70px; }
    .hero-banner-strip { right: 20px; bottom: 17px; left: 20px; width: auto; }
    .hero-copy { max-width: 100%; }
    .hero-copy p { max-width: 245px; }
    .section-heading h2 { font-size: 18px; }
    .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .jackpot-strip { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
    .jackpot-stat { display: none; }
    .game-rail .game-card { flex-basis: 132px; }
    .promo-band, .activity-row { grid-template-columns: 1fr; }
    .promo-band { padding: 21px 18px; }
    .promo-copy h2 { font-size: 20px; }
    .promo-mini-grid { margin-top: 8px; }
    .activity-panel { padding: 14px; }
}
@media (max-width: 420px) {
    .mobile-brand { display: none; }
    .button-small { padding: 0 9px; }
    .global-search { height: 34px; }
    .page-content { padding-right: 13px; padding-left: 13px; }
.page-content .deposit-page-wrapper,
.page-content .withdraw-page-wrapper {
    min-height: auto;
    padding: 16px 0 26px;
    background: transparent;
}
.page-content .deposit-page-wrapper .deposit-page,
.page-content .withdraw-page-wrapper .withdraw-page {
    width: min(1080px, calc(100% - 28px));
}
.page-content .deposit-page-wrapper .deposit-account,
.page-content .withdraw-page-wrapper .deposit-account {
    height: 44px;
    background: linear-gradient(180deg, #07192b, #040b16);
    border-color: rgba(61,155,255,.28);
    border-radius: 7px 7px 0 0;
}
.page-content .deposit-page-wrapper .deposit-nav,
.page-content .withdraw-page-wrapper .deposit-nav {
    height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #050f1c;
    border-color: rgba(61,155,255,.28);
    border-top: 0;
    border-radius: 0 0 7px 7px;
}
.page-content .deposit-page-wrapper .deposit-nav::-webkit-scrollbar,
.page-content .withdraw-page-wrapper .deposit-nav::-webkit-scrollbar { display: none; }
.page-content .deposit-page-wrapper .deposit-nav a,
.page-content .withdraw-page-wrapper .deposit-nav a {
    flex: 0 0 auto;
    padding: 0 17px;
    color: #aebed1;
    border-right-color: rgba(61,155,255,.14);
    font-size: 11px;
    white-space: nowrap;
}
.page-content .deposit-page-wrapper .deposit-nav a:hover,
.page-content .deposit-page-wrapper .deposit-nav a.active,
.page-content .withdraw-page-wrapper .deposit-nav a:hover,
.page-content .withdraw-page-wrapper .deposit-nav a.active {
    color: var(--gold-bright);
    background: linear-gradient(180deg, rgba(244,196,91,.16), rgba(61,155,255,.08));
    box-shadow: inset 0 -2px 0 var(--gold);
}
.page-content .deposit-page-wrapper .deposit-header,
.page-content .withdraw-page-wrapper .deposit-header {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 0 3px 12px;
    border-bottom-color: rgba(61,155,255,.18);
}
.page-content .deposit-page-wrapper .deposit-header h1,
.page-content .withdraw-page-wrapper .deposit-header h1 { font-size: 20px; }
.page-content .deposit-page-wrapper .deposit-header p,
.page-content .withdraw-page-wrapper .deposit-header p { color: #8295aa; }
.page-content .deposit-page-wrapper .payment-box,
.page-content .deposit-page-wrapper .qris-simple-card,
.page-content .withdraw-page-wrapper .withdraw-card,
.page-content .history-page-wrapper .transaction-panel,
.page-content .history-page-wrapper .summary-card {
    border-color: rgba(61,155,255,.25);
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(0,0,0,.18);
}
.page-content .deposit-page-wrapper .payment-head,
.page-content .deposit-page-wrapper .qris-simple-card-head,
.page-content .withdraw-page-wrapper .withdraw-card-head {
    border-bottom-color: rgba(61,155,255,.18);
}
.page-content .deposit-page-wrapper .continue,
.page-content .deposit-page-wrapper .qris-simple-submit,
.page-content .withdraw-page-wrapper .qris-simple-submit {
    color: var(--ink);
    background: linear-gradient(180deg, #ffe79a, #e9af36);
    border: 1px solid var(--gold);
    border-radius: 6px;
}
.page-content .deposit-page-wrapper .continue:hover:not(:disabled),
.page-content .deposit-page-wrapper .qris-simple-submit:hover,
.page-content .withdraw-page-wrapper .qris-simple-submit:hover { background: linear-gradient(180deg, #fff0b5, #f4c45b); }

@media (max-width: 700px) {
    .page-content .deposit-page-wrapper,
    .page-content .withdraw-page-wrapper { padding: 10px 0 20px; }
    .page-content .deposit-page-wrapper .deposit-page,
    .page-content .withdraw-page-wrapper .withdraw-page { width: calc(100% - 16px); }
    .page-content .deposit-page-wrapper .deposit-nav,
    .page-content .withdraw-page-wrapper .deposit-nav { border-radius: 0 0 6px 6px; }
    .page-content .deposit-page-wrapper .deposit-nav a,
    .page-content .withdraw-page-wrapper .deposit-nav a { padding: 0 13px; }
}
    .lobby-hero { margin: 0 -1px; }
    .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .game-card-meta { padding: 7px; }
    .game-card-meta strong { font-size: 10px; }
    .game-card-meta small { font-size: 8px; }
}

/* Reference UI: compact casino lobby */
:root { --sidebar-width: 230px; --header-height: 52px; --reference-bg: #030914; --reference-panel: #061322; --reference-blue: #08b7ee; }
body { background: var(--reference-bg); font-family: "Segoe UI", Arial, sans-serif; }
body::before { opacity: .12; background-size: 42px 42px; }
.site-sidebar { background: linear-gradient(180deg, #041120 0%, #020914 100%); }
.sidebar-brand { padding: 16px 16px 13px; }
.brand-mark { width: 34px; height: 34px; border-radius: 6px; box-shadow: none; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { font-size: 6px; }
.sidebar-nav { padding: 12px 10px; }
.nav-caption { padding: 0 9px 5px; font-size: 8px; }
.nav-caption-spaced { margin-top: 10px; }
.sidebar-link { min-height: 33px; gap: 10px; margin: 2px 0; padding: 0 11px; border-radius: 6px; font-size: 11px; }
.sidebar-link i { width: 16px; font-size: 14px; }
.sidebar-link:hover, .sidebar-link.is-active { background: linear-gradient(90deg, #163b60 0%, #0a2036 62%, #071321 100%); border-color: rgba(244,196,91,.42); box-shadow: inset 2px 0 0 var(--gold); }
.sidebar-footer { padding: 12px 10px; }
.sidebar-cta { padding: 10px 5px; border-radius: 5px; font-size: 10px; }
.site-header { height: var(--header-height); padding: 0 14px; background: linear-gradient(180deg, #061221, #020914); border-bottom-color: rgba(8,183,238,.32); }
.header-left, .header-actions { gap: 10px; }
.global-search { width: min(300px, 36vw); height: 28px; padding: 0 9px; border-radius: 4px; background: #071a2b; border-color: rgba(8,183,238,.28); font-size: 10px; }
.global-search input { font-size: 10px; }
.header-utility { display: inline-flex; align-items: center; gap: 4px; color: #d4e3f2; font-size: 9px; }
.header-utility i { color: var(--gold); }
.header-icon-button { width: 27px; height: 27px; border-radius: 4px; }
.header-deposit { min-height: 27px; padding: 0 10px; font-size: 9px; border-radius: 4px; }
.balance-pill { padding: 3px 7px; border-radius: 4px; }
.balance-pill > i { font-size: 13px; }
.balance-pill small { font-size: 7px; }
.balance-pill strong { font-size: 10px; }
.ticker-bar { min-height: 24px; padding: 0 14px; font-size: 9px; }
.ticker-home { display: none; }
.page-content { width: min(1260px, calc(100% - 36px)); margin: 0 auto; padding: 11px 0 28px; }
.site-footer { padding: 0 14px 16px; font-size: 9px; }

.reference-hero { display: grid; grid-template-columns: minmax(0, 3.25fr) minmax(205px, 1fr); gap: 6px; height: 174px; }
.reference-slider, .welcome-card { overflow: hidden; border: 1px solid rgba(8,183,238,.45); border-radius: 5px; background: #061425; }
.reference-slider { position: relative; }
.reference-slider-track { display: flex; height: 100%; transition: transform .35s ease; }
.reference-slide { min-width: 100%; height: 100%; }
.reference-slide a, .reference-slide img { width: 100%; height: 100%; display: block; }
.reference-slide img { object-fit: cover; }
.reference-empty-hero { display: grid; align-content: center; gap: 3px; height: 100%; padding: 0 28px; background: linear-gradient(105deg, #123d5b, #0d1e39 60%, #34205e); }
.reference-empty-hero i { color: var(--gold); font-size: 19px; }
.reference-empty-hero span { color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.reference-empty-hero strong { font-size: 22px; }
.welcome-card { position: relative; display: grid; align-content: center; gap: 1px; padding: 12px 14px; background: radial-gradient(circle at 85% 18%, rgba(155,112,255,.4), transparent 32%), linear-gradient(135deg, #101e46, #11102e); }
.welcome-card::after { content: ""; position: absolute; right: -15px; bottom: -28px; width: 82px; height: 82px; border: 1px solid rgba(244,196,91,.5); border-radius: 50%; box-shadow: 0 0 0 11px rgba(244,196,91,.05), 0 0 0 22px rgba(244,196,91,.04); }
.welcome-icon { position: absolute; top: 8px; right: 12px; color: var(--gold); font-size: 21px; }
.welcome-card .section-kicker { font-size: 8px; }
.welcome-card > strong { color: var(--gold-bright); font-size: 22px; line-height: 1; }
.welcome-card > small { color: white; font-size: 8px; font-weight: 700; }
.welcome-card p { margin: 1px 0 6px; color: #9cafc4; font-size: 8px; }
.welcome-card .button-gold { position: relative; z-index: 1; width: max-content; min-height: 23px; font-size: 8px; }
.category-panel { margin-top: 6px; padding: 4px; background: linear-gradient(180deg, #082036, #051321); border: 1px solid rgba(8,183,238,.36); border-radius: 5px; }
.reference-categories { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; overflow: visible; }
.reference-category { display: grid; place-items: center; gap: 4px; min-width: 0; min-height: 61px; color: #c7d5e5; border: 1px solid transparent; border-radius: 5px; font-size: 10px; }
.reference-category i { color: var(--reference-blue); font-size: 22px; }
.reference-category:hover, .reference-category.is-active { color: var(--gold); background: linear-gradient(180deg, #153f5f, #071b2d); border-color: var(--gold); }
.reference-category.is-active i { color: var(--gold); }

.reference-section { margin-top: 11px; }
.reference-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.reference-heading > div:first-child { flex: 1; min-width: 0; }
.reference-heading h2 { margin: 0; color: #f6f8fb; font-size: 14px; line-height: 1.15; font-weight: 700; }
.reference-heading h2 i { color: var(--gold); margin-right: 4px; }
.reference-heading p { margin: 1px 0 0; color: #71879d; font-size: 8px; }
.reference-more { color: var(--gold); font-size: 8px; white-space: nowrap; }
.reference-arrows { display: flex; gap: 3px; }
.reference-arrows button { display: grid; place-items: center; width: 23px; height: 23px; color: #b8cada; background: #071a2b; border: 1px solid rgba(8,183,238,.35); border-radius: 3px; }
.reference-arrows button:hover { color: var(--gold); border-color: var(--gold); }
.reference-game-rail, .reference-provider-rail { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.reference-game-rail::-webkit-scrollbar, .reference-provider-rail::-webkit-scrollbar { display: none; }
.reference-game-card { flex: 0 0 calc((100% - 30px) / 6); min-width: 0; overflow: hidden; background: linear-gradient(180deg, #0a1c2d, #04101d); border: 1px solid rgba(8,183,238,.35); border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.18); transition: border-color .16s ease, transform .16s ease; }
.reference-game-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.reference-game-cover { position: relative; aspect-ratio: 1 / .72; overflow: hidden; background: #081321; }
.reference-game-cover img { width: 100%; height: 100%; object-fit: cover; }
.reference-game-card .game-badge { top: 4px; left: 4px; padding: 2px 4px; font-size: 7px; border-radius: 2px; }
.reference-heart { position: absolute; right: 5px; bottom: 4px; color: white; font-size: 10px; text-shadow: 0 1px 3px #000; }
.reference-game-meta { display: grid; gap: 1px; min-height: 29px; padding: 4px 5px; }
.reference-game-meta strong { overflow: hidden; color: #edf3f8; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.reference-game-meta small { overflow: hidden; color: #7892a7; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.reference-provider { flex: 0 0 calc((100% - 49px) / 8); display: grid; place-items: center; align-content: center; gap: 4px; height: 58px; background: linear-gradient(180deg, #0a2133, #061321); border: 1px solid rgba(8,183,238,.3); border-radius: 4px; box-shadow: 0 3px 10px rgba(0,0,0,.16); }
.reference-provider:hover { border-color: var(--gold); }
.reference-provider img { width: 66px; height: 20px; object-fit: contain; }
.reference-provider .provider-fallback { width: 66px; height: 20px; margin: 0; font-size: 8px; }
.reference-provider strong { overflow: hidden; max-width: 90px; color: #d3e0ea; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.reference-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.reference-promo { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 58px; overflow: hidden; padding: 8px 13px; color: white; border: 1px solid rgba(244,196,91,.4); border-radius: 4px; background-position: center; background-size: cover; box-shadow: 0 4px 13px rgba(0,0,0,.2); }
.reference-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent, rgba(255,255,255,.06)); pointer-events: none; }
.promo-cashback { background-image: linear-gradient(90deg, rgba(38,18,5,.94), rgba(112,52,8,.62)), var(--promo-image); }
.promo-tournament { background-image: linear-gradient(90deg, rgba(7,26,53,.94), rgba(15,84,123,.62)), var(--promo-image); }
.promo-vip { background: linear-gradient(110deg, #27143e, #a16b14 55%, #39200a); }
.reference-promo span { position: relative; z-index: 1; display: grid; gap: 0; }
.reference-promo small { font-size: 7px; }
.reference-promo strong { color: var(--gold-bright); font-size: 15px; line-height: 1; }
.reference-promo em { color: #d6dce4; font-size: 7px; font-style: normal; }
.reference-promo > i { position: relative; z-index: 1; color: rgba(255,220,125,.9); font-size: 29px; }
.reference-game-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.reference-game-grid .reference-game-card { width: auto; }
.lobby-games { margin-top: 14px; }
.reference-footer { display: flex; align-items: center; gap: 22px; margin-top: 14px; padding: 9px 0 0; color: #8295a7; border-top: 1px solid rgba(8,183,238,.22); font-size: 8px; }
.reference-footer > span { color: var(--gold); font-weight: 800; font-size: 13px; }
.reference-footer div { display: flex; gap: 13px; flex: 1; }
.reference-footer a:hover { color: var(--gold); }
.reference-footer small { white-space: nowrap; }

@media (max-width: 1180px) {
    .reference-game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    :root { --sidebar-width: 0px; }
    .page-content { width: calc(100% - 36px); }
    .reference-game-card { flex-basis: 180px; }
    .reference-provider { flex-basis: 138px; }
    .reference-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .header-utility { display: none; }
    .reference-hero { height: 132px; grid-template-columns: minmax(0, 2.1fr) minmax(125px, 1fr); }
    .reference-empty-hero { padding: 0 13px; }
    .reference-empty-hero strong { font-size: 16px; }
    .welcome-card { padding: 9px; }
    .welcome-card > strong { font-size: 17px; }
    .reference-categories { display: flex; grid-template-columns: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .reference-categories::-webkit-scrollbar { display: none; }
    .reference-categories .reference-category { flex: 0 0 78px; }
    .reference-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
    .page-content { width: calc(100% - 24px); }
    .reference-game-card { flex-basis: 116px; }
    .reference-provider { flex-basis: 122px; }
    .reference-promo-grid { grid-template-columns: 1fr; }
    .reference-promo { min-height: 46px; }
    .reference-footer { display: grid; gap: 6px; }
    .reference-footer div { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 420px) {
    .reference-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .reference-game-card { flex-basis: 105px; }
    .reference-heading h2 { font-size: 12px; }
    .reference-heading p { display: none; }
}

/* Final visual refinement */
body { background: radial-gradient(circle at 74% 8%, rgba(16, 56, 88, .28), transparent 34%), linear-gradient(135deg, #020711 0%, #061222 52%, #030811 100%); }
.site-shell { background: linear-gradient(180deg, rgba(4, 16, 29, .35), rgba(2, 7, 15, .08)); }
.site-sidebar { background: linear-gradient(180deg, rgba(5, 20, 35, .98), rgba(2, 9, 18, .98)); border-right-color: rgba(61,155,255,.22); }
.sidebar-brand { padding: 15px 16px 14px; background: linear-gradient(135deg, rgba(14, 46, 73, .65), rgba(4, 14, 26, .35)); border-bottom-color: rgba(61,155,255,.25); }
.brand-mark { color: #111018; background: linear-gradient(135deg, #fff0ad 0%, var(--gold) 62%, #ce8e24 100%); }
.brand-copy strong { color: #fff0ad; text-shadow: 0 1px 10px rgba(244,196,91,.18); }
.sidebar-link { color: #bcc9d8; border-radius: 5px; }
.sidebar-link.is-active { color: #fff4c7; background: linear-gradient(90deg, rgba(244,196,91,.3), rgba(31,105,155,.28) 60%, rgba(7,22,38,.2)); border-color: rgba(244,196,91,.58); box-shadow: inset 3px 0 0 var(--gold), 0 0 10px rgba(61,155,255,.08); }
.sidebar-link.is-active i { color: var(--gold-bright); }
.site-header { background: linear-gradient(180deg, rgba(6,19,34,.97), rgba(2,9,18,.96)); border-bottom-color: rgba(61,155,255,.27); }
.global-search { background: linear-gradient(180deg, #0a2237, #071726); border-color: rgba(61,155,255,.42); box-shadow: inset 0 1px rgba(255,255,255,.03); }
.global-search:focus-within { border-color: rgba(244,196,91,.65); box-shadow: 0 0 0 2px rgba(244,196,91,.08); }
.button-gold { background: linear-gradient(180deg, #ffe79a, #e9af36); border-color: #f4c45b; box-shadow: inset 0 1px rgba(255,255,255,.4); }
.button-gold:hover { background: linear-gradient(180deg, #fff0b5, #f4c45b); }
.reference-hero { height: 178px; }
.reference-slider { background: #071a2d; border-color: rgba(61,155,255,.5); box-shadow: 0 7px 18px rgba(0,0,0,.23); }
.reference-slide img { filter: saturate(1.06) contrast(1.05); }
.welcome-card { background: radial-gradient(circle at 78% 12%, rgba(155,112,255,.42), transparent 34%), linear-gradient(135deg, #122b55 0%, #11183a 58%, #2a1645 100%); border-color: rgba(61,155,255,.55); box-shadow: 0 7px 18px rgba(0,0,0,.2); }
.category-panel { background: linear-gradient(180deg, #0a263d, #061525); border-color: rgba(61,155,255,.45); box-shadow: inset 0 1px rgba(255,255,255,.03); }
.reference-category { background: linear-gradient(180deg, rgba(13,43,67,.55), rgba(5,19,32,.5)); border-color: rgba(61,155,255,.14); }
.reference-category:hover, .reference-category.is-active { color: #fff0ad; background: linear-gradient(180deg, #70501b, #263653 70%, #0a1b2c); border-color: var(--gold); box-shadow: inset 0 1px rgba(255,255,255,.16); }
.reference-heading { margin-bottom: 6px; }
.reference-heading h2 { letter-spacing: .01em; }
.reference-heading h2 i { color: var(--gold-bright); }
.reference-game-card { background: linear-gradient(180deg, #0c2439 0%, #061321 74%, #040d18 100%); border-color: rgba(61,155,255,.42); box-shadow: 0 5px 14px rgba(0,0,0,.24); }
.reference-game-card:hover { border-color: rgba(244,196,91,.8); box-shadow: 0 7px 16px rgba(0,0,0,.3); }
.reference-game-cover { background: #061321; }
.reference-game-cover img { filter: saturate(1.04) contrast(1.03); }
.reference-game-card .game-badge { color: #fff; background: linear-gradient(180deg, #ff5d69, #c9283b); box-shadow: 0 1px 4px rgba(0,0,0,.28); }
.reference-game-card .game-badge.badge-new { background: linear-gradient(180deg, #36d9ac, #159b91); }
.reference-heart { color: #d9e4ed; }
.reference-provider { background: linear-gradient(180deg, #0c2a40, #061522); border-color: rgba(61,155,255,.38); }
.reference-provider:hover { background: linear-gradient(180deg, #123a53, #091c2d); border-color: var(--gold); }
.reference-promo { box-shadow: 0 5px 14px rgba(0,0,0,.25); }
.promo-vip { background: linear-gradient(105deg, #24113d, #704c12 55%, #28130e); }
.site-footer-home { display: none; }

/* Final reference proportions */
:root { --sidebar-width: 230px; --header-height: 60px; }
.page-content { width: min(1280px, calc(100% - 36px)); }
.reference-hero { height: 198px; }
.reference-promo { min-height: 64px; }

@media (max-width: 900px) {
    :root { --sidebar-width: 0px; }
    .site-shell { margin-left: 0; }
    .page-content { width: calc(100% - 36px); }
}

@media (min-width: 651px) and (max-width: 900px) {
    .site-header { gap: 12px; padding-inline: 16px; }
}

@media (max-width: 650px) {
    .page-content { width: calc(100% - 24px); }
    .reference-hero { height: 132px; }
    .reference-promo { min-height: 46px; }
}

/* All Games catalog */
.all-games-page { min-width: 0; }
.all-games-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 2px 0 13px; padding-bottom: 11px; border-bottom: 1px solid rgba(61,155,255,.2); }
.all-games-header h1 { margin: 4px 0 2px; color: var(--text); font-size: 25px; line-height: 1.1; letter-spacing: .01em; }
.all-games-header h1 i { margin-right: 5px; color: var(--gold); font-size: 21px; }
.all-games-header p { margin: 0; color: var(--muted); font-size: 11px; }
.all-games-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.all-games-search { display: flex; align-items: center; flex: 1 1 260px; gap: 9px; height: 36px; padding: 0 11px; color: #7590a8; background: linear-gradient(180deg, #0a2237, #071726); border: 1px solid rgba(61,155,255,.35); border-radius: 5px; }
.all-games-search:focus-within { border-color: rgba(244,196,91,.65); box-shadow: 0 0 0 2px rgba(244,196,91,.07); }
.all-games-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 11px; }
.all-games-search input::placeholder { color: #71879d; }
.all-games-filters { display: flex; flex: 0 0 auto; gap: 4px; }
.all-games-filter { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 9px; color: #aabbd0; background: linear-gradient(180deg, #0a2133, #061522); border: 1px solid rgba(61,155,255,.28); border-radius: 5px; font-size: 10px; white-space: nowrap; }
.all-games-filter i { color: var(--reference-blue); }
.all-games-filter b { min-width: 16px; color: #7790a7; font-size: 8px; font-weight: 600; }
.all-games-filter:hover, .all-games-filter.is-active { color: #fff0ad; background: linear-gradient(180deg, #70501b, #172d42); border-color: var(--gold); }
.all-games-filter.is-active i, .all-games-filter.is-active b { color: var(--gold-bright); }
.all-games-categories { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; overflow: hidden; margin-bottom: 13px; padding: 4px; background: linear-gradient(180deg, #082036, #051321); border: 1px solid rgba(61,155,255,.35); border-radius: 5px; }
.all-games-categories .reference-category { min-height: 52px; padding: 4px; background: linear-gradient(180deg, rgba(13,43,67,.55), rgba(5,19,32,.5)); border-color: rgba(61,155,255,.14); cursor: pointer; }
.all-games-categories .reference-category i { font-size: 19px; }
.all-games-categories .reference-category.is-active, .all-games-categories .reference-category:hover { color: #fff0ad; background: linear-gradient(180deg, #70501b, #263653 70%, #0a1b2c); border-color: var(--gold); }
.all-games-categories .reference-category.is-active i, .all-games-categories .reference-category:hover i { color: var(--gold); }
.all-games-providers, .all-games-results { min-width: 0; }
.all-games-subheading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.all-games-subheading h2 { margin: 2px 0 0; color: var(--text); font-size: 15px; line-height: 1.1; }
.all-games-subheading .section-kicker { font-size: 8px; }
.all-games-providers .reference-provider-rail { gap: 6px; padding-bottom: 2px; }
.all-games-providers .reference-provider { flex: 0 0 calc((100% - 49px) / 8); height: 58px; }
.all-games-providers .reference-provider.is-selected { border-color: var(--gold); background: linear-gradient(180deg, #70501b, #172d43); }
.all-games-providers .reference-provider.is-selected > i { color: var(--gold); font-size: 18px; }
.all-games-results { margin-top: 14px; }
.all-games-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.all-games-grid .all-games-card { width: auto; min-width: 0; }
.all-games-grid .reference-game-cover { aspect-ratio: 1 / .78; }
.all-games-grid .reference-game-meta { min-height: 42px; padding: 6px 7px; }
.all-games-grid .reference-game-meta strong { font-size: 10px; }
.all-games-grid .reference-game-meta small { font-size: 8px; }
.all-games-pagination { display: flex; justify-content: center; margin-top: 18px; }
.all-games-pagination nav { max-width: 100%; overflow: hidden; }
.all-games-pagination ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.all-games-pagination li { display: block; }
.all-games-pagination a, .all-games-pagination span { display: grid; place-items: center; min-width: 29px; height: 29px; padding: 0 8px; color: #aabbd0; background: #071a2b; border: 1px solid rgba(61,155,255,.28); border-radius: 4px; font-size: 10px; text-decoration: none; }
.all-games-pagination a:hover, .all-games-pagination .active span { color: #fff0ad; background: linear-gradient(180deg, #70501b, #263653); border-color: var(--gold); }
.all-games-empty { display: grid; place-items: center; gap: 5px; min-height: 120px; color: var(--muted); text-align: center; }
.all-games-empty i { color: var(--blue); font-size: 22px; }
.all-games-empty p { margin: 0; font-size: 11px; }

@media (max-width: 1180px) {
    .all-games-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .all-games-providers .reference-provider { flex-basis: 138px; }
}
@media (max-width: 900px) {
    .all-games-toolbar { align-items: stretch; flex-direction: column; }
    .all-games-search { flex-basis: auto; }
    .all-games-filters { overflow-x: auto; }
    .all-games-filter { flex: 1 0 auto; justify-content: center; }
    .all-games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .all-games-categories { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .all-games-header { align-items: start; flex-direction: column; gap: 5px; }
    .all-games-header h1 { font-size: 21px; }
    .all-games-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .all-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .all-games-grid .reference-game-cover { aspect-ratio: 1 / .82; }
    .all-games-providers .reference-provider { flex-basis: 122px; }
}
@media (max-width: 420px) {
    .all-games-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .all-games-filter { padding: 0 8px; }
}

/* All Games final visual scale, intentionally scoped away from homepage */
.all-games-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.all-games-grid .all-games-card { min-width: 0; }
.all-games-grid .reference-game-cover { aspect-ratio: 1 / .68; }
.all-games-grid .reference-game-meta { min-height: 40px; padding: 6px 7px 7px; gap: 2px; }
.all-games-grid .reference-game-meta strong { font-size: 11px; line-height: 1.2; font-weight: 650; }
.all-games-grid .reference-game-meta small { font-size: 9px; line-height: 1.2; }
.all-games-grid .reference-game-card .game-badge { font-size: 8px; }
.all-games-categories { grid-template-columns: repeat(9, minmax(0, 1fr)); height: 58px; min-height: 58px; padding: 3px; }
.all-games-categories .reference-category { height: 50px; min-height: 0; }

@media (min-width: 1200px) {
    .all-games-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .all-games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 991px) {
    .all-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
.page-content .deposit-page-wrapper .qris-simple-card,
.page-content .deposit-page-wrapper .payment-box,
.page-content .withdraw-page-wrapper .withdraw-card {
    background: linear-gradient(180deg, #0a1b2d, #050d19 78%);
}
.page-content .deposit-page-wrapper .qris-simple-card-head strong,
.page-content .deposit-page-wrapper .payment-head strong,
.page-content .withdraw-page-wrapper .withdraw-card-head strong { font-size: 13px; }
.page-content .deposit-page-wrapper .qris-simple-card-head span { color: var(--green); }
.page-content .deposit-page-wrapper #qrisSimpleForm,
.page-content .deposit-page-wrapper .category,
.page-content .deposit-page-wrapper .amount-box,
.page-content .withdraw-page-wrapper #withdrawForm { padding: 16px; }
.page-content .deposit-page-wrapper #qrisSimpleForm label,
.page-content .deposit-page-wrapper .category-label,
.page-content .deposit-page-wrapper .amount-header strong,
.page-content .withdraw-page-wrapper .withdraw-field label { color: #dce7f2; font-size: 11px; }
.page-content .deposit-page-wrapper #qrisSimpleForm input,
.page-content .deposit-page-wrapper .amount-input,
.page-content .withdraw-page-wrapper .withdraw-field input,
.page-content .withdraw-page-wrapper .withdraw-readonly {
    height: 43px;
    min-height: 43px;
    padding: 0 12px;
    background: #040c18;
    border: 1px solid rgba(61,155,255,.32);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
}
.page-content .deposit-page-wrapper #qrisSimpleForm input:focus,
.page-content .deposit-page-wrapper .amount-input:focus,
.page-content .withdraw-page-wrapper .withdraw-field input:focus { border-color: rgba(244,196,91,.72); box-shadow: 0 0 0 3px rgba(244,196,91,.08); }
.page-content .deposit-page-wrapper .qris-simple-quick,
.page-content .deposit-page-wrapper .quick { gap: 6px; margin-top: 12px; }
.page-content .deposit-page-wrapper .qris-simple-quick button,
.page-content .deposit-page-wrapper .quick button {
    height: 32px;
    padding: 0 11px;
    color: #b9c9da;
    background: #071728;
    border: 1px solid rgba(61,155,255,.28);
    border-radius: 6px;
    font-size: 10px;
}
.page-content .deposit-page-wrapper .qris-simple-quick button:hover,
.page-content .deposit-page-wrapper .quick button:hover { color: var(--gold-bright); border-color: var(--gold); background: rgba(244,196,91,.08); }
.page-content .deposit-page-wrapper .qris-simple-submit,
.page-content .deposit-page-wrapper .continue,
.page-content .withdraw-page-wrapper .qris-simple-submit { min-height: 42px; height: 42px; margin-top: 16px; }
#withdrawSubmit.qris-simple-submit { color: var(--ink); background: linear-gradient(180deg, #ffe79a, #e9af36); border: 1px solid var(--gold); border-radius: 6px; }
#withdrawSubmit.qris-simple-submit:hover { background: linear-gradient(180deg, #fff0b5, #f4c45b); }
.page-content .deposit-page-wrapper .method-row { gap: 7px; }
.page-content .deposit-page-wrapper .method { min-width: 140px; height: 46px; border-radius: 6px; background: #071728; border-color: rgba(61,155,255,.28); }
.page-content .deposit-page-wrapper .method.active { border-color: var(--gold); background: rgba(244,196,91,.08); }
.page-content .withdraw-page-wrapper .withdraw-form-grid { gap: 12px; }
.page-content .withdraw-page-wrapper .withdraw-total { margin-top: 14px; border-radius: 6px; }
.page-content .history-page-wrapper .credit-debit-summary { gap: 8px; }
.page-content .history-page-wrapper .summary-card,
.page-content .history-page-wrapper .transaction-panel { background: linear-gradient(180deg, #0a1b2d, #050d19 78%); }
.page-content .history-page-wrapper .transaction-panel { padding: 14px; }
.page-content .history-page-wrapper .section-heading h2 { font-size: 14px; }

@media (max-width: 700px) {
    .page-content .deposit-page-wrapper #qrisSimpleForm,
    .page-content .deposit-page-wrapper .category,
    .page-content .deposit-page-wrapper .amount-box,
    .page-content .withdraw-page-wrapper #withdrawForm { padding: 13px; }
    .page-content .deposit-page-wrapper .method { min-width: 128px; }
}

/* Payment design system: shared desktop, tablet, and mobile hierarchy */
.page-content .deposit-page-wrapper,
.page-content .withdraw-page-wrapper {
    position: relative;
}
.page-content .deposit-page-wrapper .deposit-page,
.page-content .withdraw-page-wrapper .withdraw-page {
    width: min(1120px, calc(100% - 32px));
}
.page-content .deposit-page-wrapper .deposit-account,
.page-content .withdraw-page-wrapper .deposit-account {
    position: relative;
    min-height: 58px;
    height: auto;
    padding: 11px 17px;
    background: linear-gradient(105deg, #081b30, #040b17 72%);
    border: 1px solid rgba(61,155,255,.3);
    border-radius: 9px 9px 0 0;
    font-size: 11px;
}
.page-content .deposit-page-wrapper .deposit-account > div,
.page-content .withdraw-page-wrapper .deposit-account > div { display: flex; align-items: center; gap: 6px; }
.page-content .deposit-page-wrapper .deposit-account > div:first-child::before,
.page-content .withdraw-page-wrapper .deposit-account > div:first-child::before { content: "\1F6E1"; color: var(--blue); font-size: 14px; }
.page-content .deposit-page-wrapper .deposit-account .right,
.page-content .withdraw-page-wrapper .deposit-account .right { color: #aabbd0; }
.page-content .deposit-page-wrapper .deposit-account .right::first-line,
.page-content .withdraw-page-wrapper .deposit-account .right::first-line { color: #cbd8e7; }
.page-content .deposit-page-wrapper .deposit-account strong,
.page-content .withdraw-page-wrapper .deposit-account strong { color: var(--gold-bright); font-size: 13px; }
.page-content .deposit-page-wrapper .deposit-nav,
.page-content .withdraw-page-wrapper .deposit-nav { min-height: 52px; height: 52px; border-radius: 0 0 9px 9px; }
.page-content .deposit-page-wrapper .deposit-nav a,
.page-content .withdraw-page-wrapper .deposit-nav a { padding: 0 22px; font-size: 12px; font-weight: 650; }
.page-content .deposit-page-wrapper .deposit-header,
.page-content .withdraw-page-wrapper .deposit-header { margin: 22px 0 18px; padding: 0 4px 14px; }
.page-content .deposit-page-wrapper .deposit-header::before,
.page-content .withdraw-page-wrapper .deposit-header::before,
.page-content .history-page-wrapper .deposit-header::before { content: "PAYMENT"; display: block; margin-bottom: 6px; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.page-content .history-page-wrapper .deposit-header::before { content: "TRANSAKSI"; }
.page-content .deposit-page-wrapper .deposit-header h1,
.page-content .withdraw-page-wrapper .deposit-header h1,
.page-content .history-page-wrapper .deposit-header h1 { font-size: 24px; font-weight: 750; letter-spacing: .01em; }
.page-content .deposit-page-wrapper .deposit-header p,
.page-content .withdraw-page-wrapper .deposit-header p,
.page-content .history-page-wrapper .deposit-header p { margin-top: 5px; font-size: 12px; }
.page-content .deposit-page-wrapper .qris-simple-card,
.page-content .deposit-page-wrapper .payment-box,
.page-content .withdraw-page-wrapper .withdraw-card { width: min(800px, 100%); margin-left: auto; margin-right: auto; border-radius: 10px; }
.page-content .deposit-page-wrapper .qris-simple-card-head,
.page-content .deposit-page-wrapper .payment-head,
.page-content .withdraw-page-wrapper .withdraw-card-head { min-height: 52px; padding: 13px 17px; background: rgba(7,24,41,.42); }
.page-content .deposit-page-wrapper .qris-simple-card-head strong,
.page-content .deposit-page-wrapper .payment-head strong,
.page-content .withdraw-page-wrapper .withdraw-card-head strong { color: #f2f6fb; font-size: 14px; }
.page-content .deposit-page-wrapper .qris-simple-card-head span,
.page-content .withdraw-page-wrapper .withdraw-card-head span { padding: 4px 8px; border: 1px solid rgba(94,226,154,.3); border-radius: 99px; font-size: 9px; }
.page-content .deposit-page-wrapper .qris-simple-quick button,
.page-content .deposit-page-wrapper .quick button { min-width: 96px; height: 34px; border-radius: 7px; font-weight: 650; }
.page-content .deposit-page-wrapper .qris-simple-submit,
.page-content .deposit-page-wrapper .continue,
.page-content .withdraw-page-wrapper .qris-simple-submit { box-shadow: 0 5px 14px rgba(244,196,91,.16); font-weight: 850; letter-spacing: .02em; }
#qrisSimpleForm .qris-simple-submit,
.page-content .deposit-page-wrapper .payment-box .continue { color: var(--ink); background: linear-gradient(180deg, #ffe79a, #e9af36); border: 1px solid var(--gold); border-radius: 6px; }
#qrisSimpleForm .qris-simple-submit:hover,
.page-content .deposit-page-wrapper .payment-box .continue:hover:not(:disabled) { background: linear-gradient(180deg, #fff0b5, #f4c45b); }
.page-content .deposit-page-wrapper .payment-box .qris-action { border-radius: 8px; background: #071728; border-color: rgba(61,155,255,.28); }
.page-content .deposit-page-wrapper .payment-box .qris-action.active { border-color: var(--gold); background: rgba(244,196,91,.08); }
.page-content .deposit-page-wrapper .payment-box .amount-box,
.page-content .deposit-page-wrapper .payment-box .action,
.page-content .deposit-page-wrapper .payment-box .info { border-radius: 8px; background: rgba(4,12,24,.72); border-color: rgba(61,155,255,.2); }
.page-content .withdraw-page-wrapper .withdraw-card { overflow: hidden; }
.page-content .withdraw-page-wrapper #withdrawForm { padding: 20px; }
.page-content .withdraw-page-wrapper .withdraw-readonly { background: #040c18; }
.page-content .history-page-wrapper .deposit-page { width: min(1120px, calc(100% - 32px)); }
.page-content .history-page-wrapper .deposit-account { min-height: 58px; height: auto; border-radius: 9px 9px 0 0; }
.page-content .history-page-wrapper .deposit-nav { min-height: 52px; height: 52px; border-radius: 0 0 9px 9px; }
.page-content .history-page-wrapper .deposit-nav a { padding: 0 22px; font-size: 12px; font-weight: 650; }
.page-content .history-page-wrapper .deposit-header { margin: 22px 0 18px; padding-bottom: 14px; }
.page-content .history-page-wrapper .credit-debit-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.page-content .history-page-wrapper .summary-card { min-height: 82px; padding: 13px 15px; border-radius: 9px; }
.page-content .history-page-wrapper .transaction-columns { gap: 10px; }
.page-content .history-page-wrapper .transaction-panel { border-radius: 9px; padding: 15px; }
.page-content .history-page-wrapper .history-card { margin-top: 8px; padding: 11px; background: #071728; border: 1px solid rgba(61,155,255,.2); border-radius: 8px; }
.page-content .history-page-wrapper .history-card:hover { border-color: rgba(244,196,91,.45); }
.page-content .history-page-wrapper .history-amount { color: var(--green); }
.page-content .history-page-wrapper .history-status { border-radius: 5px; font-size: 8px; }
.page-content .history-page-wrapper .history-detail-button { border: 1px solid rgba(61,155,255,.3); border-radius: 5px; color: #b9c9da; background: #061321; }

@media (max-width: 900px) {
    .page-content .deposit-page-wrapper .deposit-page,
    .page-content .withdraw-page-wrapper .withdraw-page,
    .page-content .history-page-wrapper .deposit-page { width: calc(100% - 28px); }
    .page-content .deposit-page-wrapper .deposit-nav a,
    .page-content .withdraw-page-wrapper .deposit-nav a,
    .page-content .history-page-wrapper .deposit-nav a { padding: 0 16px; }
}
@media (max-width: 600px) {
    .page-content .deposit-page-wrapper .deposit-page,
    .page-content .withdraw-page-wrapper .withdraw-page,
    .page-content .history-page-wrapper .deposit-page { width: calc(100% - 16px); }
    .page-content .deposit-page-wrapper .deposit-account,
    .page-content .withdraw-page-wrapper .deposit-account,
    .page-content .history-page-wrapper .deposit-account { display: block; min-height: 58px; padding: 10px 12px; line-height: 1.6; }
    .page-content .deposit-page-wrapper .deposit-account .right,
    .page-content .withdraw-page-wrapper .deposit-account .right,
    .page-content .history-page-wrapper .deposit-account .right { margin-top: 2px; }
    .page-content .deposit-page-wrapper .deposit-nav,
    .page-content .withdraw-page-wrapper .deposit-nav,
    .page-content .history-page-wrapper .deposit-nav { min-height: 48px; height: 48px; }
    .page-content .deposit-page-wrapper .deposit-nav a,
    .page-content .withdraw-page-wrapper .deposit-nav a,
    .page-content .history-page-wrapper .deposit-nav a { padding: 0 13px; font-size: 10px; }
    .page-content .deposit-page-wrapper .deposit-header,
    .page-content .withdraw-page-wrapper .deposit-header,
    .page-content .history-page-wrapper .deposit-header { margin: 16px 0 13px; padding-bottom: 10px; }
    .page-content .deposit-page-wrapper .deposit-header h1,
    .page-content .withdraw-page-wrapper .deposit-header h1,
    .page-content .history-page-wrapper .deposit-header h1 { font-size: 20px; }
    .page-content .deposit-page-wrapper .qris-simple-card,
    .page-content .deposit-page-wrapper .payment-box,
    .page-content .withdraw-page-wrapper .withdraw-card { width: 100%; border-radius: 8px; }
    .page-content .deposit-page-wrapper .qris-simple-quick button,
    .page-content .deposit-page-wrapper .quick button { min-width: 0; flex: 1 1 calc(50% - 6px); }
    .page-content .history-page-wrapper .credit-debit-summary { grid-template-columns: 1fr 1fr; }
    .page-content .history-page-wrapper .transaction-columns { grid-template-columns: 1fr; }
}
    .all-games-categories { display: flex; grid-template-columns: none; height: 58px; min-height: 58px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .all-games-categories::-webkit-scrollbar { display: none; }
    .all-games-categories .reference-category { flex: 0 0 78px; height: 50px; min-height: 0; }
    .all-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .all-games-grid .reference-game-cover { aspect-ratio: 1 / .72; }
    .all-games-grid .reference-game-meta { min-height: 42px; padding: 6px; }
    .all-games-grid .reference-game-meta strong { font-size: 10.5px; }
    .all-games-grid .reference-game-meta small { font-size: 8.5px; }
}
@media (max-width: 479px) {
    .all-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* All Games finishing polish */
.all-games-header h1 { font-size: 26px; font-weight: 700; }
.all-games-header p { font-size: 12px; }
.all-games-toolbar { gap: 8px; margin-bottom: 12px; }
.all-games-filters { scrollbar-width: none; }
.all-games-filters::-webkit-scrollbar { display: none; }
.all-games-search, .all-games-filter { border-radius: 6px; }
.all-games-filter { min-height: 36px; }
.all-games-subheading h2 { font-size: 16px; }
.all-games-providers .reference-provider { border-radius: 6px; }
.all-games-providers .reference-provider strong { font-size: 9px; font-weight: 500; }
.all-games-grid { gap: 9px; }
.all-games-card {
    overflow: hidden;
    background: linear-gradient(180deg, #0b2034 0%, #061321 78%, #040c17 100%);
    border: 1px solid rgba(61,155,255,.38);
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.all-games-card:hover {
    border-color: rgba(244,196,91,.75);
    box-shadow: 0 7px 15px rgba(0,0,0,.28);
    transform: translateY(-2px);
}
.all-games-card .reference-game-cover { background: #061321; }
.all-games-card .reference-game-cover img { object-fit: cover; }
.all-games-card .game-badge { top: 5px; left: 5px; padding: 2px 5px; font-size: 7px; }
.all-games-card .reference-heart { right: 5px; bottom: 5px; font-size: 10px; }
.all-games-card .reference-game-meta { min-height: 40px; padding: 6px 7px 7px; }
.all-games-card .reference-game-meta strong { font-size: 11px; font-weight: 650; line-height: 1.2; }
.all-games-card .reference-game-meta small { font-size: 9px; font-weight: 500; line-height: 1.2; }

@media (min-width: 901px) and (max-width: 1199px) {
    body:has(.all-games-page) { --sidebar-width: 196px; }
    .all-games-page { padding-right: 2px; }
    .all-games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .all-games-providers .reference-provider { flex-basis: 138px; }
}

@media (max-width: 767px) {
    .all-games-header h1 { font-size: 22px; }
    .all-games-header p { font-size: 11px; }
    .all-games-subheading h2 { font-size: 15px; }
    .all-games-grid { gap: 8px; }
    .all-games-card .reference-game-meta { min-height: 42px; padding: 6px; }
    .all-games-card .reference-game-meta strong { font-size: 10.5px; }
    .all-games-card .reference-game-meta small { font-size: 8.5px; }
}

.all-games-providers { display: none; }
.all-games-providers.is-visible { display: block; }

/* Provider detail presentation */
.provider-page { min-width: 0; }
.provider-directory { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 6px; background: linear-gradient(180deg, #0a2237, #061321); border: 1px solid rgba(61,155,255,.32); border-radius: 8px; box-shadow: 0 5px 14px rgba(0,0,0,.18); }
.provider-directory-scroll { min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; }
.provider-directory-scroll::-webkit-scrollbar { display: none; }
.provider-directory-list { display: flex; gap: 6px; min-width: max-content; }
.provider-directory .nav-link { display: inline-flex; align-items: center; gap: 8px; min-width: 116px; height: 45px; padding: 0 10px; color: #aebfd0; background: rgba(5,15,27,.72); border: 1px solid transparent; border-radius: 6px; font-size: 10px; font-weight: 700; }
.provider-directory .nav-link:hover, .provider-directory .nav-link.active { color: #fff0ad; background: linear-gradient(180deg, rgba(112,80,27,.82), rgba(23,45,67,.9)); border-color: var(--gold); }
.provider-directory-icon { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; color: var(--blue); background: rgba(61,155,255,.1); border-radius: 5px; }
.provider-directory .active .provider-directory-icon { color: var(--gold); background: rgba(244,196,91,.12); }
.provider-directory-icon i { font-size: 15px; }
.provider-directory-icon img { width: 22px; height: 22px; object-fit: contain; }
.provider-directory .nav-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-directory-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; color: #b9c9da; background: #071a2b; border: 1px solid rgba(61,155,255,.3); border-radius: 5px; }
.provider-directory-arrow:hover { color: var(--gold); border-color: var(--gold); }
.provider-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 13px; padding: 18px 20px; background: linear-gradient(110deg, #0b2136, #071422 72%); border: 1px solid rgba(61,155,255,.32); border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.provider-header-copy { min-width: 0; }
.provider-header h1 { margin: 5px 0 3px; color: var(--text); font-size: 25px; line-height: 1.1; }
.provider-header h1 i { margin-right: 8px; color: var(--gold); font-size: 22px; }
.provider-header p { margin: 0; color: var(--muted); font-size: 11px; }
.provider-header-logo, .provider-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 128px; width: 128px; height: 76px; min-width: 0; min-height: 0; padding: 10px; overflow: hidden; background: rgba(3,10,19,.56); border: 1px solid rgba(61,155,255,.2); border-radius: 6px; }
.provider-header-logo img, .provider-logo img { display: block; width: 100%; height: 100%; max-width: 112px; max-height: 56px; min-width: 0; min-height: 0; object-fit: contain; }
.provider-filters { display: flex; gap: 6px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.provider-filters::-webkit-scrollbar { display: none; }
.provider-filter { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; color: #aebfd0; background: #071a2b; border: 1px solid rgba(61,155,255,.3); border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.provider-filter i { color: var(--blue); }
.provider-filter .count { color: #71879d; font-size: 9px; font-weight: 500; }
.provider-filter:hover, .provider-filter.is-active, .provider-filter.active { color: #fff0ad; background: linear-gradient(180deg, #70501b, #263653); border-color: var(--gold); }
.provider-filter.is-active i, .provider-filter.active i, .provider-filter.is-active .count, .provider-filter.active .count { color: var(--gold-bright); }
.provider-games-section { min-width: 0; }
.provider-games-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.provider-games-heading h2 { margin: 3px 0 0; color: var(--text); font-size: 16px; line-height: 1.1; }
.provider-game-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.provider-game-card { position: relative; display: block; min-width: 0; overflow: hidden; background: linear-gradient(180deg, #0c2439, #061321 75%, #040d18); border: 1px solid rgba(61,155,255,.36); border-radius: 7px; box-shadow: 0 5px 14px rgba(0,0,0,.2); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.provider-game-card:hover { border-color: rgba(244,196,91,.82); box-shadow: 0 7px 16px rgba(0,0,0,.3); transform: translateY(-2px); }
.provider-game-cover { position: relative; overflow: hidden; aspect-ratio: 1 / .78; background: #061321; }
.provider-game-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04) contrast(1.03); transition: transform .22s ease; }
.provider-game-card:hover .provider-game-cover img { transform: scale(1.04); }
.provider-game-card .game-badge { position: absolute; top: 6px; left: 6px; padding: 3px 5px; color: #fff; background: linear-gradient(180deg, #ff5d69, #c9283b); border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.28); font-size: 8px; font-weight: 900; }
.provider-game-card .game-badge.badge-new { background: linear-gradient(180deg, #36d9ac, #159b91); }
.provider-game-card .reference-heart { right: 7px; bottom: 6px; font-size: 11px; }
.provider-game-action { position: absolute; right: 7px; bottom: 7px; display: grid; place-items: center; width: 27px; height: 27px; color: var(--ink); background: var(--gold); border-radius: 50%; opacity: 0; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; }
.provider-game-card:hover .provider-game-action { opacity: 1; transform: translateY(0); }
.provider-game-meta { display: grid; gap: 2px; min-height: 46px; padding: 7px 8px 8px; }
.provider-game-meta strong, .provider-game-meta small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-game-meta strong { color: #edf3f8; font-size: 11px; line-height: 1.2; }
.provider-game-meta small { color: #7892a7; font-size: 9px; line-height: 1.2; }
.provider-page .skeleton-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.provider-page .skeleton-card { min-height: 154px; border: 1px solid rgba(61,155,255,.18); border-radius: 7px; background: linear-gradient(105deg, #071321 25%, #102840 45%, #071321 65%); background-size: 220% 100%; animation: provider-skeleton 1.2s ease-in-out infinite; }
.provider-page .provider-empty { margin: 0; padding: 25px; color: var(--muted); background: #071a2b; border: 1px solid rgba(61,155,255,.26); }
.provider-pagination { display: flex; justify-content: center; margin-top: 24px; overflow: hidden; }
.provider-pagination nav { display: flex !important; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 100%; }
.provider-pagination nav > div { display: flex !important; align-items: center; min-width: 0; }
.provider-pagination nav > div:first-child { display: none !important; }
.provider-pagination nav > div:last-child { margin-left: auto; }
.provider-pagination p { margin: 0; color: #7f94a8; font-size: 10px; line-height: 1.4; white-space: nowrap; }
.provider-pagination p span { display: inline !important; min-width: 0; height: auto; padding: 0; color: #dce7f2; background: transparent; border: 0; border-radius: 0; font-size: inherit; }
.provider-pagination ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.provider-pagination .page-item { display: block; }
.provider-pagination .page-link { display: grid; place-items: center; min-width: 29px; height: 29px; padding: 0 8px; color: #aabbd0; background: #071a2b; border: 1px solid rgba(61,155,255,.28); border-radius: 4px; font-size: 10px; line-height: 1; text-decoration: none; }
.provider-pagination .active .page-link, .provider-pagination .page-link:hover { color: #fff0ad; background: linear-gradient(180deg, #70501b, #263653); border-color: var(--gold); }
@media (max-width: 575px) {
    .provider-pagination { margin-top: 24px; }
    .provider-pagination nav { justify-content: center; }
    .provider-pagination nav > div:last-child { flex-direction: column; gap: 8px; width: 100%; margin-left: 0; }
    .provider-pagination p { display: block; text-align: center; }
    .provider-pagination ul { max-width: 100%; overflow-x: auto; padding: 2px 1px; scrollbar-width: none; }
    .provider-pagination ul::-webkit-scrollbar { display: none; }
    .provider-pagination .page-link { min-width: 32px; height: 32px; }
}
@keyframes provider-skeleton { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@media (min-width: 992px) and (max-width: 1199px) { .provider-game-grid, .provider-page .skeleton-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 991px) { .provider-game-grid, .provider-page .skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .provider-game-grid, .provider-page .skeleton-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; } .provider-header { padding: 15px; } .provider-header h1 { font-size: 22px; } .provider-header-logo, .provider-logo { flex-basis: 92px; width: 92px; height: 58px; padding: 8px; } .provider-header-logo img, .provider-logo img { max-width: 76px; max-height: 42px; } }
@media (max-width: 575px) { .provider-game-grid, .provider-page .skeleton-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .provider-directory { margin-bottom: 12px; } .provider-directory .nav-link { min-width: 105px; height: 42px; } .provider-header { align-items: center; } .provider-header h1 { font-size: 20px; } .provider-header h1 i { font-size: 18px; } .provider-header-logo, .provider-logo { flex-basis: 76px; width: 76px; height: 48px; padding: 7px; } .provider-header-logo img, .provider-logo img { max-width: 62px; max-height: 34px; } .provider-game-meta { min-height: 43px; padding: 6px; } .provider-game-meta strong { font-size: 10px; } .provider-game-meta small { font-size: 8.5px; } .provider-game-card .reference-heart { display: none; } }
