/* ==========================================================================
   CS2Drop — Dark Neon Cyber-Luxury Mystery Box Stylesheet
   ========================================================================== */

:root {
  --bg-obsidian: #070a11;
  --bg-surface: #0d121e;
  --bg-card: #121929;
  --bg-card-hover: #172035;
  --bg-glass: rgba(16, 23, 38, 0.78);
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-bright: rgba(148, 163, 184, 0.25);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Neon Accents */
  --neon-cyan: #22d3ee;
  --neon-emerald: #10b981;
  --neon-purple: #a855f7;
  --neon-pink: #ec4899;
  --neon-gold: #fbbf24;
  --neon-crimson: #f43f5e;
  --tg-blue: #29a9eb;

  /* Rarity Tiers */
  --rarity-mythic: #fbbf24;
  --rarity-legendary: #f43f5e;
  --rarity-epic: #a855f7;
  --rarity-rare: #38bdf8;
  --rarity-common: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-glow-emerald: 0 0 24px rgba(16, 185, 129, 0.35);
  --shadow-glow-purple: 0 0 28px rgba(168, 85, 247, 0.35);
  --shadow-glow-gold: 0 0 32px rgba(251, 191, 36, 0.4);
  --font-main: "Inter", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, monospace;
}

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

html, body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Cyberpunk Background Grid & Glow Orbs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.14), transparent 38%),
    radial-gradient(circle at 85% 15%, rgba(34, 211, 238, 0.11), transparent 36%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.08), transparent 42%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Confetti / Particle Canvas Overlay */
#fx-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #0a0e17; }
::-webkit-scrollbar-thumb { background: #26324d; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #3b4b70; }

/* ==========================================================================
   Live Drops Ticker (Top Strip)
   ========================================================================== */

.live-ticker-bar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  height: 58px;
  background: rgba(9, 13, 22, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.live-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.16), rgba(9, 13, 22, 0.98));
  border-right: 1px solid var(--border-subtle);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon-emerald);
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.ticker-track::-webkit-scrollbar { display: none; }

.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 4px 12px 4px 8px;
  background: rgba(18, 25, 41, 0.9);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--rarity-common);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  animation: slideInTicker 0.35s ease;
}

@keyframes slideInTicker {
  from { opacity: 0; transform: translateX(-16px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.ticker-item:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.ticker-item.rarity-mythic { border-left-color: var(--rarity-mythic); box-shadow: inset 6px 0 14px -8px rgba(251, 191, 36, 0.55); }
.ticker-item.rarity-legendary { border-left-color: var(--rarity-legendary); box-shadow: inset 6px 0 14px -8px rgba(244, 63, 94, 0.5); }
.ticker-item.rarity-epic { border-left-color: var(--rarity-epic); box-shadow: inset 6px 0 14px -8px rgba(168, 85, 247, 0.45); }
.ticker-item.rarity-rare { border-left-color: var(--rarity-rare); }

.ticker-art {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-art svg { width: 32px; height: 32px; }

.ticker-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.ticker-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticker-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-secondary);
}
.ticker-price {
  color: var(--neon-emerald);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Main Header / Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(10, 14, 24, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-cube {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #a855f7 55%, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.45);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  transform: rotate(-4deg);
  transition: transform 0.25s ease;
}
.brand-logo:hover .brand-cube { transform: rotate(6deg) scale(1.06); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-title {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #fff, #c4b5fd 55%, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav-btn.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
}

.nav-badge {
  background: var(--neon-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  font-family: var(--font-mono);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 15px;
  font-weight: 700;
}
.icon-btn:hover {
  color: #fff;
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}
.icon-btn.active {
  color: var(--neon-cyan);
  border-color: rgba(34, 211, 238, 0.4);
}

.balance-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 5px 4px 14px;
  background: rgba(16, 24, 39, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
}

.balance-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14.5px;
  color: #ecfdf5;
}
.usdt-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-emerald);
  color: #022c22;
  font-size: 11px;
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #022c22;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}
.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.55);
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.38);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.55);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
}

.btn-tg {
  background: rgba(41, 169, 235, 0.14);
  border: 1px solid rgba(41, 169, 235, 0.42);
  color: #7dd3fc;
}
.btn-tg:hover {
  background: rgba(41, 169, 235, 0.24);
  color: #fff;
}

