@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-cyrillic-ext-400-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/inter-cyrillic-ext-500-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/inter-cyrillic-ext-600-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-cyrillic-ext-700-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/plus-jakarta-sans-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/plus-jakarta-sans-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================================
   ZENTOSTORE — STITCH CYBER-FINTECH GAMING MARKETPLACE DESIGN SYSTEM
   ========================================================================== */
:root {
  --surface: #0f131d;
  --surface-lowest: #0a0e18;
  --surface-low: #171b26;
  --surface-container: #1c1f2a;
  --surface-high: #262a35;
  --surface-highest: #313540;
  --surface-bright: #353944;

  --on-surface: #dfe2f1;
  --on-surface-variant: #cbc3d7;
  --outline: #958ea0;
  --outline-variant: #494454;

  --primary: #d0bcff;
  --primary-container: #a078ff;
  --on-primary-container: #1d004d;
  --secondary: #4cd7f6;
  --secondary-container: #03b5d3;
  --tertiary: #4edea3;
  --tertiary-container: #00a572;
  --error: #ffb4ab;
  --error-container: #93000a;

  /* Compatibility aliases for dynamic JS components */
  --bg: #0f131d;
  --s1: #1c1f2a;
  --s2: #262a35;
  --s3: #313540;
  --card2: #262a35;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --t: #dfe2f1;
  --mut: #958ea0;
  --dim: #6b7280;
  --a: #a078ff;
  --a-hi: #d0bcff;
  --a2: #4cd7f6;
  --a2-hi: #acedff;
  --ok: #4edea3;
  --red: #ffb4ab;

  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --grad-cta: linear-gradient(135deg, #a078ff 0%, #4cd7f6 100%);
  --grad-violet: linear-gradient(135deg, #a078ff 0%, #7658e8 100%);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
  --glow-violet: 0 0 24px -4px rgba(160, 120, 255, 0.32);
  --glow-cyan: 0 0 24px -4px rgba(76, 215, 246, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--surface);
  color: var(--on-surface);
}

body {
  background: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

::selection {
  background: var(--primary-container);
  color: var(--on-primary-container);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-tertiary { color: var(--tertiary) !important; }
.text-outline { color: var(--outline) !important; }
.code-text { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.01em; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.zs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 19, 29, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.zs-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.zs-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo-mark svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(160, 120, 255, 0.4));
}

.logo-text b {
  color: var(--secondary);
  font-weight: 800;
}

.zs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.zs-nav .nav-link {
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--on-surface-variant);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.zs-nav .nav-link:hover {
  color: var(--on-surface);
  background: var(--surface-container);
}

.zs-nav .nav-link.active {
  background: var(--surface-high);
  color: var(--primary);
}

.zs-search-wrap {
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 460px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface-lowest);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0 10px 0 12px;
  height: 40px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(76, 215, 246, 0.15);
}

.search-ico {
  width: 17px;
  height: 17px;
  color: var(--outline);
  margin-right: 8px;
  flex-shrink: 0;
}

.search input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12.5px;
  color: var(--on-surface);
}

.search input::placeholder {
  color: var(--outline);
}

.search-kbd {
  font-size: 11px;
  font-weight: 600;
  color: var(--outline);
  background: var(--surface-container);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
  margin-left: 6px;
}

.zs-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pill-selectors {
  display: flex;
  align-items: center;
  background: var(--surface-low);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 3px 6px;
}

.sel-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sel-ico {
  width: 14px;
  height: 14px;
  color: var(--tertiary);
  margin-left: 4px;
}

.pill-selectors select {
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 6px;
  cursor: pointer;
  color: var(--on-surface);
}

.cur-wrap select {
  color: var(--tertiary);
}

.pill-selectors select option {
  background: var(--surface-container);
  color: var(--on-surface);
}

.sel-divider {
  width: 1px;
  height: 16px;
  background: var(--outline-variant);
  margin: 0 4px;
}

.tracker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-high);
  border: 1px solid rgba(76, 215, 246, 0.25);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.tracker-pill svg {
  width: 15px;
  height: 15px;
}

.tracker-pill:hover {
  background: var(--surface-bright);
  border-color: var(--secondary);
}

.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--surface-low);
  border: 1px solid var(--line);
  color: var(--on-surface-variant);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--surface-high);
  color: var(--on-surface);
  border-color: var(--secondary);
}

.hb i {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: #002a32;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--surface);
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: var(--surface-high);
  border: 1px solid rgba(208, 188, 255, 0.25);
  cursor: pointer;
  transition: all 0.18s;
}

.profile-trigger:hover {
  background: var(--surface-bright);
  border-color: var(--primary);
}

.avatar-ring {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a078ff, #03b5d3);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring svg {
  width: 16px;
  height: 16px;
}

.online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tertiary);
  border: 2px solid var(--surface);
}

