/* ─── TOKENS (purple night) ─────────────────────────────────────────────── */
:root {
  --bg: #070312;
  --bg2: #0f0820;
  --bg3: #160c2e;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(168, 85, 247, 0.22);
  --glass-hover: rgba(168, 85, 247, 0.11);
  --pink: #c084fc;
  --pink-dim: #7c3aed;
  --violet: #e9d5ff;
  --violet-dim: #5b21b6;
  --pink-glow: rgba(192, 132, 252, 0.55);
  --pink-faint: rgba(124, 58, 237, 0.2);
  --violet-glow: rgba(232, 121, 249, 0.35);
  --accent-shadow: 0 4px 22px rgba(91, 33, 182, 0.4);
  --accent-shadow-hover: 0 8px 34px rgba(192, 132, 252, 0.45);
  --text: #f3e8ff;
  --text-muted: #a89bc8;
  --text-dim: #6b6088;
  --radius: 16px;
  --radius-sm: 8px;
  --nav-h: 68px;

  /* Role colors */
  --role-developer: #ff4444;
  --role-owner: #ff8c00;
  --role-server_overseer: #9b59b6;
  --role-co_executive: #3498db;
  --role-staff_manager: #2ecc71;
  --role-moderator: #1abc9c;
  --role-vip: #f39c12;
  --role-member: #6b7280;
  --role-discord: #5865f2;
}

/* ─── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── BACKDROP (pointer nudges glow; no filter / no canvas mesh) ─────────── */
.bg-aurora {
  --mx: 0px;
  --my: 0px;
  position: fixed;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 88% at calc(50% + var(--mx)) calc(36% + var(--my)), rgba(168, 85, 247, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 78% 65% at calc(8% - var(--mx) * 0.5) calc(82% - var(--my)), rgba(124, 58, 237, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at calc(92% + var(--my) * 0.4) calc(14% + var(--mx) * 0.4), rgba(232, 121, 249, 0.12) 0%, transparent 48%),
    linear-gradient(188deg, #05020c 0%, #070312 42%, #10082a 100%);
}

/* One big soft orb — slow translate/scale only (cheap compositor work) */
.bg-slow-moon {
  position: absolute;
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  left: 50%;
  top: 38%;
  margin-left: calc(min(120vw, 900px) / -2);
  margin-top: calc(min(120vw, 900px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.2) 0%, rgba(124, 58, 237, 0.08) 42%, transparent 68%);
  animation: bg-moon-drift 48s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bg-moon-drift {
  0% { transform: translate3d(-6vw, 5vh, 0) scale(1); }
  100% { transform: translate3d(8vw, -7vh, 0) scale(1.1); }
}

/* Static grid (animated background-position caused jank) */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 90% 78% at 50% 36%, #000 8%, transparent 74%);
  mask-image: radial-gradient(ellipse 90% 78% at 50% 36%, #000 8%, transparent 74%);
  opacity: 0.5;
}

/* ─── PARTICLE CANVAS (disabled — mesh + rAF was main lag source) ─────────── */
#particles {
  display: none;
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(7, 3, 18, 0.9) 0%, rgba(7, 3, 18, 0.75) 100%);
  backdrop-filter: blur(12px) saturate(130%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--pink-glow));
  transition: filter 0.3s;
}

.nav-brand:hover .nav-logo { filter: drop-shadow(0 0 16px var(--pink)); }

.nav-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-shadow: 0 0 20px var(--pink-glow);
}

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

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  user-select: none;
}

.nav-link:hover { color: var(--text); background: var(--glass-hover); }
.nav-link.active { color: var(--pink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-user-info:hover { background: var(--glass-hover); }

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

.nav-username {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #e879f9 0%, var(--pink) 40%, var(--pink-dim) 100%);
  border: none;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: var(--accent-shadow);
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--accent-shadow-hover);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-primary.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-glass:hover {
  background: var(--glass-hover);
  border-color: var(--pink);
  transform: translateY(-1px);
}
.btn-glass.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-glass.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* ─── GLASS CARD ─────────────────────────────────────────────────────────── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px) saturate(125%);
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(192, 132, 252, 0.1) 0%, transparent 50%, rgba(124, 58, 237, 0.08) 100%);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.9;
}