.btn-wallet {
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fcd34d;
}
.btn-wallet:hover {
  background: rgba(245, 158, 11, 0.22);
  color: #fff;
}
.btn-wallet.connected {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ==========================================================================
   Main Container
   ========================================================================== */

.container {
  position: relative;
  z-index: 10;
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 24px 90px;
}

.view-section {
  display: none;
  animation: fadeInView 0.28s ease;
}
.view-section.active {
  display: block;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero Banner + 3D Interactive Floating Mystery Cube
   ========================================================================== */

.hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 36px 40px;
  margin-bottom: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 80% 40%, rgba(168, 85, 247, 0.25), transparent 52%),
    radial-gradient(circle at 20% 80%, rgba(34, 211, 238, 0.18), transparent 48%),
    linear-gradient(135deg, #101727 0%, #0b101d 100%);
  border: 1px solid rgba(168, 85, 247, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--neon-cyan);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero-title .gradient-word {
  background: linear-gradient(90deg, #22d3ee, #a855f7 50%, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 3D Rotating Cube Stage */
.hero-3d-stage {
  position: relative;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  cursor: pointer;
}

.hero-3d-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.35);
  transform: rotateX(72deg);
  animation: spinRing 14s linear infinite;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

@keyframes spinRing {
  from { transform: rotateX(72deg) rotateZ(0deg); }
  to { transform: rotateX(72deg) rotateZ(360deg); }
}

.cube-3d {
  width: 146px;
  height: 146px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatCube 9s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}

@keyframes floatCube {
  0%   { transform: translateY(0px) rotateX(-18deg) rotateY(0deg); }
  50%  { transform: translateY(-14px) rotateX(16deg) rotateY(180deg); }
  100% { transform: translateY(0px) rotateX(-18deg) rotateY(360deg); }
}

.cube-face {
  position: absolute;
  width: 146px;
  height: 146px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.38), rgba(15, 23, 42, 0.92));
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0 0 32px rgba(34, 211, 238, 0.28), 0 0 24px rgba(168, 85, 247, 0.25);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backface-visibility: visible;
}
.cube-face span.face-icon { font-size: 38px; }
.cube-face.front  { transform: translateZ(73px); border-color: rgba(34, 211, 238, 0.7); }
.cube-face.back   { transform: rotateY(180deg) translateZ(73px); border-color: rgba(236, 72, 153, 0.7); }
.cube-face.right  { transform: rotateY(90deg) translateZ(73px); border-color: rgba(251, 191, 36, 0.7); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(73px); border-color: rgba(16, 185, 129, 0.7); }
.cube-face.top    { transform: rotateX(90deg) translateZ(73px); border-color: rgba(168, 85, 247, 0.7); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(73px); border-color: rgba(56, 189, 248, 0.7); }

.hero-floating-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-chip {
  position: absolute;
  padding: 6px 11px;
  border-radius: 10px;
  background: rgba(13, 18, 30, 0.9);
  border: 1px solid var(--border-bright);
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  animation: chipBob 4s ease-in-out infinite;
}
.float-chip.c1 { top: 18px; left: 10px; border-color: rgba(251, 191, 36, 0.55); color: #fde68a; }
.float-chip.c2 { bottom: 26px; left: 20px; border-color: rgba(56, 189, 248, 0.55); color: #7dd3fc; animation-delay: 1.2s; }
.float-chip.c3 { top: 34px; right: 8px; border-color: rgba(236, 72, 153, 0.55); color: #f9a8d4; animation-delay: 0.6s; }
.float-chip.c4 { bottom: 18px; right: 16px; border-color: rgba(16, 185, 129, 0.55); color: #6ee7b7; animation-delay: 1.8s; }

@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Filter Bar & Mystery Box Grid (with 3D Hover Tilt)
   ========================================================================== */

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

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-tab:hover {
  color: #fff;
  border-color: var(--border-bright);
}
.cat-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(34, 211, 238, 0.16));
  border-color: rgba(168, 85, 247, 0.65);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input, .select-input, .text-input {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}
.search-input:focus, .select-input:focus, .text-input:focus {
  border-color: var(--neon-purple);
}

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

.box-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #141c2f 0%, #0d1322 100%);
  border: 1px solid var(--border-subtle);
  padding: 18px;
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}

.box-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.11), transparent 55%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.box-card:hover {
  border-color: var(--box-accent, rgba(168, 85, 247, 0.65));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 0 28px -8px var(--box-accent, rgba(168, 85, 247, 0.5));
}
.box-card:hover::after { opacity: 1; }

.box-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.box-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.box-cat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.box-visual {
  position: relative;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 12px;
  transform: translateZ(26px);
}

.box-visual-glow {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: 0.35;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.box-card:hover .box-visual-glow {
  opacity: 0.65;
  transform: scale(1.18);
}

.box-visual svg {
  position: relative;
  z-index: 2;
  width: 152px;
  height: 152px;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.28s ease;
}
.box-card:hover .box-visual svg {
  transform: translateY(-6px) scale(1.06);
}

.box-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.box-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  min-height: 36px;
  margin-bottom: 14px;
}

.box-top-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(7, 10, 17, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.22);
  font-size: 11.5px;
  margin-bottom: 14px;
}
.box-top-drop .top-label { color: var(--neon-gold); font-weight: 700; }
.box-top-drop .top-val { font-family: var(--font-mono); font-weight: 800; color: #fff; }

.box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.box-price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  color: var(--neon-emerald);
}

.box-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Unbox Arena (3D Case + Horizontal Roulette Spinner)
   ========================================================================== */

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

.arena-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.arena-stage {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #101727 0%, #090d16 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.arena-stage.shaking {
  animation: boxShake 0.42s ease-in-out;
}
@keyframes boxShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px) rotate(-0.6deg); }
  40% { transform: translateX(6px) rotate(0.6deg); }
  60% { transform: translateX(-4px) rotate(-0.3deg); }
  80% { transform: translateX(4px) rotate(0.3deg); }
}

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