.profile-trigger-text {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--on-surface);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snav {
  display: none;
}

/* ==========================================================================
   MAIN CONTAINER & AMBIENT GLOW ORBS
   ========================================================================== */
.zs-main {
  position: relative;
  flex: 1;
  padding: 28px 0 48px;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(115px);
  pointer-events: none;
  z-index: 0;
}

.orb-violet {
  top: 40px;
  right: 18%;
  width: 380px;
  height: 380px;
  background: rgba(160, 120, 255, 0.1);
}

.orb-cyan {
  top: 280px;
  left: 5%;
  width: 320px;
  height: 320px;
  background: rgba(76, 215, 246, 0.08);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ==========================================================================
   VIEW 1: STITCH PROFILE HERO BANNER & FINTECH WALLET GRID
   ========================================================================== */
.profile-hero-card {
  position: relative;
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.profile-hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 42, 53, 0.65) 0%, transparent 55%, rgba(160, 120, 255, 0.08) 100%);
  pointer-events: none;
}

.profile-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-avatar-box {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-frame {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2b1d52 0%, #112a38 100%);
  border: 2px solid rgba(160, 120, 255, 0.45);
  box-shadow: var(--glow-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.tg-verified-pill {
  position: absolute;
  bottom: -6px;
  right: -6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tertiary-container);
  color: #002113;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-title-row h1 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--on-surface);
}

.profile-username {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--secondary);
}

.profile-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(78, 222, 163, 0.14);
  color: var(--tertiary);
  font-size: 11px;
  font-weight: 700;
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--outline-variant);
}

.profile-vip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--surface-high);
  border: 1px solid rgba(208, 188, 255, 0.2);
  color: var(--primary);
  font-size: 12px;
}

.vip-next-hint {
  font-size: 12px;
  color: var(--outline);
}

.profile-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.btn-surface-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--surface-high);
  border: 1px solid var(--line);
  color: var(--on-surface);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.18s;
}

.btn-surface-action:hover {
  background: var(--surface-bright);
  border-color: var(--secondary);
}

.btn-login-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--grad-cta);
  border: 0;
  color: #0b0f19;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-login-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-logout-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  background: var(--surface-low);
  border: 1px solid rgba(255, 180, 171, 0.25);
  color: var(--error);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-logout-danger:hover {
  background: rgba(147, 0, 10, 0.35);
}

/* FINTECH 12-COLUMN GRID */
.fintech-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.fintech-col-left {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fintech-col-right {
  grid-column: span 7;
}

.wallet-card {
  position: relative;
  background: var(--surface-high);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.wallet-glow {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(160, 120, 255, 0.24) 0%, rgba(76, 215, 246, 0.12) 50%, transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}

.wallet-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wallet-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-container);
  color: var(--on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wallet-brand h2 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--on-surface);
  padding: 0;
}

.wallet-brand h2::before {
  display: none;
}

.wallet-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--tertiary);
}

.wallet-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-container);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wallet-label {
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.wallet-balance-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 12px;
}

.wallet-amount {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--on-surface);
}

.wallet-curr {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
}

.wallet-conversions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(10, 14, 24, 0.72);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.wallet-feature-note {
  margin: 16px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-low);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.wallet-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-gradient-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 0;
  background: var(--grad-cta);
  color: #120038;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(160, 120, 255, 0.25);
  transition: all 0.18s;
}

.btn-gradient-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(160, 120, 255, 0.4);
}

.btn-surface-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-container);
  color: var(--on-surface);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-surface-cta:hover {
  background: var(--surface-bright);
}

.spark-card {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.spark-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--outline);
}

.spark-val {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--tertiary);
  margin-top: 2px;
}

.spark-sub {
  display: block;
  font-size: 11.5px;
  color: var(--outline);
  margin-top: 2px;
}

.spark-chart {
  width: 112px;
  height: 40px;
  color: var(--tertiary);
  flex-shrink: 0;
}

/* RIGHT: TOP-UP CARD */
.topup-card {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.topup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.topup-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topup-title-group h2 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  padding: 0;
}

.topup-title-group h2::before {
  display: none;
}

.topup-title-group p {
  font-size: 12px;
  color: var(--on-surface-variant);
}

.curr-pill-group {
  display: inline-flex;
  padding: 4px;
  border-radius: 9px;
  background: var(--surface-lowest);
  border: 1px solid var(--line);
}

.curr-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: var(--on-surface-variant);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s;
}

.curr-btn.active {
  background: var(--surface-high);
  color: var(--primary);
}

.field-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--outline);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.preset-btn {
  padding: 10px 6px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--on-surface);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s;
}

.preset-btn:hover {
  background: var(--surface-bright);
}