.glass-card:hover {
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow:
    0 10px 36px rgba(91, 33, 182, 0.2),
    0 0 0 1px rgba(232, 121, 249, 0.12);
  transform: translateY(-2px);
}

/* ─── ROLE TAGS ──────────────────────────────────────────────────────────── */
.role-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.role-tag[data-role="DEVELOPER"] { background: rgba(255,68,68,0.2); color: #ff4444; border: 1px solid rgba(255,68,68,0.4); }
.role-tag[data-role="FOUNDER"],
.role-tag[data-role="OWNER"] { background: rgba(186,85,211,0.22); color: #c084fc; border: 1px solid rgba(186,85,211,0.45); }
.role-tag[data-role="OVERSEER"],
.role-tag[data-role="SERVER_OVERSEER"] { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.4); }
.role-tag[data-role="CO_EXECUTIVE"] { background: rgba(234,179,8,0.2); color: #eab308; border: 1px solid rgba(234,179,8,0.4); }
.role-tag[data-role="STAFF_MANAGER"] { background: rgba(99,102,241,0.2); color: #818cf8; border: 1px solid rgba(99,102,241,0.4); }
.role-tag[data-role="HEAD_ADMIN"] { background: rgba(56,189,248,0.18); color: #38bdf8; border: 1px solid rgba(56,189,248,0.4); }
.role-tag[data-role="ADMIN"] { background: rgba(59,130,246,0.2); color: #3b82f6; border: 1px solid rgba(59,130,246,0.4); }
.role-tag[data-role="MODERATOR"] { background: rgba(26,188,156,0.2); color: #1abc9c; border: 1px solid rgba(26,188,156,0.4); }
.role-tag[data-role="REVERSE_ENGINEER"] { background: rgba(155,89,182,0.2); color: #9b59b6; border: 1px solid rgba(155,89,182,0.4); }
.role-tag[data-role="SUPPORT"] { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.35); }
.role-tag[data-role="VIP"] { background: rgba(243,156,18,0.2); color: #f39c12; border: 1px solid rgba(243,156,18,0.4); }
.role-tag[data-role="MEMBER"] { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }
.role-tag[data-role="DISCORD"] { background: rgba(88,101,242,0.2); color: #5865f2; border: 1px solid rgba(88,101,242,0.4); }

/* ─── PAGES ──────────────────────────────────────────────────────────────── */
#main {
  padding-top: var(--nav-h);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.page { display: none; }
.page.active { display: block; animation: fadeUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── PAGE HEADER ────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 48px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--text) 20%, var(--pink) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── HOME – HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.hero-content { max-width: 800px; width: 100%; }

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.hero-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--pink-glow));
}

.hero-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(192, 132, 252, 0.35) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 5s ease-in-out infinite;
}

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

@keyframes heroGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.06); }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.15em;
  background: linear-gradient(118deg, #faf5ff 0%, #e879f9 35%, var(--pink) 58%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal 0.8s ease forwards;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.02em;
  animation: titleReveal 0.8s 0.15s ease both;
}

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

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: titleReveal 0.8s 0.3s ease both;
}

.stat-card {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.hero-stats .stat-card {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(120%);
}

.hero-stats .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(91, 33, 182, 0.25), 0 0 0 1px rgba(232, 121, 249, 0.18);
}

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--pink);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: titleReveal 0.8s 0.45s ease both;
}

/* ─── HOME – SECTIONS ────────────────────────────────────────────────────── */
.section {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.45);
}

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

.cards-grid > .glass-card {
  animation: card-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.cards-grid > .glass-card:nth-child(1) { animation-delay: 0.04s; }
.cards-grid > .glass-card:nth-child(2) { animation-delay: 0.1s; }
.cards-grid > .glass-card:nth-child(3) { animation-delay: 0.16s; }
.cards-grid > .glass-card:nth-child(4) { animation-delay: 0.22s; }
.cards-grid > .glass-card:nth-child(5) { animation-delay: 0.28s; }
.cards-grid > .glass-card:nth-child(6) { animation-delay: 0.34s; }

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.feature-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── STAFF GRID ─────────────────────────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.staff-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.staff-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-faint), var(--bg3));
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink);
  font-family: 'Rajdhani', sans-serif;
  overflow: hidden;
}

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

