/* ═══════════════════════════════════════════════════════════════════════
   Hyve Arcade — Premium Design System
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg: #050810;
  --bg2: #0A0E1A;
  --bg3: #0D1224;
  --panel: rgba(255,255,255,0.04);
  --panel-solid: #0E1225;
  --panel-hover: rgba(255,255,255,0.07);
  --glass: rgba(10,14,26,0.72);
  --glass-border: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.55);
  --dim: rgba(255,255,255,0.30);
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.16);
  --cyan: #00E5FF;
  --cyan-dim: rgba(0,229,255,0.12);
  --yellow: #F6D365;
  --yellow-dim: rgba(246,211,101,0.12);
  --pink: #FF66B2;
  --pink-dim: rgba(255,102,178,0.12);
  --green: #50DC8C;
  --green-dim: rgba(80,220,140,0.12);
  --red: #FF5A78;
  --red-dim: rgba(255,90,120,0.12);
  --gold: #FFD700;
  --gold-dim: rgba(255,215,0,0.12);
  --purple: #A78BFA;
  --purple-dim: rgba(167,139,250,0.12);
  --orange: #FF9F43;
  --bronze: #CD7F32;
  --silver: #C0C0C0;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
  --shadow-glow-cyan: 0 0 20px rgba(0,229,255,0.15), 0 0 60px rgba(0,229,255,0.05);
  --shadow-glow-gold: 0 0 20px rgba(255,215,0,0.15), 0 0 60px rgba(255,215,0,0.05);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* SVG Icon base */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Animated background mesh */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,229,255,0.06), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(167,139,250,0.04), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,102,178,0.03), transparent 60%);
}

/* Subtle grid overlay */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.02;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