.preset-btn.active {
  background: rgba(160, 120, 255, 0.2);
  border-color: var(--primary-container);
  color: var(--primary);
  box-shadow: 0 0 14px rgba(160, 120, 255, 0.22);
}

.custom-amount-box {
  display: flex;
  align-items: center;
  background: var(--surface-lowest);
  border: 1px solid var(--line2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-amount-box:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(76, 215, 246, 0.15);
}

.custom-amount-box input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--on-surface);
  margin-left: 8px;
}

.custom-curr-tag {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
}

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.gateway-card {
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface-high);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76px;
  transition: all 0.18s;
}

.gateway-card:hover {
  background: var(--surface-bright);
}

.gateway-card.active {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary), var(--glow-cyan);
}

.gateway-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gateway-card-top strong {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--on-surface);
}

.gateway-fee {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(0, 165, 114, 0.25);
  color: var(--tertiary);
  font-size: 10px;
  font-weight: 700;
}

.gateway-sub {
  font-size: 11.5px;
  color: var(--outline);
  margin-top: 6px;
}

.topup-footer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.topup-promo-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--surface-lowest);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  height: 46px;
}

.topup-promo-box input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
  text-transform: uppercase;
  margin-left: 8px;
}

.topup-promo-box button {
  background: transparent;
  border: 0;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.topup-submit {
  flex: 1;
  height: 46px;
}

/* ==========================================================================
   DASHBOARD TABS (ORDERS, DEPOSITS, SAVED ACCOUNTS)
   ========================================================================== */
.dashboard-tabs-section {
  margin-bottom: 36px;
}

.dash-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--surface-container);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.dash-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--on-surface-variant);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.dash-tab-btn:hover {
  background: var(--surface-container);
  color: var(--on-surface);
}

.dash-tab-btn.active {
  background: var(--surface-high);
  color: var(--primary);
  font-weight: 700;
  border-color: rgba(208, 188, 255, 0.2);
}

.tab-badge {
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(208, 188, 255, 0.18);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
}

.tab-badge.cyan {
  background: rgba(76, 215, 246, 0.18);
  color: var(--secondary);
}

.order-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.filter-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: var(--surface-low);
  color: var(--on-surface-variant);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.filter-chip:hover {
  background: var(--surface-high);
  color: var(--on-surface);
}

.filter-chip.active {
  background: var(--surface-high);
  color: var(--tertiary);
  font-weight: 700;
}

.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--outline);
}

.orders-list-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stitch-order-row {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.18s;
}

.stitch-order-row:hover {
  background: var(--surface-high);
  border-color: rgba(160, 120, 255, 0.35);
}

.stitch-order-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.stitch-order-thumb {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--surface-highest);
  padding: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.stitch-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.stitch-order-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stitch-order-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.order-code-badge {
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
}

.stitch-order-title {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-order-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--on-surface-variant);
}

.stitch-order-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.stitch-order-price-box {
  text-align: right;
}

.stitch-order-price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--on-surface);
}

.stitch-order-note {
  font-size: 11px;
  color: var(--tertiary);
  font-weight: 600;
}

.stitch-order-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-order-act {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-high);
  color: var(--on-surface);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.btn-order-act:hover {
  background: var(--surface-bright);
  border-color: var(--secondary);
}

.btn-order-act.repeat {
  background: var(--surface-low);
  color: var(--primary);
}

/* SAVED GAME IDS TAB */
.saved-accounts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.saved-accounts-head p {
  color: var(--on-surface-variant);
  font-size: 13.5px;
}

.btn-add-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 9px;
  border: 0;
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s;
}

.btn-add-account:hover {
  filter: brightness(1.1);
}

.saved-accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.saved-acc-card {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  transition: border-color 0.18s;
}

.saved-acc-card:hover {
  border-color: rgba(160, 120, 255, 0.45);
}

.saved-acc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.saved-acc-game {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(208, 188, 255, 0.15);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.saved-acc-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-top: 6px;
}

.saved-acc-code-bar {
  background: var(--surface-lowest);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.saved-acc-code-bar span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-acc-btns {
  display: flex;
  gap: 6px;
}

.saved-acc-btns button {
  background: var(--surface-high);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--on-surface-variant);
}

.saved-acc-btns button:hover {
  color: var(--on-surface);
  border-color: var(--secondary);
}