.staff-avatar-img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 20px var(--pink-faint);
}

.staff-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.staff-socials { display: flex; gap: 8px; margin-top: 4px; }
.staff-social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.staff-social-link:hover { color: var(--pink); }

.staff-loading { padding: 40px; text-align: center; color: var(--text-muted); }

.staff-card-rich {
  align-items: stretch;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.staff-card-rich:hover {
  border-color: rgba(192, 132, 252, 0.38);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.18);
}
.staff-card-rich:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
.staff-bio-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  text-align: left;
}
.staff-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.72rem;
  color: var(--text-dim);
  width: 100%;
}
.staff-meta-list li { margin-bottom: 4px; }
.staff-meta-k {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 6px;
}
.staff-profile-hint {
  font-size: 0.7rem;
  color: var(--pink);
  opacity: 0.85;
}

.profile-page-header { align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-page-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 48px 64px;
}
.profile-card {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 20px var(--pink-faint);
}
.profile-username {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.profile-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  margin: 0;
  font-size: 0.88rem;
}
.profile-dl dt {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.profile-dl dd { margin: 0; color: var(--text); }
.profile-bio-dd { white-space: pre-wrap; line-height: 1.5; }
.profile-edit {
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.profile-edit-title { margin: 0; font-size: 1rem; }
.profile-edit-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.profile-save-btn { align-self: flex-start; margin-top: 8px; }

.news-author-link,
.discord-jump-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.discord-jump-link {
  text-decoration: none;
  color: #5865f2;
}
.discord-jump-link:hover { text-decoration: underline; }

.chat-user-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.chat-user-link:hover { color: var(--pink); text-decoration: underline; }

.admin-subsection-title { margin: 0 0 8px; font-size: 1.05rem; }
.admin-subsection-hint { margin: 0 0 16px; font-size: 0.82rem; line-height: 1.5; }
.admin-staff-legacy { margin-top: 32px; padding: 24px; }
.admin-table-wrap--mt { margin-top: 16px; }
.staff-add-card--compact { margin-bottom: 16px; padding: 20px; }
.admin-user-actions-cell { min-width: 200px; vertical-align: top; }
.admin-user-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.admin-credits-delta-row,
.admin-team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-credits-delta-row .admin-credits-delta { width: 100px; }
.admin-team-order { width: 72px; }
.admin-team-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* ─── SOCIALS ─────────────────────────────────────────────────────────────── */
.socials-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.social-btn:hover { color: var(--pink); }

/* ─── PRODUCTS ───────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 48px 64px;
}

.product-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.product-by {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
}

.product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.download-btn {
  background: linear-gradient(135deg, #e879f9 0%, var(--pink) 45%, var(--pink-dim) 100%);
  border: none;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.download-btn:hover { box-shadow: 0 4px 22px rgba(124, 58, 237, 0.5); transform: translateY(-1px); }

.locked-overlay {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(192, 132, 252, 0.22);
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ─── NEWS ───────────────────────────────────────────────────────────────── */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 48px 64px;
  max-width: 860px;
}

.news-card {
  padding: 28px 32px;
}

.news-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}