::selection { background: rgba(0,229,255,0.25); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════
   Typography
   ═══════════════════════════════════════════════════════════════════════ */
h1 { font-size: clamp(30px, 5vw, 56px); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 700; }

.grad {
  background: linear-gradient(135deg, var(--cyan) 0%, #7C78FF 50%, var(--yellow) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-warm {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--pink) 50%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.grad-green {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pixel-text {
  font-family: var(--mono); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page { padding-top: 80px; min-height: 100vh; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-title { margin-bottom: 40px; }
.section-title .label {
  font-size: 11px; color: var(--cyan); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 8px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-title .label::before {
  content: ''; width: 20px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

/* ═══════════════════════════════════════════════════════════════════════
   Navigation — Glass morphism premium nav
   ═══════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(5,8,16,0.75); backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(5,8,16,0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-brand {
  font-weight: 900; font-size: 18px; text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 10px; transition: transform 0.2s var(--ease-spring);
}
.nav-brand:hover { transform: scale(1.03); }
.nav-brand .nb-icon { font-size: 22px; filter: drop-shadow(0 0 8px rgba(0,229,255,0.4)); }
.nav-brand .nb-hyve {
  background: linear-gradient(135deg, var(--cyan), #7C78FF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 2px; }
.nav-link {
  color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-sm); transition: all 0.25s var(--ease-out);
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--cyan); background: var(--cyan-dim); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-status {
  display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--green);
  font-weight: 600; letter-spacing: 0.3px;
}
.nav-status .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(80,220,140,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(80,220,140,0.6); }
  50% { opacity: 0.4; box-shadow: 0 0 4px rgba(80,220,140,0.2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   Cards & Panels — Glassmorphism
   ═══════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.card:hover { border-color: var(--border-bright); box-shadow: var(--shadow); }
.card-glow-cyan {
  box-shadow: 0 0 0 1px rgba(0,229,255,0.08), 0 4px 24px rgba(0,229,255,0.08);
  border-color: rgba(0,229,255,0.15);
}
.card-glow-cyan:hover { box-shadow: var(--shadow-glow-cyan); }
.card-glow-yellow {
  box-shadow: 0 0 0 1px rgba(246,211,101,0.08), 0 4px 24px rgba(246,211,101,0.08);
  border-color: rgba(246,211,101,0.15);
}
.card-glow-yellow:hover { box-shadow: var(--shadow-glow-gold); }

/* Premium glass card */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Stat Blocks — Premium animated
   ═══════════════════════════════════════════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.stat-block {
  padding: 24px 20px; border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.15) 100%);
  border: 1px solid var(--border); text-align: center;
  position: relative; overflow: hidden;
  transition: all 0.35s var(--ease-out);
}
.stat-block:hover { transform: translateY(-2px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.stat-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--stat-accent, var(--cyan)), transparent);
  opacity: 0.8;
}
.stat-block::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--stat-accent, var(--cyan)), transparent 70%);
  opacity: 0.04; pointer-events: none;
}
.stat-val {
  font-weight: 900; font-size: 30px; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--stat-accent, var(--text));
  font-family: var(--font);
}
.stat-label {
  font-size: 10px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 1px; margin-top: 8px; font-weight: 700;
}
.stat-sub { font-size: 11px; color: var(--dim); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════════
   Game Tiles — Premium with glow accent
   ═══════════════════════════════════════════════════════════════════════ */
.game-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.game-tile {
  padding: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.game-tile::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,229,255,0.04), transparent, rgba(167,139,250,0.03));
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.game-tile:hover {
  border-color: var(--border-bright); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.game-tile:hover::before { opacity: 1; }
.gt-header {
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0,0,0,0.3), transparent);
}
.gt-title { display: flex; align-items: center; gap: 12px; }
.gt-icon { font-size: 30px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.gt-name { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.gt-badge {
  font-size: 10px; padding: 4px 12px; border-radius: 999px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.gt-badge-live {
  background: var(--green-dim); color: var(--green);
  border: 1px solid rgba(80,220,140,0.3);
  box-shadow: 0 0 12px rgba(80,220,140,0.1);
}
.gt-body { padding: 20px 24px; }
.gt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.gt-stat { text-align: center; }
.gt-stat-val { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.gt-stat-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.gt-footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.gt-today { font-size: 11px; color: var(--dim); }
.gt-today strong { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════════════════
   Tables — Polished data tables
   ═══════════════════════════════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: 10px; color: var(--dim); text-transform: uppercase;
  letter-spacing: 1px; padding: 14px 14px; border-bottom: 1px solid var(--border);
  font-weight: 700; background: rgba(0,0,0,0.15);
}
.data-table td {
  padding: 14px; border-bottom: 1px solid var(--border); font-size: 13px;
  vertical-align: middle; transition: background 0.15s;
}
.data-table tr:hover td { background: rgba(255,255,255,0.03); }
.data-table .rank {
  width: 44px; text-align: center; font-weight: 800; font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.rank-1 { color: var(--gold); text-shadow: 0 0 12px rgba(255,215,0,0.4); }
.rank-2 { color: var(--silver); }
.rank-3 { color: var(--bronze); }
.player-cell { display: flex; align-items: center; gap: 10px; }
.player-avatar { font-size: 20px; }
.player-name { font-weight: 700; }
.player-addr { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.game-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel);
  font-weight: 700; transition: all 0.2s;
}
.score-val { font-weight: 800; font-variant-numeric: tabular-nums; font-family: var(--font); color: var(--text); }

/* ═══════════════════════════════════════════════════════════════════════
   Feed (activity stream)
   ═══════════════════════════════════════════════════════════════════════ */
.feed-list { display: flex; flex-direction: column; }
.feed-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  transition: all 0.2s var(--ease-out); font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.feed-item:hover { background: rgba(255,255,255,0.03); padding-left: 22px; }
.feed-icon { font-size: 20px; flex-shrink: 0; }
.feed-body { flex: 1; min-width: 0; }
.feed-text { color: var(--text); }
.feed-text strong { font-weight: 700; color: var(--cyan); }
.feed-meta { font-size: 11px; color: var(--dim); margin-top: 3px; }
.feed-game { margin-left: auto; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   Buttons — Premium with glow
   ═══════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 13px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-family: var(--font); position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #00B4D8); color: #000;
  box-shadow: 0 2px 16px rgba(0,229,255,0.2);
}
.btn-cyan:hover { box-shadow: 0 4px 24px rgba(0,229,255,0.35); }
.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), #FFA726); color: #000;
  box-shadow: 0 2px 16px rgba(246,211,101,0.2);
}
.btn-yellow:hover { box-shadow: 0 4px 24px rgba(246,211,101,0.35); }
.btn-green {
  background: linear-gradient(135deg, var(--green), #36C77B); color: #000;
  box-shadow: 0 2px 16px rgba(80,220,140,0.2);
}
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 15px; border-radius: var(--radius); }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--muted);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--text); box-shadow: 0 0 16px rgba(0,229,255,0.08); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ═══════════════════════════════════════════════════════════════════════
   Loading & Skeleton
   ═══════════════════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel-hover) 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.loading-spinner {
  display: inline-block; width: 24px; height: 24px;
  border: 2.5px solid var(--border); border-top-color: var(--cyan);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════
   Tabs — Premium underline
   ═══════════════════════════════════════════════════════════════════════ */
.tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab {
  padding: 12px 18px; font-size: 13px; font-weight: 700; color: var(--muted);
  background: none; border: none; cursor: pointer; position: relative;
  font-family: var(--font); transition: all 0.25s var(--ease-out);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--cyan); }
.tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0,229,255,0.3));
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}

/* ═══════════════════════════════════════════════════════════════════════
   Utility
   ═══════════════════════════════════════════════════════════════════════ */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 10px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-sm { gap: 8px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.empty-state {
  text-align: center; padding: 56px 24px; color: var(--dim);
}
.empty-state .es-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-state .es-text { font-size: 14px; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════════
   Animations — Smooth reveals
   ═══════════════════════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.12s; }
.fade-in-delay-2 { transition-delay: 0.24s; }
.fade-in-delay-3 { transition-delay: 0.36s; }
.fade-in-delay-4 { transition-delay: 0.48s; }

/* Hover float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Glow pulse */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,229,255,0.1); }
  50% { box-shadow: 0 0 40px rgba(0,229,255,0.2); }
}

/* ═══════════════════════════════════════════════════════════════════════
   Footer — Premium 4-column with legal
   ═══════════════════════════════════════════════════════════════════════ */
.footer {
  padding: 64px 0 0; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--dim); margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}
.footer a { color: var(--muted); text-decoration: none; transition: all 0.2s; display: block; padding: 4px 0; }
.footer a:hover { color: var(--cyan); transform: translateX(2px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand-name {
  font-size: 18px; font-weight: 900; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.footer-brand-text { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-heading {
  color: var(--text); font-size: 11px; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 12px; font-weight: 700;
}
.footer-divider { height: 1px; background: var(--border); }
.footer-bottom {
  text-align: center; padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline; color: var(--muted); padding: 0; }
.footer-bottom a:hover { color: var(--cyan); transform: none; }
.footer-legal {
  display: flex; align-items: center; gap: 16px; font-size: 12px;
}
.footer-legal a { display: inline; padding: 0; }
.footer-legal .sep { color: var(--border); }

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Hamburger — Smoother
   ═══════════════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.35s var(--ease-out);
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 9px; }
.nav-hamburger span:nth-child(3) { top: 18px; }
.nav-hamburger.is-active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════
   NFT Mint Page — Holographic Tier Cards
   ═══════════════════════════════════════════════════════════════════════ */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tier-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px 28px; text-align: center;
  position: relative; transition: all 0.4s var(--ease-out); overflow: hidden;
}
/* Holographic shimmer overlay */
.tier-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.03) 60%,
    rgba(255,255,255,0) 80%
  );
  transition: opacity 0.4s; pointer-events: none;
}
.tier-card:hover::before { opacity: 1; }
.tier-card:hover { transform: translateY(-6px) scale(1.01); }
.tier-bronze {
  border-top: 3px solid var(--bronze);
  box-shadow: 0 0 0 0 rgba(205,127,50,0);
}
.tier-bronze:hover { box-shadow: 0 8px 40px rgba(205,127,50,0.12); border-color: rgba(205,127,50,0.3); }
.tier-silver {
  border-top: 3px solid var(--silver);
  box-shadow: 0 0 0 0 rgba(192,192,192,0);
}
.tier-silver:hover { box-shadow: 0 8px 40px rgba(192,192,192,0.12); border-color: rgba(192,192,192,0.3); }
.tier-gold {
  border-top: 3px solid var(--gold);
  box-shadow: 0 0 0 0 rgba(255,215,0,0);
}
.tier-gold:hover { box-shadow: 0 8px 40px rgba(255,215,0,0.15); border-color: rgba(255,215,0,0.3); }

