    :root {
      --orange: #ff6b00;
      --orange-soft: rgba(255, 107, 0, .12);
      --canvas: #1a1a1a;
      --surface: #121212;
      --card: #242424;
      --line: #333333;
      --text: #ffffff;
      --muted: #b3b3b3;
      --quiet: #808080;
      --success: #10b981;
      --danger: #ef4444;
      --warning: #f59e0b;
      --paper: #f9f9fb;
      --ink: #121212;
      --radius-control: 8px;
      --radius-card: 12px;
      --radius-panel: 16px;
      --radius-hero: 20px;
      --ease: cubic-bezier(.2, .8, .2, 1);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      color: var(--text);
      background: var(--canvas);
      font-family: "DM Sans", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    button, input, select { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 3px;
    }
    img { display: block; max-width: 100%; }
    .shell { min-height: 100vh; display: flex; flex-direction: column; }
    .container { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
    .page { display: none; flex: 1; animation: pageIn .28s var(--ease); }
    .page.is-active { display: block; }
    @keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      height: 80px;
      border-bottom: 1px solid var(--line);
      background: rgba(18,18,18,.94);
      backdrop-filter: blur(18px);
    }
    .header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
    .brand { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: white; cursor: pointer; }
    .brand-mark {
      width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
      color: #121212; background: var(--orange); font-size: 17px;
    }
    .brand-copy { font-weight: 800; letter-spacing: -.3px; font-size: 19px; white-space: nowrap; }
    .brand-copy span { color: var(--orange); }
    .desktop-nav { display: flex; justify-content: center; gap: 32px; }
    .nav-link { color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; transition: color .18s; }
    .nav-link:hover, .nav-link.is-active { color: var(--orange); }
    .header-actions { display: flex; align-items: center; gap: 12px; }
    .header-search {
      width: 220px; display: flex; align-items: center; gap: 8px; padding: 9px 13px;
      color: var(--quiet); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--card);
    }
    .header-search input { width: 100%; color: white; border: 0; outline: 0; background: transparent; font-size: 12px; }
    .btn { min-height: 40px; padding: 0 17px; border-radius: var(--radius-control); border: 1px solid transparent; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .18s var(--ease), border-color .18s, background .18s; }
    .btn:hover { transform: translateY(-1px); }
    .btn:active { transform: translateY(0) scale(.985); }
    .btn-primary { color: #121212; background: var(--orange); }
    .btn-secondary { color: white; background: var(--card); border-color: var(--line); }
    .btn-ghost { color: white; background: transparent; }
    .mobile-menu-btn { display: none; width: 42px; padding: 0; }
    .mobile-nav {
      position: fixed; left: 14px; right: 14px; top: 78px; z-index: 45; display: none;
      padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(18,18,18,.98);
      box-shadow: 0 22px 60px rgba(0,0,0,.45);
    }
    .mobile-nav.is-visible { display: grid; }
    .mobile-nav button { min-height: 44px; padding: 0 13px; text-align: left; color: white; border: 0; border-radius: 8px; background: transparent; }
    .mobile-nav button:hover { color: var(--orange); background: var(--card); }

    .hero { padding: 48px 0 28px; }
    .hero-banner {
      position: relative; min-height: 280px; overflow: hidden; border-radius: var(--radius-hero);
      display: grid; place-items: center; text-align: center; isolation: isolate; background: #101010;
    }
    .hero-banner::before {
      content: ""; position: absolute; inset: 0; z-index: -2;
      background: url("assets/hero.png") center / cover no-repeat;
    }
    .hero-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(18,18,18,.72); }
    .hero-content { max-width: 720px; padding: 38px; }
    .hero-icon { width: 42px; height: 42px; margin: 0 auto 16px; display: grid; place-items: center; color: #121212; background: var(--orange); border-radius: 10px; }
    .hero h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.8px; line-height: 1.1; font-weight: 800; text-wrap: pretty; }
    .hero p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
    .home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-bottom: 80px; }
    .category-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
    .category-tab { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; color: white; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-control); font-size: 13px; font-weight: 600; cursor: pointer; }
    .category-tab.is-active { color: #121212; border-color: var(--orange); background: var(--orange); }
    .section-heading { margin-bottom: 18px; }
    .eyebrow { margin: 0 0 3px; color: var(--orange); font-size: 19px; font-weight: 800; }
    .section-heading p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
    .game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .game-grid.is-wallet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .game-card { overflow: hidden; text-align: left; color: white; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); cursor: pointer; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
    .game-card:hover { transform: translateY(-4px); border-color: rgba(255,107,0,.65); box-shadow: 0 18px 38px rgba(0,0,0,.24); }
    .game-card img, .game-card-placeholder { width: 100%; aspect-ratio: 1.12; object-fit: cover; }
    .game-card-placeholder { display: grid; place-items: center; color: var(--orange); background: linear-gradient(145deg, #262626, #181818); font-size: 30px; }
    .game-card-placeholder span { display: grid; gap: 7px; place-items: center; }
    .game-card-placeholder b { color: white; font-size: 12px; letter-spacing: .8px; }
    .game-meta { padding: 12px; }
    .game-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
    .game-publisher { margin-top: 2px; color: var(--quiet); font-size: 10px; }
    .wallet-card { min-height: 132px; padding: 20px; border: 0; border-radius: var(--radius-panel); cursor: pointer; color: white; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-weight: 800; font-size: 13px; }
    .wallet-card img { width: 100px; height: 50px; object-fit: contain; }
    .wallet-card.dana { background: #108ee9; } .wallet-card.ovo { background: #4c2a86; } .wallet-card.gopay { background: #00aed6; } .wallet-card.linkaja { background: #e31a22; }
    .popular-panel { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); position: sticky; top: 104px; }
    .popular-title { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 15px; font-weight: 800; }
    .popular-title i { color: var(--orange); }
    .popular-list { display: grid; gap: 11px; }
    .popular-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); cursor: pointer; }
    .popular-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; }
    .popular-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
    .popular-kind { margin-top: 2px; color: var(--quiet); font-size: 9px; }
    .buy-chip { padding: 5px 8px; color: var(--orange); border: 1px solid var(--orange); border-radius: 7px; background: var(--orange-soft); font-size: 10px; font-weight: 700; }

    .content-page { padding: 48px 0 80px; }
    .page-title { margin: 0; font-size: clamp(25px, 3vw, 36px); font-weight: 800; letter-spacing: -.5px; }
    .page-subtitle { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
    .auth-wrap { min-height: 600px; display: grid; place-items: center; padding: 72px 0 90px; }
    .auth-card { width: min(500px, 100%); padding: 44px; border: 1px solid rgba(255,107,0,.36); border-radius: var(--radius-panel); background: var(--surface); }
    .auth-card h1 { margin: 0; font-size: 25px; font-weight: 800; }
    .auth-card > p { margin: 7px 0 24px; color: var(--muted); font-size: 13px; }
    .field { display: grid; gap: 7px; margin-bottom: 16px; }
    .field label { color: white; font-size: 12px; font-weight: 700; }
    .input { width: 100%; min-height: 44px; padding: 0 13px; color: white; border: 1px solid var(--line); border-radius: var(--radius-control); outline: 0; background: var(--card); font-size: 13px; }
    .input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
    .auth-submit { width: 100%; min-height: 48px; margin-top: 8px; }
    .auth-switch { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
    .text-action { padding: 0; color: var(--orange); border: 0; background: transparent; cursor: pointer; font-weight: 700; }

    .search-panel, .about-card, .panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
    .result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
    .about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: stretch; margin-top: 28px; }
    .about-card h2 { margin: 0 0 10px; font-size: 20px; }
    .about-card p { color: var(--muted); line-height: 1.7; font-size: 14px; }
    .promise-list { display: grid; gap: 12px; margin-top: 18px; }
    .promise { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
    .promise i { color: var(--orange); margin-top: 3px; }

    .product-hero { min-height: 220px; margin-bottom: 32px; display: flex; align-items: center; padding: 46px; overflow: hidden; position: relative; border-radius: var(--radius-hero); background: linear-gradient(100deg, #1d0900, #502100); }
    .product-hero::after { content: "PACUEMAS"; position: absolute; right: -14px; top: -38px; color: rgba(255,255,255,.045); font-size: 180px; font-weight: 800; letter-spacing: -10px; }
    .product-avatar { width: 84px; height: 84px; object-fit: cover; border-radius: 19px; border: 2px solid rgba(255,255,255,.16); }
    .product-avatar-fallback { width: 84px; height: 84px; display: none; place-items: center; color: #121212; border-radius: 19px; border: 2px solid rgba(255,255,255,.16); background: var(--orange); font-size: 22px; font-weight: 800; }
    .product-hero-copy { position: relative; z-index: 1; margin-left: 22px; }
    .product-hero-copy h1 { margin: 0; font-size: 34px; font-weight: 800; }
    .product-hero-copy p { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }
    .checkout-layout { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 28px; }
    .stack { display: grid; gap: 20px; align-content: start; }
    .step-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
    .step-title { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; font-size: 15px; font-weight: 800; }
    .step-number { min-width: 26px; height: 24px; padding: 0 8px; display: grid; place-items: center; color: #121212; border-radius: 6px; background: var(--orange); font-size: 11px; }
    .helper { margin: 7px 0 0; color: var(--quiet); line-height: 1.45; font-size: 10px; }
    .warning-box { display: flex; gap: 11px; padding: 17px; color: white; border: 1px solid var(--orange); border-radius: var(--radius-card); background: var(--orange-soft); font-size: 11px; line-height: 1.5; }
    .warning-box i { color: var(--orange); margin-top: 2px; }
    .denom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .choice-card { min-height: 70px; padding: 13px; text-align: left; color: var(--muted); border: 1.5px solid var(--line); border-radius: var(--radius-card); background: var(--card); cursor: pointer; }
    .choice-card strong { display: block; color: inherit; font-size: 12px; }
    .choice-card small { display: block; margin-top: 5px; color: var(--quiet); font-size: 10px; }
    .choice-card.is-selected { color: var(--orange); border-color: var(--orange); background: var(--orange-soft); }
    .choice-card:disabled { cursor: not-allowed; opacity: .46; }
    .service-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
    .service-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #bbf7d0; border: 1px solid rgba(16,185,129,.42); border-radius: 999px; background: rgba(16,185,129,.12); font-size: 9px; font-weight: 800; }
    .service-chip.is-unavailable { color: #fecaca; border-color: rgba(239,68,68,.42); background: rgba(239,68,68,.12); }
    .service-note { color: rgba(255,255,255,.65); font-size: 10px; }
    .catalog-note { display: flex; gap: 9px; margin-top: 14px; padding: 11px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; background: var(--card); font-size: 10px; line-height: 1.5; }
    .catalog-note i { flex: 0 0 auto; margin-top: 2px; color: var(--orange); }
    .payment-options { display: grid; gap: 10px; }
    .payment-option { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; }
    .payment-option.is-selected { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
    .payment-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--orange); border-radius: 8px; background: var(--surface); }
    .payment-option strong { display: block; font-size: 12px; }
    .payment-option small { color: var(--quiet); font-size: 10px; }
    .payment-price { color: var(--orange); font-size: 12px; font-weight: 800; }
    .full-btn { width: 100%; min-height: 48px; margin-top: 14px; }
    .simulation-label { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 6px 9px; color: #fed7aa; border: 1px solid rgba(245,158,11,.5); border-radius: 999px; background: rgba(245,158,11,.12); font-size: 10px; font-weight: 700; }
    .custom-amount-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
    .custom-amount-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
    .custom-amount-head strong { font-size: 13px; }
    .custom-amount-head span { padding: 5px 8px; color: var(--orange); border: 1px solid rgba(255,107,0,.45); border-radius: 999px; background: var(--orange-soft); font-size: 9px; font-weight: 800; }
    .custom-amount-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 12px; }
    .amount-input-wrap { position: relative; }
    .amount-input-wrap .input { padding-right: 54px; }
    .amount-input-wrap b { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 11px; }
    .amount-limit { display: grid; align-content: center; padding: 10px 13px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--card); font-size: 10px; line-height: 1.45; }
    .amount-limit strong { color: white; font-size: 10px; }
    .amount-error { min-height: 16px; margin: 6px 0 0; color: var(--danger); font-size: 10px; }
    .input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
    .wallet-amount-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
    .wallet-summary-item { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); }
    .wallet-summary-item span { display: block; color: var(--quiet); font-size: 9px; text-transform: uppercase; }
    .wallet-summary-item strong { display: block; margin-top: 5px; color: white; font-size: 13px; }
    .wallet-summary-item strong.amount { color: var(--orange); }
    .btn:disabled { cursor: not-allowed; opacity: .48; transform: none; }

    .status-wrap { min-height: 650px; display: grid; place-items: center; padding: 70px 0 90px; }
    .status-card { width: min(620px, 100%); padding: 36px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
    .status-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; }
    .status-icon.pending { color: var(--warning); background: rgba(245,158,11,.12); }
    .status-icon.success { color: var(--success); background: rgba(16,185,129,.12); }
    .status-icon.failed { color: var(--danger); background: rgba(239,68,68,.12); }
    .status-card h1 { margin: 0; font-size: 25px; }
    .status-card > p { margin: 8px auto 24px; max-width: 460px; color: var(--muted); font-size: 13px; line-height: 1.6; }
    .payment-instruction { margin: 20px 0; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 11px; background: var(--card); }
    .payment-instruction-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
    .payment-instruction-head .payment-icon { flex: 0 0 auto; background: var(--surface); }
    .payment-instruction-head strong { display: block; font-size: 13px; }
    .payment-instruction-head span { display: block; margin-top: 3px; color: var(--quiet); font-size: 10px; }
    .payment-placeholder { min-height: 76px; display: grid; place-items: center; padding: 14px; color: var(--muted); border: 1px dashed rgba(255,255,255,.2); border-radius: 9px; background: var(--surface); font-size: 11px; text-align: center; }
    .payment-placeholder strong { color: white; font-size: 15px; }
    .flow-stages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; text-align: left; }
    .flow-stage { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); }
    .flow-stage span { display: block; color: var(--quiet); font-size: 9px; text-transform: uppercase; }
    .flow-stage strong { display: block; margin-top: 5px; font-size: 12px; }
    .flow-stage strong.paid { color: var(--success); }
    .flow-stage strong.waiting { color: var(--warning); }
    .order-summary { display: grid; gap: 0; margin: 20px 0; overflow: hidden; text-align: left; border: 1px solid var(--line); border-radius: 10px; }
    .summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 12px; }
    .summary-row:last-child { border-bottom: 0; }
    .summary-row span { color: var(--quiet); } .summary-row strong { text-align: right; }
    .summary-row.total-row { color: white; background: rgba(255,107,0,.08); }
    .summary-row.total-row strong { color: var(--orange); font-size: 14px; }
    .checkout-costs { margin: 16px 0 4px; }
    .contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
    .support-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
    .status-card .support-actions .full-btn { margin-top: 0; }
    .status-message { margin: 16px 0; padding: 13px 15px; text-align: left; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: 11px; line-height: 1.55; }
    .status-message strong { display: block; margin-bottom: 4px; color: white; }

    .account-page { color: var(--ink); background: var(--paper); }
    .account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; padding: 48px 0 80px; }
    .account-sidebar { display: grid; gap: 18px; align-content: start; }
    .user-card { padding: 19px; color: white; border: 1px solid var(--line); border-radius: var(--radius-panel); background: #1f1f1f; }
    .user-line { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
    .member-chip { padding: 4px 7px; color: #121212; border-radius: 5px; background: var(--orange); font-size: 9px; }
    .balance-label { margin-top: 16px; color: #9ca3af; font-size: 11px; }
    .balance-number { margin-top: 3px; color: var(--orange); font-size: 23px; font-weight: 800; }
    .account-menu { display: grid; gap: 3px; }
    .account-link { min-height: 44px; display: flex; align-items: center; gap: 11px; padding: 0 14px; color: #111827; border: 0; border-radius: var(--radius-control); background: transparent; cursor: pointer; font-size: 13px; text-align: left; }
    .account-link.is-active, .account-link:hover { color: #121212; background: var(--orange); font-weight: 700; }
    .account-nav-group { display: grid; gap: 3px; }
    .account-nav-group .account-link { width: 100%; }
    .account-nav-chevron { margin-left: auto; transition: transform .2s var(--ease); }
    .account-nav-group.is-open .account-nav-chevron { transform: rotate(180deg); }
    .account-submenu { display: none; gap: 3px; padding: 2px 0 4px 20px; }
    .account-nav-group.is-open .account-submenu { display: grid; }
    .account-submenu button { min-height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 12px; color: #4b5563; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 11px; text-align: left; }
    .account-submenu button:hover, .account-submenu button.is-active { color: #c2410c; background: #fff7ed; font-weight: 700; }
    .account-workspace { min-height: 430px; padding: 30px; border: 1px solid #e5e7eb; border-radius: var(--radius-panel); background: white; }
    .account-workspace h1 { margin: 0; font-size: 22px; font-weight: 800; }
    .account-workspace > p { margin: 6px 0 22px; color: #808080; font-size: 13px; }
    .account-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
    .overview-card { padding: 18px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; }
    .overview-card span { display: block; color: #808080; font-size: 10px; text-transform: uppercase; }
    .overview-card strong { display: block; margin-top: 7px; color: #111827; font-size: 21px; }
    .overview-card strong.orange { color: var(--orange); }
    .history-table { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 9px; }
    .history-head, .history-row { display: grid; grid-template-columns: 1.05fr 1.2fr 1fr .8fr .8fr auto; gap: 12px; padding: 14px; align-items: center; font-size: 11px; }
    .history-head { font-weight: 700; background: #f3f4f6; }
    .history-row { border-top: 1px solid #e5e7eb; }
    .history-row:hover { background: #fff7ed; }
    .history-row small { color: #808080; font-size: 9px; }
    .order-status { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
    .order-status.success { color: #047857; background: #d1fae5; }
    .order-status.pending { color: #b45309; background: #fef3c7; }
    .order-status.failed { color: #b91c1c; background: #fee2e2; }
    .order-detail-button { min-height: 34px; padding: 0 11px; color: #111827; border: 1px solid #d1d5db; border-radius: 7px; background: white; cursor: pointer; font-size: 10px; font-weight: 700; }
    .order-detail-button:hover { color: white; border-color: var(--orange); background: var(--orange); }
    .workspace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
    .workspace-head h1 { margin: 0; }
    .workspace-head p { margin: 6px 0 0; color: #808080; font-size: 13px; }
    .order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .detail-panel { padding: 20px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; }
    .detail-panel.full { grid-column: 1 / -1; }
    .detail-panel h2 { margin: 0 0 14px; font-size: 14px; }
    .detail-list { display: grid; gap: 11px; }
    .detail-line { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; font-size: 11px; }
    .detail-line:last-child { padding-bottom: 0; border-bottom: 0; }
    .detail-line span { color: #808080; }
    .detail-line strong { text-align: right; }
    .order-timeline { display: grid; gap: 13px; }
    .timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; }
    .timeline-dot { width: 28px; height: 28px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--success); font-size: 10px; }
    .timeline-item strong { display: block; font-size: 11px; }
    .timeline-item span { display: block; margin-top: 3px; color: #808080; font-size: 10px; }
    .empty-table { min-height: 180px; display: grid; place-items: center; color: #808080; text-align: center; font-size: 12px; }
    .empty-table i { display: block; margin-bottom: 10px; font-size: 35px; }
    .light-field label { color: #111827; }
    .light-field .input { color: #111827; border-color: #d1d5db; background: white; }
    .balance-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
    .balance-form-grid .field:first-child { grid-column: 1 / -1; }
    .balance-form-summary { grid-column: 1 / -1; margin: 2px 0 0; color: #111827; border-color: #e5e7eb; background: #fafafa; }
    .balance-form-summary .summary-row { border-color: #e5e7eb; }
    .balance-form-summary .summary-row span { color: #808080; }
    .balance-form-summary .summary-row.total-row { background: #fff7ed; }
    .balance-form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
    .balance-form-actions .btn { min-width: 230px; min-height: 46px; }
    .field-error { min-height: 16px; margin: 6px 0 0; color: var(--danger); font-size: 10px; }
    .saldo-tabs { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 24px; padding: 4px; border: 1px solid #e5e7eb; border-radius: 10px; background: #f3f4f6; }
    .saldo-tab { min-width: 140px; min-height: 38px; padding: 0 16px; color: #6b7280; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
    .saldo-tab.is-active { color: #121212; background: var(--orange); box-shadow: 0 4px 12px rgba(255,107,0,.18); }
    .saldo-pane { display: none; }
    .saldo-pane.is-active { display: block; }
    .saldo-pane > h1 { margin: 0; }
    .saldo-pane > p { margin: 6px 0 22px; color: #808080; font-size: 13px; }
    .available-balance-note { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 13px 15px; color: #4b5563; border: 1px solid #fed7aa; border-radius: 9px; background: #fff7ed; font-size: 11px; }
    .available-balance-note strong { color: #c2410c; }
    .balance-history-head, .balance-history-row { display: grid; grid-template-columns: 1fr 1.1fr 1fr .85fr .85fr; gap: 12px; align-items: center; padding: 14px; font-size: 11px; }
    .balance-history-head { font-weight: 700; background: #f3f4f6; }
    .balance-history-row { border-top: 1px solid #e5e7eb; }
    .balance-history-row:hover { background: #fff7ed; }
    .balance-history-row small { display: block; margin-top: 3px; color: #808080; font-size: 9px; }
    .atom-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 7px 10px; color: white; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
    .atom-brand i { color: var(--orange); }
    .va-account-box { margin: 18px 0; padding: 20px; text-align: left; border: 1px solid rgba(255,107,0,.45); border-radius: 11px; background: var(--orange-soft); }
    .va-account-box span { display: block; color: var(--quiet); font-size: 9px; text-transform: uppercase; }
    .va-account-box strong { display: block; margin-top: 6px; color: white; font-size: 22px; letter-spacing: .05em; }
    .va-account-box small { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; }
    .credited-balance { display: none; margin: 18px 0; padding: 18px; color: white; border: 1px solid rgba(16,185,129,.4); border-radius: 11px; background: rgba(16,185,129,.1); text-align: left; }
    .credited-balance span { color: var(--muted); font-size: 10px; }
    .credited-balance strong { display: block; margin-top: 5px; color: var(--success); font-size: 24px; }

    .modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
    .modal.is-visible { display: grid; }
    .modal-card { width: min(500px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); box-shadow: 0 30px 90px rgba(0,0,0,.52); }
    .modal-card h2 { margin: 0; font-size: 23px; text-align: center; }
    .modal-card > p { margin: 6px 0 22px; text-align: center; color: var(--muted); font-size: 12px; }
    .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
    .toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; max-width: 340px; padding: 13px 16px; opacity: 0; transform: translateY(10px); pointer-events: none; color: white; border: 1px solid var(--line); border-radius: 10px; background: #252525; box-shadow: 0 18px 50px rgba(0,0,0,.3); transition: .2s var(--ease); font-size: 12px; }
    .toast.is-visible { opacity: 1; transform: none; }

    .site-footer { margin-top: auto; padding: 52px 0 36px; border-top: 1px solid var(--line); background: var(--surface); }
    .footer-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; }
    .footer-intro { max-width: 410px; }
    .footer-intro p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
    .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .footer-col h3 { margin: 0 0 13px; color: var(--orange); font-size: 12px; text-transform: uppercase; }
    .footer-col button { display: block; margin: 9px 0; padding: 0; color: var(--muted); border: 0; background: transparent; cursor: pointer; font-size: 12px; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 21px; color: var(--quiet); border-top: 1px solid var(--line); font-size: 10px; }

    @media (max-width: 1050px) {
      .desktop-nav, .header-search, .auth-shortcuts { display: none; }
      .header-inner { grid-template-columns: 1fr auto; }
      .mobile-menu-btn { display: inline-grid; place-items: center; }
      .home-layout { grid-template-columns: 1fr; }
      .popular-panel { position: static; }
      .game-grid { grid-template-columns: repeat(4, 1fr); }
      .checkout-layout { grid-template-columns: 1fr; }
      .result-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 760px) {
      .container { width: min(100% - 28px, 1280px); }
      .site-header { height: 68px; }
      .brand-copy { font-size: 16px; }
      .brand-mark { width: 31px; height: 31px; }
      .header-actions .btn-ghost { display: none; }
      .hero { padding-top: 22px; }
      .hero-banner { min-height: 240px; }
      .hero-content { padding: 24px; }
      .home-layout { padding-bottom: 52px; }
      .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
      .category-tab { flex: 0 0 auto; }
      .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .game-grid.is-wallet-grid { grid-template-columns: repeat(2, 1fr); }
      .game-card img { aspect-ratio: 1; }
      .footer-main { grid-template-columns: 1fr; }
      .footer-links { grid-template-columns: 1fr 1fr; }
      .footer-bottom { flex-direction: column; }
      .auth-card { padding: 28px 22px; }
      .content-page { padding-top: 30px; }
      .result-grid { grid-template-columns: repeat(2, 1fr); }
      .about-grid { grid-template-columns: 1fr; }
      .product-hero { min-height: 190px; padding: 26px; }
      .product-hero::after { font-size: 94px; top: 18px; }
      .product-avatar, .product-avatar-fallback { width: 68px; height: 68px; }
      .product-hero-copy { margin-left: 15px; }
      .product-hero-copy h1 { font-size: 24px; }
      .denom-grid { grid-template-columns: repeat(2, 1fr); }
      .custom-amount-row { grid-template-columns: 1fr; }
      .contact-row, .support-actions { grid-template-columns: 1fr; }
      .flow-stages { grid-template-columns: 1fr; }
      .account-layout { grid-template-columns: 1fr; padding-top: 26px; }
      .account-menu { display: grid; overflow: visible; }
      .account-link, .account-nav-group { width: 100%; }
      .account-submenu { position: static; margin: 0; padding: 2px 0 4px 20px; border: 0; background: transparent; box-shadow: none; }
      .account-workspace { padding: 22px; overflow-x: auto; }
      .history-table { min-width: 760px; }
      .account-overview, .order-detail-grid { grid-template-columns: 1fr; }
      .balance-form-grid { grid-template-columns: 1fr; }
      .balance-form-grid .field:first-child, .balance-form-summary, .balance-form-actions { grid-column: auto; }
      .balance-form-actions .btn { width: 100%; }
      .saldo-tabs { width: 100%; }
      .saldo-tab { min-width: 0; }
      .balance-history-head, .balance-history-row { min-width: 680px; }
      .detail-panel.full { grid-column: auto; }
      .modal-actions { grid-template-columns: 1fr; }
      .status-card { padding: 28px 20px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    }
  