.news-content {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.news-author {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.news-date {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.discord-sync-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  color: #5865f2;
  border: 1px solid rgba(88,101,242,0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ─── GAMBLING ───────────────────────────────────────────────────────────── */
.balance-display {
  padding: 10px 20px;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: var(--pink);
}

.gambling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 48px 64px;
}

.gambling-card { padding: 28px; }
.gambling-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.gambling-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.gambling-card-wide { grid-column: span 2; }

.coin-flip-display, .dice-display {
  font-size: 3.5rem;
  text-align: center;
  margin: 16px 0;
  transition: transform 0.3s;
}

.slots-display {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.slot-reel {
  width: 80px; height: 80px;
  background: var(--bg3);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: all 0.3s;
}

.bet-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.game-result {
  margin-top: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  min-height: 24px;
  transition: all 0.3s;
}
.game-result.win { color: #2ecc71; }
.game-result.loss { color: #e74c3c; }

/* ─── MARKETPLACE ─────────────────────────────────────────────────────────── */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 48px 64px;
}

.market-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }

.market-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.market-desc { color: var(--text-muted); font-size: 0.85rem; flex: 1; }

.market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.market-price {
  font-family: 'Space Mono', monospace;
  font-size: 0.95rem;
  color: var(--pink);
  font-weight: 700;
}

.market-seller {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.market-category {
  display: inline-block;
  padding: 2px 8px;
  background: var(--pink-faint);
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Space Mono', monospace;
}

.sell-category-label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}
.sell-category-hint { margin: 0 0 8px; }

/* ─── CHAT ───────────────────────────────────────────────────────────────── */
.chat-layout {
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 24px;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
}

.chat-header h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.discord-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.3);
  color: #5865f2;
  font-size: 0.72rem;
  font-family: 'Space Mono', monospace;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 4px;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 2px; }

.chat-msg {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  animation: msgSlide 0.2s ease;
}

@keyframes msgSlide {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.chat-msg:hover { background: var(--glass); }

.chat-msg-user {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-msg-content {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg-time {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  white-space: nowrap;
  margin-left: auto;
}

.chat-input-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

.chat-login-prompt {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.chat-msg-name { color: var(--text); }

.chat-role-suffix {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.chat-source-dc {
  font-size: 0.65rem;
  color: #5865f2;
  font-family: 'Space Mono', monospace;
}

.chat-msg-content .chat-link {
  color: var(--pink);
  word-break: break-all;
}

.chat-img-wrap {
  display: inline-block;
  max-width: 100%;
}

.chat-inline-img {
  max-width: min(280px, 100%);
  max-height: 220px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  vertical-align: middle;
  object-fit: contain;
  border: 1px solid var(--glass-border);
}

/* ─── ADMIN SITE SETTINGS (simple form) ───────────────────────────────────── */
.site-settings-form {
  padding: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.site-settings-heading {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.site-settings-hint {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.site-settings-fieldset {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px 18px;
  margin-bottom: 16px;
}

.site-settings-fieldset legend {
  padding: 0 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.site-settings-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 4px;
}

.site-settings-fieldset > .site-settings-label:first-of-type { margin-top: 0; }

.site-settings-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.site-settings-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .site-settings-grid-2,
  .site-settings-grid-3 { grid-template-columns: 1fr; }
}

.site-settings-advanced {
  margin-bottom: 16px;
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.site-settings-advanced summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
}

.site-settings-json {
  width: 100%;
  min-height: 200px;
  margin-top: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  line-height: 1.4;
}

.site-settings-save { margin-top: 8px; }

/* CSP-friendly utilities (no inline styles) */
.bet-input-row--center { justify-content: center; }
.modal-submit-btn { margin-top: 12px; }
.text-dim-sm { color: var(--text-dim); font-size: 0.82rem; }
.text-muted-75 { font-size: 0.75rem; color: var(--text-muted); }
.text-muted-8 { font-size: 0.8rem; color: var(--text-muted); }
.mono-id-cell {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mono-balance-cell {
  font-family: 'Space Mono', monospace;
  color: var(--pink);
}
.news-meta-delete { margin-left: auto; }
.product-card-actions { display: flex; gap: 8px; margin-top: 8px; }
.admin-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.admin-toolbar-btn { margin-bottom: 0; }
.admin-user-role-select {
  width: auto;
  padding: 4px 8px;
  font-size: 0.8rem;
}
.staff-add-card { padding: 24px; margin-bottom: 24px; }
.staff-add-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.staff-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.staff-discord-full { grid-column: 1 / -1; }
.staff-add-submit { margin-top: 12px; }
.social-icon-emoji { font-size: 1.2rem; }
.web-only-label { color: var(--text-dim); font-size: 0.75rem; }
.news-author-cell { font-size: 0.8rem; }
.market-seller-mt { margin-top: 4px; }

.btn-danger-text { color: #e74c3c; }

/* ─── INPUTS ─────────────────────────────────────────────────────────────── */
.input-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.input-glass::placeholder { color: var(--text-dim); }

.input-glass:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}

textarea.input-glass { resize: vertical; min-height: 80px; }

select.input-glass { cursor: pointer; }
select.input-glass option { background: var(--bg2); }

/* ─── ADMIN PANEL ────────────────────────────────────────────────────────── */
.admin-tabs {
  display: flex;
  gap: 4px;
  padding: 0 48px 24px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.admin-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab:hover { color: var(--text); background: var(--glass); }
.admin-tab.active { color: var(--pink); background: var(--pink-faint); }

.admin-content {
  padding: 0 48px 64px;
}

.admin-table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 10px 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--glass-border);
  text-transform: uppercase;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--glass); }

.admin-table select.input-glass {
  width: auto;
  padding: 4px 8px;
  font-size: 0.8rem;
}

/* ─── MODALS ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

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

.modal {
  max-width: 480px;
  width: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalSlide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(-20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal h2 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.modal p { color: var(--text-muted); font-size: 0.88rem; }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--text); }

/* ─── LOGIN MODAL ────────────────────────────────────────────────────────── */
.login-steps { display: flex; flex-direction: column; gap: 20px; margin: 8px 0; }

.login-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--pink-faint);
  border: 1px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 2px;
}

.login-step p { color: var(--text-muted); font-size: 0.85rem; }

.login-code {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--pink);
  padding: 16px;
  background: var(--pink-faint);
  border: 1px dashed var(--pink);
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 8px;
  text-shadow: 0 0 16px var(--pink-glow);
}

.code-command {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-muted);
  margin-top: 6px;
}
.code-command code { color: var(--pink); }

.login-status { font-weight: 500; }
.login-status.success { color: #2ecc71; }
.login-status.error { color: #e74c3c; }

.code-expires {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  text-align: center;
}

/* ─── DOWNLOAD ROW ───────────────────────────────────────────────────────── */
.download-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.download-row .dl-name { flex: 1; }
.download-row .dl-url { flex: 2; }

/* ─── TOAST ──────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 0.88rem;
  color: var(--text);
  z-index: 300;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: slideInRight 0.3s ease;
  max-width: 360px;
}

.toast.toast-success { border-color: rgba(46,204,113,0.4); color: #2ecc71; }
.toast.toast-error { border-color: rgba(231,76,60,0.4); color: #e74c3c; }

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

/* ─── LOADING / EMPTY ────────────────────────────────────────────────────── */
.loading-state {
  color: var(--text-dim);
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  padding: 40px 20px;
  text-align: center;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state p { font-size: 0.9rem; }

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }

/* ─── REDUCED MOTION ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bg-aurora,
  .bg-slow-moon,
  .btn-primary {
    animation: none !important;
  }

  .hero-title {
    animation: titleReveal 0.55s ease forwards !important;
  }

  .glass-card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  }

  .glass-card:hover {
    transform: none;
  }

  .hero-stats .stat-card:hover {
    transform: none;
  }

  .cards-grid > .glass-card {
    animation: none !important;
  }

  .page.active {
    animation: fadeUpReduced 0.25s ease forwards;
  }

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

/* ─── SCROLLBAR ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-dim); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(7, 3, 18, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }

  .page-header, .section { padding-left: 24px; padding-right: 24px; }
  .products-grid, .news-feed, .gambling-grid, .marketplace-grid { padding-left: 24px; padding-right: 24px; }
  .admin-tabs, .admin-content { padding-left: 24px; padding-right: 24px; }
  .gambling-card-wide { grid-column: span 1; }
  .slots-display { gap: 8px; }
  .slot-reel { width: 64px; height: 64px; font-size: 1.8rem; }
  .hero-logo { width: 140px; height: 140px; }
  .modal { padding: 24px; }
}