/* NFT artwork placeholder area */
.tc-art {
  width: 140px; height: 180px; margin: 0 auto 20px; border-radius: var(--radius);
  overflow: hidden; position: relative;
}
.tc-art svg { width: 100%; height: 100%; }

.tc-badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 5px 16px; border-radius: 999px;
  background: var(--panel-hover); color: var(--muted); margin-bottom: 20px;
}
.tc-popular {
  background: var(--cyan-dim); color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.2);
  box-shadow: 0 0 16px rgba(0,229,255,0.08);
}
.tc-rare {
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid rgba(255,215,0,0.2);
  box-shadow: 0 0 16px rgba(255,215,0,0.08);
}
.tc-icon { font-size: 56px; margin-bottom: 16px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
.tc-price { margin-bottom: 12px; }
.tc-hyve { font-size: 28px; font-weight: 900; display: block; letter-spacing: -0.01em; }
.tc-usd { font-size: 13px; color: var(--dim); }
.tc-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); margin: 20px 0; }
.tc-perks { list-style: none; text-align: left; margin-bottom: 24px; }
.tc-perks li {
  font-size: 13px; color: var(--muted); padding: 7px 0; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.tc-perks li:last-child { border-bottom: none; }
.tc-perks li strong { color: var(--text); }
.tc-check { color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 14px; }
.tc-supply {
  font-size: 11px; color: var(--dim); margin-bottom: 20px;
  font-variant-numeric: tabular-nums; font-family: var(--mono);
}
.tc-actions { display: flex; flex-direction: column; gap: 10px; }
.tc-actions .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════
   Revenue Split Bar — Animated
   ═══════════════════════════════════════════════════════════════════════ */
.rev-split-bar {
  display: flex; border-radius: var(--radius-lg); overflow: hidden;
  height: 64px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.rsb-seg {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; transition: flex 0.5s var(--ease-out);
}
.rsb-seg:hover { filter: brightness(1.2); }
.rsb-seg span { font-weight: 900; font-size: 18px; }
.rsb-seg small { font-size: 9px; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.8; }
.rsb-deployer { background: linear-gradient(135deg, rgba(167,139,250,0.18), rgba(167,139,250,0.08)); color: var(--purple); }
.rsb-holders { background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(0,229,255,0.08)); color: var(--cyan); }
.rsb-tournament { background: linear-gradient(135deg, rgba(246,211,101,0.18), rgba(246,211,101,0.08)); color: var(--yellow); }

/* ═══════════════════════════════════════════════════════════════════════
   How It Works Grid
   ═══════════════════════════════════════════════════════════════════════ */
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hiw-step {
  text-align: center; padding: 32px 24px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out);
}
.hiw-step:hover { transform: translateY(-4px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.hiw-num {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-dim); color: var(--cyan); font-weight: 900; font-size: 20px;
  margin: 0 auto 16px; border: 1px solid rgba(0,229,255,0.25);
  box-shadow: 0 0 20px rgba(0,229,255,0.1);
}

/* ═══════════════════════════════════════════════════════════════════════
   FAQ — Smooth accordion
   ═══════════════════════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s var(--ease-out);
}
.faq-item:hover { border-color: var(--border-bright); }
.faq-item[open] { background: rgba(255,255,255,0.05); }
.faq-item summary {
  cursor: pointer; padding: 18px 24px; font-weight: 700; font-size: 14px;
  color: var(--text); list-style: none; transition: all 0.2s;
  display: flex; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+'; color: var(--cyan); font-weight: 900; font-size: 18px;
  width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--cyan-dim); flex-shrink: 0; transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::before { content: '−'; transform: rotate(180deg); }
.faq-item summary:hover { background: var(--panel-hover); }
.faq-item p { padding: 0 24px 20px 60px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════════════════
   Contract Link
   ═══════════════════════════════════════════════════════════════════════ */
.contract-link {
  font-family: var(--mono); font-size: 13px; color: var(--cyan);
  text-decoration: none; padding: 10px 20px; border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--radius-sm); display: inline-block; transition: all 0.3s var(--ease-out);
  word-break: break-all; background: rgba(0,229,255,0.04);
}
.contract-link:hover {
  background: rgba(0,229,255,0.08); border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.1);
}

