/* Production tokens sampled from the approved Home and Orders UI.
   Semantic variants preserve intentional differences between shop and checkout. */
:root {
  --sgh-font:Inter,"Noto Sans Myanmar",system-ui,-apple-system,sans-serif;
  --sgh-font-display:Outfit,Inter,"Noto Sans Myanmar",system-ui,sans-serif;
  --sgh-space-1:4px; --sgh-space-2:8px; --sgh-space-3:12px;
  --sgh-space-4:16px; --sgh-space-5:24px; --sgh-space-6:32px;
  --sgh-radius-control:12px; --sgh-radius-card:20px; --sgh-radius-nav:24px;
  --sgh-radius-pill:999px; --sgh-touch:44px;
  --sgh-width-shell:1152px; --sgh-width-mobile:512px; --sgh-width-reading:720px;
  --sgh-bg:#06040c; --sgh-ink:#f5f2fa; --sgh-muted:#b9b1c5;
  --sgh-edge:rgba(255,255,255,.11);
  --sgh-card:linear-gradient(145deg,rgba(168,85,247,.09),rgba(34,27,47,.78) 42%,rgba(124,58,237,.035));
  --sgh-field:rgba(255,255,255,.055); --sgh-accent:#aa80d9;
  --sgh-action:#8658b5; --sgh-action-hover:#9468c1;
  --sgh-shadow-card:0 6px 20px rgba(6,3,14,.06);
  --sgh-brand-gradient:linear-gradient(135deg,#a855f7,#7c3aed);
  --sgh-ambient-background:radial-gradient(ellipse at 12% -8%,rgba(168,85,247,.11),transparent 42%),radial-gradient(ellipse at 94% 76%,rgba(124,58,237,.06),transparent 38%);
  --sgh-glass-gradient:linear-gradient(135deg,rgba(168,85,247,.10),rgba(18,10,32,.54) 42%,rgba(124,58,237,.045));
  --sgh-motion:180ms; --sgh-ease:cubic-bezier(.22,.7,.25,1);
  --sgh-nav-clearance:calc(148px + env(safe-area-inset-bottom,0px));
}
html[data-theme=light] {
  color-scheme:light;
  --sgh-light-canvas:#e8e3ee;
  --sgh-light-surface:#f1edf5;
  --sgh-light-field:#ede8f2;
  --sgh-light-selected:#dfd3eb;
  --sgh-light-nav:rgba(233,226,241,.91);
  --sgh-bg:var(--sgh-light-canvas); --sgh-ink:#292135; --sgh-muted:#574d63;
  --sgh-edge:rgba(76,48,103,.19);
  --sgh-card:linear-gradient(145deg,var(--sgh-light-surface),var(--sgh-light-field));
  --sgh-field:var(--sgh-light-field); --sgh-accent:#674385;
  --sgh-action:#76509a; --sgh-action-hover:#664487;
  --sgh-ambient-background:radial-gradient(ellipse at 12% -8%,rgba(168,85,247,.10),transparent 42%),radial-gradient(ellipse at 94% 76%,rgba(124,58,237,.045),transparent 38%);
  --sgh-glass-gradient:linear-gradient(135deg,var(--sgh-light-nav),rgba(218,207,231,.82));
}

/* Storefront hero/surfaces retain their approved visual identity. */
:root {
  --sgh-home-bg:#06040c;
  --sgh-home-bg-soft:#0f0a1a;
  --sgh-home-text:#ffffff;
  --sgh-home-text-muted:rgba(255,255,255,0.55);
  --sgh-home-text-faint:rgba(255,255,255,0.38);
  --sgh-home-glass:var(--sgh-glass-gradient);
  --sgh-home-glass-border:rgba(255,255,255,0.09);
  --sgh-home-glass-inset:rgba(255,255,255,0.06);
  --sgh-home-card:linear-gradient(145deg,rgba(168,85,247,.09),rgba(26,16,37,.74) 42%,rgba(124,58,237,.035));
  --sgh-home-card-border:rgba(168,85,247,0.12);
  --sgh-home-hero-overlay:linear-gradient(105deg, rgba(6,4,12,0.92) 0%, rgba(6,4,12,0.72) 30%, rgba(6,4,12,0.3) 55%, transparent 100%);
  --sgh-home-hero-overlay-m:linear-gradient(180deg, rgba(6,4,12,0.5) 0%, rgba(6,4,12,0.78) 50%, rgba(6,4,12,0.94) 100%);
}
html[data-theme=light] {
  --sgh-home-bg:var(--sgh-bg);
  --sgh-home-bg-soft:var(--sgh-light-surface);
  --sgh-home-text:#1a1025;
  --sgh-home-text-muted:var(--sgh-muted);
  --sgh-home-text-faint:#62556e;
  --sgh-home-glass:var(--sgh-glass-gradient);
  --sgh-home-glass-border:rgba(88,28,135,0.1);
  --sgh-home-glass-inset:rgba(255,255,255,0.5);
  --sgh-home-card:var(--sgh-card);
  --sgh-home-card-border:rgba(168,85,247,0.15);
  --sgh-home-hero-overlay:linear-gradient(105deg, rgba(232,227,238,0.94) 0%, rgba(232,227,238,0.7) 32%, rgba(232,227,238,0.25) 58%, transparent 100%);
  --sgh-home-hero-overlay-m:linear-gradient(180deg, rgba(232,227,238,0.35) 0%, rgba(232,227,238,0.75) 50%, rgba(232,227,238,0.95) 100%);
}

/* Checkout surface variant, shared by every game and payment step. */
:root {
  --sgh-topup-panel:linear-gradient(145deg,rgba(168,85,247,.085),rgba(28,20,43,.74) 42%,rgba(124,58,237,.03));
  --sgh-topup-tile:rgba(255,255,255,.045);
  --sgh-topup-edge:rgba(255,255,255,.10);
  --sgh-topup-highlight:rgba(255,255,255,.08);
  --sgh-topup-shadow:rgba(3,1,10,.18);
  --sgh-topup-accent:rgba(169,130,227,.32);
}
html[data-theme=light] {
  --sgh-topup-panel:var(--sgh-card);
  --sgh-topup-tile:var(--sgh-light-field);
  --sgh-topup-edge:rgba(87,62,126,.14);
  --sgh-topup-highlight:rgba(255,255,255,.45);
  --sgh-topup-shadow:rgba(55,35,84,.06);
  --sgh-topup-accent:rgba(125,81,178,.4);
}