.pill-group {
  display: inline-flex;
  background: rgba(7, 10, 17, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 11px;
  padding: 3px;
}

.pill-opt {
  padding: 6px 13px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.pill-opt.active {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.toggle-chip.active {
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--neon-cyan);
}

/* Multi-Reel Roulette Container */
.reels-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.roulette-wrapper {
  position: relative;
  height: 158px;
  border-radius: 16px;
  background: linear-gradient(180deg, #070a11 0%, #0f1626 50%, #070a11 100%);
  border: 1px solid var(--border-bright);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}

/* Vignette side shadows */
.roulette-wrapper::before,
.roulette-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 6;
  pointer-events: none;
}
.roulette-wrapper::before { left: 0; background: linear-gradient(90deg, #070a11 15%, transparent); }
.roulette-wrapper::after  { right: 0; background: linear-gradient(-90deg, #070a11 15%, transparent); }

/* Center Laser Pointer */
.roulette-pointer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fbbf24, #f43f5e, #fbbf24);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.9), 0 0 8px #f43f5e;
  z-index: 10;
  pointer-events: none;
}
.roulette-pointer::before,
.roulette-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.roulette-pointer::before { top: 0; border-top: 10px solid #fbbf24; }
.roulette-pointer::after  { bottom: 0; border-bottom: 10px solid #fbbf24; }

.roulette-track {
  display: flex;
  align-items: center;
  height: 100%;
  will-change: transform;
  padding-left: 0;
}

.roulette-slot {
  flex-shrink: 0;
  width: 140px;
  height: 136px;
  margin-right: 10px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(22, 31, 52, 0.92), rgba(11, 16, 28, 0.96));
  border: 1px solid var(--border-subtle);
  border-bottom: 3px solid var(--rarity-common);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roulette-slot.rarity-mythic {
  border-bottom-color: var(--rarity-mythic);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.2), rgba(17, 22, 37, 0.96));
}
.roulette-slot.rarity-legendary {
  border-bottom-color: var(--rarity-legendary);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.2), rgba(17, 22, 37, 0.96));
}
.roulette-slot.rarity-epic {
  border-bottom-color: var(--rarity-epic);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.18), rgba(17, 22, 37, 0.96));
}
.roulette-slot.rarity-rare {
  border-bottom-color: var(--rarity-rare);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(17, 22, 37, 0.96));
}

.roulette-slot.winner {
  transform: scale(1.06);
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.65);
  border-color: #fbbf24;
  z-index: 4;
}

.roulette-slot svg { width: 66px; height: 66px; margin-bottom: 6px; }
.slot-name {
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slot-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--neon-emerald);
  margin-top: 2px;
}