/* ═══════════════════════════════════════════════════════════════════════
   Modal — Slide-up with blur
   ═══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: modal-bg-in 0.3s;
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-bg-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg2); border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl); padding: 36px; max-width: 440px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
  animation: modal-slide-up 0.4s var(--ease-out);
}
@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 20px; background: var(--panel); border: none;
  color: var(--muted); font-size: 16px; cursor: pointer; transition: all 0.2s;
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--text); background: var(--panel-hover); }

/* ═══════════════════════════════════════════════════════════════════════
   Profile Page — Premium
   ═══════════════════════════════════════════════════════════════════════ */
.profile-header {
  display: flex; align-items: center; gap: 24px;
  padding: 28px; background: linear-gradient(135deg, var(--panel), rgba(0,229,255,0.03));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
}
.profile-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--yellow));
}
.ph-avatar {
  font-size: 56px; flex-shrink: 0;
  width: 80px; height: 80px; display: flex; align-items: center; justify-content: center;
  background: var(--panel); border-radius: 50%; border: 2px solid var(--border);
}
.ph-info { flex: 1; min-width: 0; }
.ph-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ph-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel); font-weight: 700;
  transition: all 0.2s;
}
.ph-badge:hover { transform: scale(1.05); }
.ph-balance { text-align: right; flex-shrink: 0; }

/* ── Claim Cards — Premium ── */
.claim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.claim-card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.claim-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.03), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.claim-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.claim-card:hover::before { opacity: 1; }
.cc-icon { font-size: 36px; flex-shrink: 0; }
.cc-body { flex: 1; min-width: 0; }
.cc-label { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }
.cc-value { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; margin: 4px 0; }
.cc-sub { margin-top: 2px; }

/* ── NFT Cards — Premium ── */
.nft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.nft-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(0,0,0,0.15));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: all 0.4s var(--ease-out);
  border-top: 3px solid var(--nft-accent, var(--cyan));
}
.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-color: var(--border-bright);
}
.nft-header {
  padding: 18px 22px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}