/* ==========================================================================
   VIEW 2: STOREFRONT CATALOG, HERO, STARS, PRODUCTS, REVIEWS
   ========================================================================== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 40px;
  align-items: center;
  padding: 36px 42px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(160, 120, 255, 0.2), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(76, 215, 246, 0.14), transparent 70%),
    var(--surface-container);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(160, 120, 255, 0.4);
  background: rgba(160, 120, 255, 0.12);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 8px var(--tertiary);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--on-surface);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #d0bcff, #4cd7f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  color: var(--on-surface-variant);
  font-size: 15px;
  max-width: 540px;
  margin: 14px 0 22px;
  line-height: 1.65;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.facts {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.facts div b {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--on-surface);
}

.facts div small {
  color: var(--outline);
  font-size: 12px;
  font-weight: 500;
}

.wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  aspect-ratio: 1 / 0.84;
}

.wall a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-high);
  border: 1px solid var(--line);
  display: block;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.wall a:hover {
  transform: translateY(-3px);
  border-color: var(--primary-container);
  box-shadow: var(--glow-violet);
}

.wall a:nth-child(1) {
  grid-column: span 3;
  grid-row: span 3;
}

.wall a:nth-child(n+2) {
  grid-column: span 3;
  grid-row: span 1;
}

.wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wall a::after {
  content: attr(data-n);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  font-weight: 700;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(10, 14, 24, 0.92));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid rgba(76, 215, 246, 0.25);
  cursor: pointer;
  background: var(--grad-violet);
  color: #fff;
  white-space: nowrap;
  transition: all 0.18s;
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: var(--glow-violet);
}

.btn.sec {
  background: var(--surface-high);
  color: var(--on-surface);
  border-color: var(--line2);
}

.btn.sec:hover {
  background: var(--surface-bright);
  border-color: var(--secondary);
  box-shadow: none;
}

.btn.ghost {
  background: rgba(76, 215, 246, 0.1);
  color: var(--secondary);
  border-color: rgba(76, 215, 246, 0.35);
}

.btn.ghost:hover {
  background: rgba(76, 215, 246, 0.18);
}

.btn.big {
  height: 48px;
  font-size: 14.5px;
  width: 100%;
}

.btn.sm {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.btn.gold {
  background: var(--grad-cta);
  color: #120038;
  font-weight: 800;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* SECTIONS */
section {
  margin-bottom: 34px;
}

.sh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

h2 {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--primary-container), var(--secondary));
}

.sh small, h2 small {
  color: var(--outline);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  margin-left: 8px;
}

.link {
  background: none;
  border: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.link:hover {
  text-decoration: underline;
}

/* FEATURED CARDS */
.feat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 12px;
}

.fcard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.18s;
}

.fcard:hover {
  background: var(--surface-high);
  border-color: var(--primary-container);
  transform: translateY(-2px);
  box-shadow: var(--glow-violet);
}

.fcard img {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.fcard b {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.fcard small {
  color: var(--outline);
  font-size: 12px;
}

.fcard .ico {
  width: 52px;
  height: 52px;
  border-radius: 11px;
  background: rgba(76, 215, 246, 0.15);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

/* STARS MODULE */
.sp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  background:
    radial-gradient(500px 260px at 0% 0%, rgba(76, 215, 246, 0.14), transparent 70%),
    var(--surface-container);
  border: 1px solid rgba(76, 215, 246, 0.3);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.sp .l h2 {
  margin-bottom: 10px;
}

.sp .l p {
  color: var(--on-surface-variant);
  margin-bottom: 16px;
  max-width: 460px;
}

.sp .trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp .trust span {
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(78, 222, 163, 0.1);
  border: 1px solid rgba(78, 222, 163, 0.28);
  color: var(--tertiary);
  font-size: 11.5px;
  font-weight: 600;
}

.sp .prem {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp .prem span {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface-high);
  border: 1px solid var(--line2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.16s;
}

.sp .prem span:hover {
  border-color: var(--secondary);
  background: var(--surface-bright);
}

.sp .r {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10, 14, 24, 0.55);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.sp label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--outline);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sp .pre {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sp .pre button {
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-high);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}

.sp .pre button.on {
  background: rgba(160, 120, 255, 0.22);
  border-color: var(--primary-container);
  color: var(--primary);
}

.sp input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line2);
  background: var(--surface-lowest);
  outline: none;
}

.sp input:focus {
  border-color: var(--secondary);
}

.sp .sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 0;
}

.sp .sum b {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
}

/* CATALOG CONTAINER & GRIDS */
#catalog {
  background: var(--surface-low);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 14px;
}

.game {
  cursor: pointer;
  min-width: 0;
}

.game .imgw {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-high);
  border: 2px solid transparent;
  transition: all 0.2s;
}

.game img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game:hover img {
  transform: scale(1.06);
}

.game:hover .imgw, .game.on .imgw {
  border-color: var(--primary-container);
  box-shadow: var(--glow-violet);
}

.game b {
  display: -webkit-box;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.game small {
  color: var(--outline);
  font-size: 11.5px;
}

.game.all .imgw {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(160, 120, 255, 0.22), rgba(76, 215, 246, 0.16));
}

.game.all .imgw svg {
  width: 38%;
  color: var(--primary);
}

.listing {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ltop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ltop select {
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--surface-high);
  border: 1px solid var(--line2);
  font-size: 12.5px;
  font-weight: 600;
}