/* Action Bar below Roulette */
.arena-spin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.btn-spin-main {
  min-width: 240px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #06b6d4 60%, #a855f7);
  color: #fff;
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.45);
}
.btn-spin-main:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 42px rgba(34, 211, 238, 0.6);
}

/* Win Reveal Panel */
.win-reveal {
  display: none;
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(168, 85, 247, 0.16));
  border: 1px solid rgba(251, 191, 36, 0.45);
  animation: popWin 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.win-reveal.show { display: block; }

@keyframes popWin {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.win-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.win-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 13px;
  background: rgba(10, 14, 24, 0.9);
  border: 1px solid var(--border-bright);
  min-width: 240px;
}
.win-card svg { width: 58px; height: 58px; flex-shrink: 0; }

.win-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Drop Odds Grid */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 14px;
}
.section-heading h3 {
  font-size: 18px;
  font-weight: 800;
}

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

.odds-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--rarity-common);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.odds-card:hover { transform: translateY(-4px); }
.odds-card.rarity-mythic { border-top-color: var(--rarity-mythic); box-shadow: inset 0 16px 26px -18px rgba(251, 191, 36, 0.55); }
.odds-card.rarity-legendary { border-top-color: var(--rarity-legendary); box-shadow: inset 0 16px 26px -18px rgba(244, 63, 94, 0.5); }
.odds-card.rarity-epic { border-top-color: var(--rarity-epic); box-shadow: inset 0 16px 26px -18px rgba(168, 85, 247, 0.45); }
.odds-card.rarity-rare { border-top-color: var(--rarity-rare); box-shadow: inset 0 16px 26px -18px rgba(56, 189, 248, 0.4); }

.odds-chance {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(7, 10, 17, 0.75);
  padding: 3px 7px;
  border-radius: 6px;
}