.nft-icon { font-size: 26px; }
.nft-tier { font-weight: 800; font-size: 17px; color: var(--nft-accent, var(--text)); }
.nft-id { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.nft-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 18px 22px; text-align: center;
}
.nft-stat-val { font-weight: 800; font-size: 20px; font-variant-numeric: tabular-nums; }
.nft-stat-lbl { font-size: 9px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; }
.nft-footer {
  padding: 14px 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.nft-claimable {
  font-size: 11px; color: var(--green); font-weight: 700;
  display: flex; align-items: center; gap: 4px;
  animation: glow-pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════
   Toast — Premium Hot-Toast System
   ═══════════════════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed; top: 80px; right: 24px; z-index: 500;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none; max-width: 400px;
}
.toast {
  pointer-events: auto; position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  background: var(--bg2); border: 1px solid var(--border-bright);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  animation: toast-slide-in 0.4s var(--ease-spring);
  overflow: hidden; min-width: 280px;
}
.toast.toast-exit { animation: toast-slide-out 0.3s var(--ease-out) forwards; }
@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(100%) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toast-slide-out {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to { opacity: 0; transform: translateX(100%) scale(0.9); }
}
.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast-body { flex: 1; }
.toast-title { font-weight: 800; font-size: 13px; margin-bottom: 2px; }
.toast-msg { font-size: 12px; color: var(--muted); font-weight: 500; }
.toast-close {
  position: absolute; top: 8px; right: 10px; background: none; border: none;
  color: var(--dim); cursor: pointer; font-size: 14px; padding: 4px;
  transition: color 0.2s; line-height: 1;
}
.toast-close:hover { color: var(--text); }
.toast-progress {
  position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 0 0 0 var(--radius);
  animation: toast-progress-bar linear forwards;
}
@keyframes toast-progress-bar { from { width: 100%; } to { width: 0%; } }

.toast-success { border-color: rgba(80,220,140,0.3); }
.toast-success .toast-title { color: var(--green); }
.toast-success .toast-progress { background: var(--green); }
.toast-error { border-color: rgba(255,90,120,0.3); }
.toast-error .toast-title { color: var(--red); }
.toast-error .toast-progress { background: var(--red); }
.toast-info { border-color: rgba(0,229,255,0.3); }
.toast-info .toast-title { color: var(--cyan); }
.toast-info .toast-progress { background: var(--cyan); }
.toast-warning { border-color: rgba(255,159,67,0.3); }
.toast-warning .toast-title { color: var(--orange); }
.toast-warning .toast-progress { background: var(--orange); }

/* Legacy toast compat */
.toast[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════════════
   Game Detail Page (games.html) — Enhanced
   ═══════════════════════════════════════════════════════════════════════ */
.game-detail { margin-bottom: 56px; }
.gd-hero {
  display: flex; align-items: center; gap: 24px; padding: 28px;
  background: linear-gradient(135deg, var(--panel), rgba(0,0,0,0.2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.gd-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, var(--gd-color, var(--cyan)), transparent 60%);
  opacity: 0.05; pointer-events: none;
}
.gd-hero-icon { font-size: 56px; flex-shrink: 0; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.gd-hero-info { flex: 1; }
.gd-title { font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: -0.01em; }
.gd-tagline { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.gd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.gd-tag {
  font-size: 10px; padding: 4px 12px; border-radius: 999px;
  font-weight: 700; border: 1px solid;
  border-color: color-mix(in srgb, var(--tag-c, var(--muted)) 30%, transparent);
  background: color-mix(in srgb, var(--tag-c, var(--muted)) 10%, transparent);
  color: var(--tag-c, var(--muted));
}
.gd-actions { flex-shrink: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.gd-body { padding: 0; }
.gd-section { margin-bottom: 28px; }
.gd-section h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }

/* Feature cards — enhanced */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.feature-card {
  padding: 20px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.3s var(--ease-out);
}
.feature-card:hover { border-color: var(--border-bright); transform: translateY(-2px); box-shadow: var(--shadow); }
.fc-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.feature-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.feature-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Achievement items — enhanced */
.achievement-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.ach-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 12px;
  transition: all 0.2s var(--ease-out);
}
.ach-item:hover { border-color: var(--border-bright); background: var(--panel-hover); }
.ach-icon { font-size: 20px; flex-shrink: 0; }

/* Controls grid */
.gd-controls { margin-top: 20px; }
.controls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ctrl-group {
  padding: 20px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ctrl-group h4 { margin-bottom: 10px; font-size: 13px; }
.ctrl-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 12px; color: var(--muted); }
kbd {
  display: inline-block; padding: 3px 10px; font-family: var(--mono); font-size: 11px;
  background: var(--panel-hover); border: 1px solid var(--border-bright);
  border-radius: 6px; color: var(--text); min-width: 28px; text-align: center;
  box-shadow: 0 2px 0 var(--border);
}
.ctrl-badge {
  font-size: 9px; padding: 3px 10px; border-radius: 999px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.ctrl-xbox { background: var(--green-dim); color: var(--green); border: 1px solid rgba(80,220,140,0.2); }
.ctrl-ps { background: rgba(0,136,255,0.1); color: #4499ff; border: 1px solid rgba(0,136,255,0.2); }
.ctrl-note { font-size: 11px; color: var(--dim); margin-top: 10px; font-style: italic; }

.ctrl-compat {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  padding: 24px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-top: 24px;
}
.ctrl-compat-item {
  font-size: 12px; color: var(--muted); display: flex; flex-direction: column;
  align-items: center; gap: 4px; text-align: center;
}
.ctrl-compat-item strong { color: var(--text); font-size: 13px; }

/* Fruit items (HyveMan) */
.fruit-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fruit-item {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 12px;
  transition: all 0.2s; font-weight: 600;
}
.fruit-item:hover { border-color: var(--border-bright); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════════════════
   NFT Tier Artwork — Inline SVG cards
   ═══════════════════════════════════════════════════════════════════════ */
.nft-art {
  width: 120px; height: 160px; margin: 0 auto 16px;
  border-radius: var(--radius); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.nft-art-bronze { background: linear-gradient(145deg, rgba(205,127,50,0.15), rgba(205,127,50,0.05)); border: 1px solid rgba(205,127,50,0.2); }
.nft-art-silver { background: linear-gradient(145deg, rgba(192,192,192,0.15), rgba(192,192,192,0.05)); border: 1px solid rgba(192,192,192,0.2); }
.nft-art-gold { background: linear-gradient(145deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05)); border: 1px solid rgba(255,215,0,0.2); animation: glow-pulse-gold 3s ease-in-out infinite; }
@keyframes glow-pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.08); }
  50% { box-shadow: 0 0 40px rgba(255,215,0,0.15); }
}

/* ═══════════════════════════════════════════════════════════════════════
   Legal Pages
   ═══════════════════════════════════════════════════════════════════════ */
.legal-content {
  max-width: 720px; margin: 0 auto;
}
.legal-content h1 { margin-bottom: 8px; }
.legal-content h2 { margin: 32px 0 12px; font-size: 20px; color: var(--cyan); }
.legal-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-size: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content li { color: var(--muted); line-height: 1.8; font-size: 14px; margin-bottom: 4px; }
.legal-content a { color: var(--cyan); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }
.legal-date { font-size: 12px; color: var(--dim); margin-bottom: 32px; font-family: var(--mono); }

/* ═══════════════════════════════════════════════════════════════════════
   Hero Section — Used on landing pages
   ═══════════════════════════════════════════════════════════════════════ */
.hero-section {
  padding: 48px 0 32px; position: relative;
}
.hero-section::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,255,0.08), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--cyan-dim); color: var(--cyan); border: 1px solid rgba(0,229,255,0.2);
  margin-bottom: 16px;
}
.hero-badge-gold {
  background: var(--gold-dim); color: var(--gold); border-color: rgba(255,215,0,0.2);
}

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav { height: 60px; padding: 0 16px; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(5,8,16,0.96); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border); padding: 16px;
    animation: nav-open-mobile 0.3s var(--ease-out);
  }
  @keyframes nav-open-mobile { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .nav-hamburger { display: block; }
  .page { padding-top: 72px; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .game-tiles { grid-template-columns: 1fr; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 8px; }
  .gt-stats { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .claim-grid { grid-template-columns: 1fr; }
  .profile-header { flex-direction: column; text-align: center; }
  .ph-balance { text-align: center; }
  .ph-badges { justify-content: center; }
  .gd-hero { flex-direction: column; text-align: center; }
  .gd-tags { justify-content: center; }
  .gd-actions { justify-content: center; }
  .controls-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .footer-brand { align-items: center; }
  .footer-brand-text { text-align: center; }
  .rev-split-bar { height: auto; flex-direction: column; }
  .rsb-seg { padding: 12px; }
  .toast-container { top: 70px; right: 12px; left: 12px; max-width: none; }
  .toast { min-width: auto; }
  .hero-section::before { width: 300px; height: 200px; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  h1 { font-size: clamp(24px, 7vw, 36px); }
}