.crumbs {
  margin-bottom: 10px;
}

.crumbs a {
  color: var(--secondary);
  font-weight: 700;
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface-high);
  border: 1px solid var(--line);
  color: var(--on-surface-variant);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.chip:hover {
  color: var(--on-surface);
  border-color: var(--secondary);
}

.chip.on {
  background: rgba(160, 120, 255, 0.2);
  border-color: var(--primary-container);
  color: var(--primary);
}

.chip small {
  opacity: 0.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.card {
  position: relative;
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 0;
}

.card:hover {
  background: var(--surface-high);
  border-color: rgba(160, 120, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: var(--glow-violet);
}

.card .hd {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card .hd img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.card .cat {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--outline);
}

.card h3 {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  flex: 1;
}

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-highest);
  color: var(--on-surface-variant);
}

.tag.g {
  background: rgba(78, 222, 163, 0.14);
  color: var(--tertiary);
}

.tag.y {
  background: rgba(76, 215, 246, 0.14);
  color: var(--secondary);
}

.card .foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
}

.price s {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--outline);
}

.until {
  font-size: 11px;
  color: var(--error);
  font-weight: 600;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(78, 222, 163, 0.18);
  color: var(--tertiary);
  border: 1px solid rgba(78, 222, 163, 0.4);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.badge.no {
  background: var(--surface-highest);
  color: var(--outline);
  border-color: var(--line);
}

.more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px 20px;
  color: var(--outline);
  border: 1px dashed var(--line2);
  border-radius: 14px;
}

/* REVIEWS, STEPS, FAQ */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}

.rev {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rev .h {
  display: flex;
  justify-content: space-between;
  color: var(--secondary);
  letter-spacing: 1.5px;
}

.rev .h small {
  color: var(--outline);
  letter-spacing: 0;
}

.rev .pn {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  counter-reset: st;
}

.steps div {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  counter-increment: st;
}

.steps div::before {
  content: "0" counter(st);
  display: block;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.steps b {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  margin-bottom: 4px;
}

.steps p {
  color: var(--on-surface-variant);
  font-size: 13px;
}

.faq details {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--secondary);
  font-size: 18px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  color: var(--on-surface-variant);
  margin-top: 8px;
  font-size: 13.5px;
}

/* ==========================================================================
   VIEW 3 & 4: TRACKER & OPERATOR PANEL
   ========================================================================== */
.tracker-section-card, .operator-section-card {
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.tracker-head, .operator-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.operator-head {
  justify-content: space-between;
}

.tracker-head h2, .operator-head h2 {
  padding: 0;
}

.tracker-head h2::before, .operator-head h2::before {
  display: none;
}

.tracker-head p, .operator-head p {
  color: var(--on-surface-variant);
  font-size: 13px;
}

.tracker-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-lowest);
  border: 1px solid var(--line2);
  border-radius: 12px;
  padding: 8px 12px;
  max-width: 580px;
}

.tracker-hash {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  padding-left: 6px;
}

.tracker-search-bar input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 16px;
  font-weight: 700;
}

.tracker-search-bar .btn-gradient-cta {
  flex: 0 0 auto;
}

.tracker-result-box {
  margin-top: 20px;
}

.operator-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.op-stat-card {
  background: var(--surface-high);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.op-stat-card small {
  color: var(--outline);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.op-stat-card b {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  margin-top: 4px;
}

/* ==========================================================================
   LIVE TELEGRAM SUPPORT DOCK & FOOTER
   ========================================================================== */
.support-dock-banner {
  background: linear-gradient(90deg, var(--surface-high) 0%, var(--surface-container) 50%, var(--surface-high) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.support-dock-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.support-dock-ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: rgba(76, 215, 246, 0.14);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.support-dock-left h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.support-dock-left p {
  font-size: 13px;
  color: var(--on-surface-variant);
}

.support-dock-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-support-dock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--surface-highest);
  border: 1px solid rgba(76, 215, 246, 0.35);
  color: var(--secondary);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.18s;
}

.btn-support-dock:hover {
  background: var(--surface-bright);
}

.btn-support-dock.secondary {
  border-color: var(--line2);
  color: var(--on-surface);
}

.zs-footer {
  background: var(--surface-lowest);
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-desc {
  color: var(--on-surface-variant);
  font-size: 13px;
  max-width: 360px;
  margin: 12px 0 16px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.f-badge {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface-container);
  font-size: 11px;
  font-weight: 700;
}

.f-badge.cyan { color: var(--secondary); }
.f-badge.green { color: var(--tertiary); }
.f-badge.violet { color: var(--primary); }
.f-badge.muted { color: var(--outline); }

.footer-grid h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--on-surface-variant);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-gw-note {
  font-size: 12px;
  color: var(--outline);
  margin-bottom: 10px;
}

.footer-gw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gw-chip {
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--surface-container);
  border: 1px solid var(--line2);
  color: var(--on-surface-variant);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s;
}

.gw-chip:hover, .gw-chip.active {
  background: var(--surface-high);
  border-color: var(--secondary);
  color: var(--secondary);
}

.gw-chip.green {
  color: var(--tertiary);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--outline);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ssl-pill {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(78, 222, 163, 0.1);
  border: 1px solid rgba(78, 222, 163, 0.25);
  color: var(--tertiary);
  font-size: 11px;
  font-weight: 700;
}

.footer-link-btn {
  background: none;
  border: 0;
  color: var(--on-surface-variant);
  font-size: 12.5px;
  cursor: pointer;
}

.footer-link-btn:hover {
  color: var(--primary);
}

/* FLOATING BOT CTA */
.floating-bot-Wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
}