.rarity-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
}
.rarity-pill.mythic { background: rgba(251, 191, 36, 0.2); color: #fde047; }
.rarity-pill.legendary { background: rgba(244, 63, 94, 0.2); color: #fda4af; }
.rarity-pill.epic { background: rgba(168, 85, 247, 0.2); color: #d8b4fe; }
.rarity-pill.rare { background: rgba(56, 189, 248, 0.2); color: #7dd3fc; }
.rarity-pill.common { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }

.odds-card svg { width: 88px; height: 88px; margin: 18px 0 10px; }
.odds-item-name { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.odds-item-val { font-family: var(--font-mono); font-size: 15px; font-weight: 800; color: var(--neon-emerald); }

/* ==========================================================================
   Inventory Section
   ========================================================================== */

.inv-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

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

.inv-card {
  position: relative;
  padding: 16px;
  border-radius: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--rarity-common);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inv-card.rarity-mythic { border-top-color: var(--rarity-mythic); }
.inv-card.rarity-legendary { border-top-color: var(--rarity-legendary); }
.inv-card.rarity-epic { border-top-color: var(--rarity-epic); }
.inv-card.rarity-rare { border-top-color: var(--rarity-rare); }
.inv-card.processed { opacity: 0.72; }

.inv-art {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.inv-art svg { width: 82px; height: 82px; }

.inv-claim-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  word-break: break-all;
}

.inv-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.inv-actions .btn { flex: 1; padding: 8px 10px; font-size: 12px; }

/* ==========================================================================
   Provably Fair Section
   ========================================================================== */

.fair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.panel-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 14px;
}

.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.code-box {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: #070a11;
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  word-break: break-all;
}

/* ==========================================================================
   Modals (Wallet / Deposit USDT-TRC20 / MetaMask / TronLink / Telegram / Claim)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fadeInModal 0.2s ease; }

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #131b2e 0%, #0b101d 100%);
  border: 1px solid var(--border-bright);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
  padding: 24px;
  position: relative;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-head h2 {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
}
.modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.modal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.modal-tab {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.modal-tab.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.trc20-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(7, 10, 17, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 16px;
}

.qr-wrap {
  width: 140px;
  height: 140px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.preset-btn {
  padding: 8px 4px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.preset-btn:hover, .preset-btn.active {
  border-color: var(--neon-emerald);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.wallet-provider-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(7, 10, 17, 0.7);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}
.wallet-provider-card:hover { border-color: var(--border-bright); }
.wallet-provider-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.wallet-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.wallet-icon.mm { background: linear-gradient(135deg, #f97316, #b45309); }
.wallet-icon.tl { background: linear-gradient(135deg, #ef4444, #991b1b); }

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 14px;
}
.tx-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(7, 10, 17, 0.65);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
}

/* ==========================================================================
   Floating Telegram Support & Community Widget
   ========================================================================== */

.tg-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 99px;
  border: 1px solid rgba(41, 169, 235, 0.65);
  background: linear-gradient(135deg, #29a9eb, #0284c7);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(41, 169, 235, 0.45);
  transition: transform 0.2s ease;
}
.tg-fab:hover { transform: translateY(-3px) scale(1.03); }

.tg-drawer {
  position: fixed;
  right: 22px;
  bottom: 82px;
  width: 340px;
  border-radius: 18px;
  background: #0e1625;
  border: 1px solid rgba(41, 169, 235, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.72);
  z-index: 85;
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.tg-drawer.open { display: flex; animation: popWin 0.22s ease; }

.tg-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0369a1, #1e3a8a);
}
.tg-chat-body {
  padding: 14px;
  height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #090e18;
}
.tg-msg {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}
.tg-msg.bot {
  align-self: flex-start;
  background: #172338;
  color: #e2e8f0;
  border-bottom-left-radius: 3px;
}
.tg-msg.user {
  align-self: flex-end;
  background: #0284c7;
  color: #fff;
  border-bottom-right-radius: 3px;
}

.tg-quick-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: #0d1422;
  border-top: 1px solid var(--border-subtle);
}
.tg-cmd-btn {
  padding: 4px 9px;
  border-radius: 99px;
  border: 1px solid rgba(41, 169, 235, 0.4);
  background: rgba(41, 169, 235, 0.12);
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.tg-cmd-btn:hover { background: rgba(41, 169, 235, 0.25); color: #fff; }

.tg-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #0d1422;
  border-top: 1px solid var(--border-subtle);
}
.tg-input-row input { flex: 1; }

/* ==========================================================================
   Toast Notifications
   ========================================================================== */

.toast-stack {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(14, 21, 36, 0.96);
  border: 1px solid var(--border-bright);
  border-left: 4px solid var(--neon-cyan);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  font-size: 13px;
  font-weight: 600;
  animation: slideToast 0.25s ease;
}
.toast.success { border-left-color: var(--neon-emerald); }
.toast.error   { border-left-color: var(--neon-crimson); }
.toast.gold    { border-left-color: var(--neon-gold); }
.toast.tg      { border-left-color: var(--tg-blue); }

@keyframes slideToast {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.empty-state {
  text-align: center;
  padding: 56px 20px;
  border-radius: var(--radius-lg);
  background: rgba(15, 22, 36, 0.65);
  border: 1px dashed var(--border-bright);
  color: var(--text-secondary);
}

/* ==========================================================================
   Mobile Navigation Strip, Drawer & Responsive Polish
   ========================================================================== */

.mobile-menu-btn {
  display: none;
}

.mobile-nav-strip {
  display: none;
}

.mobile-drawer {
  display: none;
}

.cw-banner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cw-info {
  min-width: 0;
  flex: 1 1 180px;
}
#cw-addr {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  word-break: break-all;
  overflow-wrap: anywhere;
  max-width: 100%;
}

@media (max-width: 1080px) {
  .navbar {
    flex-wrap: nowrap;
    padding: 10px 14px;
    gap: 8px;
  }

  .nav-left {
    gap: 10px;
    min-width: 0;
  }

  .brand-cube {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .nav-links,
  .desktop-only-actions {
    display: none !important;
  }

  .nav-right {
    flex-wrap: nowrap;
    gap: 6px;
    flex-shrink: 0;
  }

  .balance-pill {
    padding: 3px 4px 3px 9px;
    gap: 7px;
    border-radius: 10px;
  }

  .balance-amount {
    font-size: 13px;
    gap: 5px;
  }

  .usdt-dot {
    width: 17px;
    height: 17px;
    font-size: 10px;
  }

  #btn-open-deposit {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  /* Single-row horizontally scrollable nav bar directly below compact header */
  .mobile-nav-strip {
    position: sticky;
    top: 57px;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(9, 13, 22, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav-strip .nav-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
  }
  .mobile-nav-strip .nav-btn.active {
    background: rgba(168, 85, 247, 0.22);
    border-color: rgba(168, 85, 247, 0.5);
  }

  /* Slide-down Mobile Drawer for Secondary Actions */
  .mobile-drawer {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    z-index: 95;
    background: rgba(11, 16, 28, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-bright);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.72);
    padding: 14px;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-drawer.open {
    display: flex;
    animation: fadeInView 0.18s ease;
  }
  .mobile-drawer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .mobile-drawer .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
  }

  /* Hero section & clean 2x2 stacked prize chips (no overlapping on mobile) */
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 20px;
  }

  .hero-3d-stage {
    height: auto;
    flex-direction: column;
    padding-top: 24px;
    gap: 24px;
  }

  .hero-3d-ring {
    top: 8px;
    width: 210px;
    height: 210px;
  }

  .cube-3d {
    width: 124px;
    height: 124px;
  }
  .cube-face {
    width: 124px;
    height: 124px;
    font-size: 11px;
  }
  .cube-face.front  { transform: translateZ(62px); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(62px); }
  .cube-face.right  { transform: rotateY(90deg) translateZ(62px); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(62px); }
  .cube-face.top    { transform: rotateX(90deg) translateZ(62px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(62px); }

  .hero-floating-chips {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .float-chip {
    position: static !important;
    animation: none !important;
    font-size: 11px;
    padding: 7px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .fair-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px 14px 86px;
  }

  /* Compact 48x48 circular Telegram floating button at bottom-right */
  .tg-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    right: 16px;
    bottom: 16px;
    justify-content: center;
    gap: 0;
  }
  .tg-fab .tg-fab-label {
    display: none;
  }
  .tg-fab .svg-icon {
    width: 22px;
    height: 22px;
  }
  .tg-drawer {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 74px;
  }
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: 12px;
  }

  .modal-box {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .modal-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 10px;
  }

  .modal-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 11px;
    font-size: 12px;
  }

  .trc20-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  /* Stack Web3 wallet provider cards vertically so Connect buttons never clip */
  .wallet-provider-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .wallet-provider-card .btn {
    width: 100%;
    justify-content: center;
  }

  .cw-banner-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cw-banner-row .btn {
    width: 100%;
  }

  .preset-amounts {
    grid-template-columns: repeat(3, 1fr);
  }

  .toolbar-right {
    width: 100%;
  }
  .toolbar-right .search-input {
    flex: 1;
    min-width: 0;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   75% / 22% / 3% Probability Tier Bar, #BB Ticket Card & Affiliates Dashboard
   ========================================================================== */

.tier-bar-mini {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 800;
  font-family: var(--font-mono);
}
.tier-pill {
  flex: 1;
  text-align: center;
  padding: 4px 4px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
}
.tier-pill.t-common { background: rgba(148, 163, 184, 0.12); color: #cbd5e1; }
.tier-pill.t-rare   { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.35); }
.tier-pill.t-jackpot { background: rgba(251, 191, 36, 0.16); color: #fde047; border-color: rgba(251, 191, 36, 0.45); }

.tier-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 14px;
}
.tier-summary-card {
  padding: 12px 16px;
  border-radius: 13px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tier-summary-card.t-common  { border-left: 4px solid var(--rarity-common); }
.tier-summary-card.t-rare    { border-left: 4px solid var(--rarity-rare); }
.tier-summary-card.t-jackpot { border-left: 4px solid var(--rarity-mythic); }

.ticket-hero {
  text-align: center;
  padding: 18px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(41, 169, 235, 0.18), rgba(168, 85, 247, 0.16));
  border: 1px dashed rgba(41, 169, 235, 0.65);
  margin-bottom: 14px;
}
.ticket-id-big {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #7dd3fc;
  text-shadow: 0 0 18px rgba(41, 169, 235, 0.55);
}

.aff-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.22), transparent 48%),
    radial-gradient(circle at 15% 80%, rgba(168, 85, 247, 0.2), transparent 45%),
    linear-gradient(135deg, #10192b 0%, #0a101d 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  margin-bottom: 22px;
}

.aff-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.aff-stat-card {
  padding: 18px 20px;
  border-radius: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.aff-stat-card .k { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.aff-stat-card .v { font-family: var(--font-mono); font-size: 24px; font-weight: 900; color: #fff; }

.aff-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.aff-tier-box {
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-align: center;
}
.aff-tier-box.active {
  border-color: var(--neon-emerald);
  background: rgba(16, 185, 129, 0.14);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.2);
}

.aff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.aff-table th, .aff-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.aff-table th {
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .aff-hero { grid-template-columns: 1fr; }
  .aff-tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-summary-strip { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Crisp Inline SVG Icons (Replaces Emojis for Linux Chrome Compatibility)
   ========================================================================== */

.svg-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-icon.lg {
  width: 2.2em;
  height: 2.2em;
  stroke-width: 1.8;
}

.cube-face .svg-icon {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.55));
}

.wallet-icon .svg-icon {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* ==========================================================================
   Realistic Transparent PNG Prize Pedestals & Subtle Inventory Hierarchy
   ========================================================================== */

.prize-pedestal {
  --ped-color: #94a3b8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prize-pedestal.rarity-mythic    { --ped-color: #fbbf24; }
.prize-pedestal.rarity-legendary { --ped-color: #f43f5e; }
.prize-pedestal.rarity-epic      { --ped-color: #a855f7; }
.prize-pedestal.rarity-rare      { --ped-color: #38bdf8; }
.prize-pedestal.rarity-common    { --ped-color: #94a3b8; }

.pedestal-glow {
  position: absolute;
  width: 78%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ped-color) 0%, transparent 72%);
  opacity: 0.28;
  filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pedestal-disc {
  position: absolute;
  bottom: 4px;
  width: 72%;
  height: 16%;
  min-height: 8px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ped-color) 55%, transparent) 0%, transparent 72%);
  border-bottom: 1.5px solid color-mix(in srgb, var(--ped-color) 42%, transparent);
  pointer-events: none;
}

.prize-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 10px color-mix(in srgb, var(--ped-color) 32%, transparent));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), filter 0.28s ease;
}

/* Pedestal Sizes */
.prize-pedestal.size-xs {
  width: 40px;
  height: 36px;
}
.prize-pedestal.size-xs .pedestal-disc { display: none; }
.prize-pedestal.size-xs .pedestal-glow { filter: blur(6px); opacity: 0.35; }
.prize-pedestal.size-xs .prize-img { filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.7)); }

.prize-pedestal.size-sm {
  width: 74px;
  height: 58px;
}

.prize-pedestal.size-md {
  width: 118px;
  height: 78px;
  margin-bottom: 6px;
}

.prize-pedestal.size-lg {
  width: 158px;
  height: 112px;
  margin: 14px auto 8px;
}

.prize-pedestal.size-hero-box {
  width: 220px;
  height: 152px;
}
.prize-pedestal.size-hero-box .pedestal-glow {
  background: radial-gradient(circle, var(--ped-accent, var(--ped-color)) 0%, transparent 70%);
  opacity: 0.4;
  filter: blur(22px);
}
.prize-pedestal.size-hero-box .pedestal-disc {
  width: 78%;
  height: 18px;
  bottom: 2px;
}

.box-card:hover .box-flagship-img {
  transform: translateY(-7px) scale(1.07);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px color-mix(in srgb, var(--ped-color) 55%, transparent));
}
.box-card:hover .pedestal-glow {
  opacity: 0.65;
  transform: scale(1.14);
}
.odds-card:hover .prize-img,
.inv-card:hover .prize-img {
  transform: translateY(-4px) scale(1.06);
}

/* Inventory & Win Action Button Hierarchy */
.btn-emerald-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #022c22;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-emerald-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-subtle-glass {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
  font-weight: 600;
}
.btn-subtle-glass:hover:not(:disabled) {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(148, 163, 184, 0.42);
  color: #f8fafc;
}

/* Mobile Header Spacing Fix — Guarantee CS2Drop Logo Never Clips */
@media (max-width: 1080px) {
  .navbar {
    padding: 9px 10px;
    gap: 6px;
  }
  .brand-logo {
    flex-shrink: 0;
    gap: 7px;
  }
  .brand-cube {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .brand-title {
    font-size: 15px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .balance-pill {
    padding: 3px 3px 3px 8px;
    gap: 6px;
    min-width: 0;
  }
  .balance-amount {
    font-size: 12.5px;
    gap: 4px;
  }
  #btn-open-deposit {
    padding: 5px 9px;
    font-size: 11.5px;
  }
  .mobile-menu-btn {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 390px) {
  .navbar {
    padding: 8px 8px;
    gap: 5px;
  }
  .brand-title {
    font-size: 13.5px;
  }
  .balance-amount {
    font-size: 11.5px;
  }
  #btn-open-deposit {
    padding: 5px 7px;
    font-size: 11px;
  }
  .mobile-menu-btn {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   5-Card Deposit Modal Hub & CS2 2-Option Claim Selector (Zero Mobile Overflow)
   ========================================================================== */

.deposit-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.dep-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 10, 17, 0.72);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  min-width: 0;
}
.dep-method-card:hover {
  border-color: var(--border-bright);
  color: #fff;
}
.dep-method-card.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 211, 238, 0.12));
  border-color: rgba(16, 185, 129, 0.65);
  color: #6ee7b7;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.2);
}
.dep-method-card .svg-icon {
  width: 18px;
  height: 18px;
}