.floating-bot-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--grad-cta);
  color: #120038;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(76, 215, 246, 0.35);
  transition: transform 0.18s;
}

.floating-bot-btn:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   MODALS, PRODUCT DRAWER, CART, RECEIPT & PRIVACY
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.82);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 18px;
}

.modal.on {
  display: flex;
}

.box {
  background: var(--surface-container);
  border: 1px solid rgba(160, 120, 255, 0.35);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
}

.box.wide {
  max-width: 900px;
}

.box .body {
  padding: 26px;
}

.box .body > h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 12px;
}

.x, .x-inline {
  background: var(--surface-high);
  border: 1px solid var(--line2);
  color: var(--on-surface);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.pg {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.pg .side {
  background: rgba(23, 27, 38, 0.8);
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pg .side img.pic {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.pg .side .meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.pg .main {
  padding: 24px 26px;
}

.eb {
  color: var(--secondary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pg h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin: 6px 0 10px;
  padding-right: 32px;
}

.desc {
  color: var(--on-surface-variant);
  margin-bottom: 14px;
  white-space: pre-line;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

.form label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--outline);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.form input, .form textarea, .promo input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line2);
  background: var(--surface-lowest);
  outline: none;
}

.form input:focus, .form textarea:focus, .promo input:focus {
  border-color: var(--secondary);
}

.un {
  position: relative;
}

.un i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: var(--secondary);
  font-weight: 800;
}

.un input {
  padding-left: 30px !important;
}

.hint {
  font-size: 11.5px;
  color: var(--outline);
  margin-top: 4px;
}

.saved-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.saved-quick-btn {
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(76, 215, 246, 0.14);
  border: 1px solid rgba(76, 215, 246, 0.35);
  color: var(--secondary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.buyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--surface-high);
}

.qty button {
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 17px;
  cursor: pointer;
}

.qty span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

.line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.line .nm {
  flex: 1;
}

.line .nm b {
  display: block;
}

.line .nm small {
  display: block;
  color: var(--outline);
}

.line .sum {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
}

.line .rm {
  background: none;
  border: 0;
  color: var(--outline);
  cursor: pointer;
}

.tot {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--on-surface-variant);
}

.tot.f {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--on-surface);
  padding-top: 12px;
}

.promo {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.err, .err-box {
  background: rgba(255, 180, 171, 0.12);
  border: 1px solid rgba(255, 180, 171, 0.4);
  color: var(--error);
  padding: 10px 13px;
  border-radius: 9px;
  margin: 8px 0;
  font-size: 13px;
}

.okb {
  background: rgba(78, 222, 163, 0.12);
  border: 1px solid rgba(78, 222, 163, 0.4);
  color: var(--tertiary);
  padding: 10px 13px;
  border-radius: 9px;
  margin: 8px 0;
  font-size: 13px;
}

.pm {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  background: var(--surface-high);
}

.pm.on {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary) inset;
}

.pm .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--line2);
}

.pm.on .dot {
  border-color: var(--secondary);
  background: var(--secondary);
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--surface-highest);
  color: var(--on-surface-variant);
}

.st.COMPLETED {
  background: rgba(78, 222, 163, 0.15);
  color: var(--tertiary);
}

.st.WAITING_PAYMENT, .st.CHECKING_PAYMENT, .st.PAID, .st.PROCESSING {
  background: rgba(76, 215, 246, 0.15);
  color: var(--secondary);
}

.st.CANCELLED, .st.PAYMENT_REJECTED {
  background: rgba(255, 180, 171, 0.15);
  color: var(--error);
}

.cp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-lowest);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 10px 12px;
  margin: 8px 0;
}

.cp small {
  display: block;
  color: var(--outline);
  font-size: 11px;
}

.cp code {
  font-weight: 700;
  font-size: 14px;
  word-break: break-all;
}

.cp button {
  background: var(--grad-violet);
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.delivery {
  background: rgba(78, 222, 163, 0.1);
  border: 1px solid rgba(78, 222, 163, 0.4);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  white-space: pre-wrap;
}

.rcpt-box, .privacy-box {
  padding: 24px;
}

.rcpt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.rcpt-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rcpt-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.rcpt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--on-surface-variant);
}

.rcpt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}

.rcpt-actions {
  display: flex;
  gap: 10px;
}

.rcpt-actions .btn {
  flex: 1;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.privacy-item {
  background: var(--surface-low);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.privacy-item h5 {
  font-family: var(--font-head);
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--primary);
}

.privacy-item p {
  font-size: 12.5px;
  color: var(--on-surface-variant);
}

.tg {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 10px 0;
}

.tg .spin {
  width: 30px;
  height: 30px;
  border: 3px solid var(--line2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: sp 1s linear infinite;
}

@keyframes sp {
  to { transform: rotate(360deg); }
}

#toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 80px);
  background: var(--surface-high);
  border: 1px solid var(--secondary);
  color: var(--on-surface);
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 10px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

#toast.on {
  transform: translate(-50%, 0);
  opacity: 1;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ALL PHONES: SE 320px, MINI 375px, PRO MAX 430px, DUO/FOLD 540-768px)
   ========================================================================== */
@media (max-width: 1260px) {
  .zs-nav { display: none; }
  .snav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 24px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .snav::-webkit-scrollbar { display: none; }
  .snav-link {
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--surface-low);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 600;
    color: var(--on-surface-variant);
    white-space: nowrap;
    flex-shrink: 0;
  }
  .snav-link.active {
    background: var(--surface-high);
    color: var(--primary);
    border-color: rgba(208, 188, 255, 0.35);
  }
  .fintech-col-left, .fintech-col-right {
    grid-column: span 12;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .wall {
    max-width: 540px;
  }
  .sp {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Surface Duo / Foldables / Large Phablets & Standard Phones (<= 768px) */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 138px;
  }
  .zs-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .zs-header-inner, .wrap {
    padding-left: max(14px, env(safe-area-inset-left, 14px));
    padding-right: max(14px, env(safe-area-inset-right, 14px));
  }
  .zs-header-inner {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 8px;
    gap: 8px;
  }
  .logo {
    font-size: 17px;
    gap: 8px;
  }
  .logo-mark svg {
    width: 28px;
    height: 28px;
  }
  .zs-tools {
    margin-left: auto;
    gap: 6px;
  }
  .pill-selectors {
    padding: 2px 4px;
  }
  .pill-selectors select {
    font-size: 11.5px;
    padding: 3px 4px;
  }
  .tracker-pill {
    padding: 6px 9px;
  }
  .tracker-pill span {
    display: none;
  }
  .icon-btn {
    width: 34px;
    height: 34px;
  }
  .profile-trigger {
    padding: 3px 9px 3px 4px;
    gap: 6px;
  }
  .avatar-ring {
    width: 26px;
    height: 26px;
    font-size: 11.5px;
  }
  .profile-trigger-text {
    font-size: 11.5px;
    max-width: 82px;
  }
  .zs-search-wrap {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
  .search {
    height: 38px;
  }
  .search input {
    font-size: 13px;
  }
  .search-kbd {
    display: none;
  }
  .snav {
    padding: 0 14px 9px;
    gap: 6px;
  }
  .zs-main {
    padding: 16px 0 36px;
  }
  /* Profile Hero Banner on phones */
  .profile-hero-card {
    padding: 18px 16px;
    margin-bottom: 16px;
  }
  .profile-hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .profile-hero-left {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .profile-avatar-frame {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    font-size: 26px;
  }
  .profile-title-row h1 {
    font-size: 20px;
  }
  .profile-hero-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .profile-hero-actions > * {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 10px 10px;
    font-size: 12px;
  }
  /* Wallet & Topup on phones */
  .fintech-grid {
    gap: 16px;
    margin-bottom: 24px;
  }
  .wallet-card, .topup-card {
    padding: 18px 16px;
  }
  .wallet-amount {
    font-size: 36px;
  }
  .wallet-actions {
    flex-direction: row;
  }
  .preset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gateway-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gateway-card {
    padding: 10px;
    min-height: 68px;
  }
  .topup-footer-row {
    flex-direction: column;
    align-items: stretch;
  }
  /* Dashboard Tabs & Order Cards on phones */
  .dash-tab-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .dash-tab-bar::-webkit-scrollbar { display: none; }
  .dash-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .stitch-order-row {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .stitch-order-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .stitch-order-right {
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .stitch-order-price-box {
    text-align: left;
  }
  /* Storefront Hero & Catalog on phones */
  .hero {
    padding: 20px 16px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(24px, 7vw, 34px);
  }
  .hero .lead {
    font-size: 13.5px;
    margin: 10px 0 16px;
  }
  .hero-cta-row .btn {
    flex: 1 1 calc(50% - 6px);
    padding: 0 12px;
    font-size: 12.5px;
  }
  .facts {
    gap: 18px;
    margin-top: 20px;
    padding-top: 16px;
  }
  .facts div b {
    font-size: 20px;
  }
  #catalog {
    padding: 16px 14px;
    border-radius: 18px;
  }
  .games {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card {
    padding: 12px;
    gap: 8px;
    border-radius: 14px;
  }
  .card .hd img {
    width: 36px;
    height: 36px;
  }
  .card h3 {
    font-size: 14px;
  }
  .price {
    font-size: 16.5px;
  }
  .card .foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .card .buy {
    width: 100%;
  }
  .sp {
    padding: 18px 16px;
  }
  .sp .r {
    padding: 16px;
  }
  /* Bottom-sheet Modals on mobile */
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .box {
    max-width: none;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 12px);
  }
  .box .body, .rcpt-box, .privacy-box {
    padding: 20px 16px 24px;
  }
  .pg {
    grid-template-columns: 1fr;
  }
  .pg .side {
    flex-direction: row;
    align-items: center;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .pg .side img.pic {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .pg .main {
    padding: 16px;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  /* Support dock & footer */
  .support-dock-banner {
    padding: 18px 16px;
  }
  .support-dock-actions {
    width: 100%;
  }
  .btn-support-dock {
    flex: 1;
    justify-content: center;
  }
  .zs-footer {
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  }
  /* Hide floating bottom-right bot button on mobile so it never covers content/buttons */
  .floating-bot-Wrap {
    display: none !important;
  }
}

/* Regular & Mini Phones (iPhone Mini 375px, iPhone 14/15/16 390-393px, Pro Max 430px) */
@media (max-width: 440px) {
  .profile-hero-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .profile-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .wallet-actions {
    flex-direction: column;
  }
  .sp .pre {
    grid-template-columns: repeat(2, 1fr);
  }
  .tracker-search-bar {
    flex-wrap: wrap;
  }
  .tracker-search-bar .btn-gradient-cta {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Ultra-Small Phones (iPhone SE / 5S / Fold Cover Screen: 320px - 359px) */
@media (max-width: 360px) {
  .zs-header-inner, .wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
  .logo {
    font-size: 15px;
    gap: 6px;
  }
  .logo-mark svg {
    width: 24px;
    height: 24px;
  }
  .sel-ico, .tracker-pill, .profile-trigger-text {
    display: none;
  }
  .profile-trigger {
    padding: 3px;
  }
  .pill-selectors select {
    font-size: 11px;
    padding: 2px;
  }
  .icon-btn {
    width: 32px;
    height: 32px;
  }
  .games {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gateway-grid {
    grid-template-columns: 1fr;
  }
  .floating-bot-btn span {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* Cyber Avatar & Upgraded Telegram Brand Emblem */
.avatar-ring-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-avatar-frame {
  padding: 3px;
  background: var(--surface-highest);
  overflow: hidden;
  position: relative;
}
.profile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}
.stars-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0 !important;
}
.stars-heading-row::before {
  display: none !important;
}
.tg-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(76, 215, 246, 0.45);
  border: 1px solid rgba(76, 215, 246, 0.4);
  flex-shrink: 0;
}
.fcard.star .ico {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(76, 215, 246, 0.4);
  box-shadow: 0 0 16px rgba(76, 215, 246, 0.3);
}
.fcard.star .ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Custom Cyber-Fintech Glassmorphism Dropdowns (Currency & Language) */
.custom-dd {
  position: relative;
}
.dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 0;
  background: transparent;
  color: var(--on-surface);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.dd-trigger:hover {
  background: var(--surface-high);
}
.cur-trigger {
  color: var(--tertiary);
}
.dd-caret {
  width: 13px;
  height: 13px;
  opacity: 0.75;
  transition: transform 0.18s ease;
}
.custom-dd.open .dd-caret {
  transform: rotate(180deg);
}
.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 148px;
  background: rgba(23, 27, 38, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(160, 120, 255, 0.35);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.75), 0 0 20px rgba(76, 215, 246, 0.15);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 100;
}
.dd-menu-right {
  left: auto;
  right: 0;
}
.custom-dd.open .dd-menu {
  display: flex;
}
.dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--on-surface);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.dd-item small {
  color: var(--outline);
  font-size: 11px;
  font-weight: 500;
}
.dd-item:hover {
  background: var(--surface-high);
  color: var(--secondary);
}
.dd-item.active {
  background: rgba(160, 120, 255, 0.2);
  color: var(--primary);
  font-weight: 700;
}
.dd-item.active small {
  color: var(--secondary);
}
.tg-official-ico {
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.45));
}