.coin-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}
.coin-pill {
  padding: 7px 4px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}
.coin-pill.active {
  border-color: var(--neon-emerald);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.railbed-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.rb-amt-btn {
  padding: 12px 6px;
  border-radius: 11px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 10, 17, 0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.rb-amt-btn.active {
  border-color: var(--neon-cyan);
  background: rgba(34, 211, 238, 0.18);
  color: #67e8f9;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.25);
}

.rule-banner {
  padding: 11px 13px;
  border-radius: 11px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.claim-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.claim-opt-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(7, 10, 17, 0.72);
  cursor: pointer;
  text-align: left;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}
.claim-opt-card.active {
  border-color: var(--neon-emerald);
  background: rgba(16, 185, 129, 0.14);
  color: #fff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

@media (max-width: 640px) {
  .deposit-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .railbed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .coin-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .claim-option-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 2 (P1) — RTP/Fairness Badges, Coming Soon Card, Validation, Footer & QR
   ========================================================================== */

:root {
  --rarity-uncommon: #10b981;
}

.rarity-pill.uncommon {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}
.rarity-uncommon .pedestal-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.38) 0%, transparent 70%);
}
.rarity-uncommon .pedestal-disc {
  border-color: rgba(16, 185, 129, 0.45);
}

.box-rtp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(7, 10, 17, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 11px;
}
.box-rtp-badge {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.box-fair-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  color: #7dd3fc;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.box-fair-link:hover {
  color: #fff;
  background: rgba(56, 189, 248, 0.16);
}
.box-fair-link .svg-icon {
  width: 12px;
  height: 12px;
}

.arena-rtp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

/* Grayed-out Card / Railbed Coming Soon */
.dep-method-card.is-coming-soon {
  opacity: 0.46;
  filter: grayscale(0.85);
  cursor: not-allowed;
  position: relative;
  border-style: dashed;
}
.dep-method-card.is-coming-soon:hover {
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}
.coming-soon-badge {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  line-height: 1.2;
}

/* Scannable QR Box */
.qr-card-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(7, 10, 17, 0.72);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}
.qr-svg-wrap {
  flex-shrink: 0;
  padding: 6px;
  background: #ffffff;
  border-radius: 10px;
  line-height: 0;
}
.qr-svg-wrap svg {
  display: block;
  width: 112px;
  height: 112px;
}
@media (max-width: 520px) {
  .qr-card-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Client-side Validation Error States */
.text-input.input-invalid {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.22);
}
.field-hint-err {
  font-size: 11.5px;
  color: #fda4af;
  margin-top: 5px;
  min-height: 15px;
}

/* English Compliance Footer */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(7, 10, 17, 0.82);
  backdrop-filter: blur(14px);
  padding: 28px 20px 36px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-brand-name {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #f8fafc;
}
.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.footer-link-btn {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.footer-link-btn:hover {
  border-color: var(--neon-cyan);
  color: #fff;
  background: rgba(34, 211, 238, 0.12);
}
.legal-prose {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 4px;
}
.legal-prose h4 {
  color: #f8fafc;
  font-size: 14px;
  margin: 14px 0 6px;
}
.legal-prose h4:first-child {
  margin-top: 0;
}
.legal-prose p {
  margin: 0 0 10px;
}
