/* ================================================================
   GOTTZENTRALE V15.1 — NEXUS CORE STYLES
   Source: colors_and_type.css + Layers/Navbar/Buttons/Card/WoodCard3D
   Author: V14.2 Antigravity migration
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;800;900&family=Syne:wght@400;500;600;700;800&family=Rajdhani:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;700&display=swap');

/* ─────────────── DESIGN TOKENS ─────────────── */
:root {
  --void:            #030005;
  --surface:         #0A0A12;
  --surface-2:       #11111B;
  --hairline:        rgba(255,255,255,0.06);
  --hairline-strong: rgba(255,255,255,0.12);

  --cyan:            #00F3FF;
  --cyan-bright:     #5CFBFF;
  --cyan-dim:        rgba(0, 243, 255, 0.15);
  --cyan-glow:       rgba(0, 243, 255, 0.60);

  --violet:          #9D00FF;
  --violet-bright:   #C155FF;
  --violet-glow:     rgba(157, 0, 255, 0.50);

  --gold:            #FFD700;
  --gold-glow:       rgba(255, 215, 0, 0.50);
  --wood:            #B8860B;

  --success:         #00FF66;
  --danger:          #FF003C;

  --fg-1:            #FFFFFF;
  --fg-2:            #E0E0E8;
  --fg-3:            #8A8A93;

  --font-display:    'Orbitron', 'Syne', sans-serif;
  --font-brand:      'Syne', 'Orbitron', sans-serif;
  --font-body:       'Rajdhani', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', 'Consolas', monospace;

  --ease-out-soft:   cubic-bezier(0.16, 1, 0.30, 1);
}

/* ─────────────── RESET ─────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--void);
  color: var(--fg-1);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* V15.1: Lock viewport for ALL app pages to prevent jumping */
html.gz-app-page,
html.gz-app-page body,
html.dashboard-page,
html.dashboard-page body {
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

/* Scrollbar (Webkit only — graceful degrade elsewhere) */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.4); }
::-webkit-scrollbar-thumb { background: rgba(0,243,255,0.3); }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ─────────────── BACKGROUND STACK ─────────────── */
/* Replaces <BgLayers/> from Layers.jsx — five fixed layers behind everything. */
.bg-void {
  position: fixed; inset: 0; z-index: -5;
  background: var(--void);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.bg-halo {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 120vmax; height: 120vmax;
  z-index: -3; pointer-events: none;
  filter: blur(20px);
  background: radial-gradient(circle, rgba(0,243,255,0.15) 0%, transparent 60%);
}
.bg-halo.violet {
  background: radial-gradient(circle, rgba(157,0,255,0.15) 0%, transparent 60%);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-scanlines {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.25;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
}

/* ─────────────── V15.1 DASHBOARD LAYOUT ─────────────── */
.dashboard-layout {
  display: flex;
  height: calc(100dvh - 64px);
  overflow: hidden;
}
.dashboard-layout .sidebar {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid var(--hairline);
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.dashboard-layout .dashboard-content {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2rem;
}

/* V15.1: Glassmorphism for all surface/card elements */
.surface,
.stat-card,
.performance-box {
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.surface:hover,
.stat-card:hover {
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.15), inset 0 0 10px rgba(0, 242, 255, 0.05);
  animation: surfaceGlow 2s infinite alternate;
}

@keyframes surfaceGlow {
  0% { border-color: rgba(0, 242, 255, 0.3); box-shadow: 0 0 15px rgba(0, 242, 255, 0.1); }
  100% { border-color: rgba(0, 242, 255, 0.6); box-shadow: 0 0 25px rgba(0, 242, 255, 0.25), inset 0 0 15px rgba(0, 242, 255, 0.1); }
}

@keyframes founderPulse {
  0% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); border-color: rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); border-color: rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); border-color: rgba(255, 215, 0, 0.3); }
}

/* V15.1: Active nav state logic */
.nav-link[data-active="true"],
.sidebar-menu a.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
}

/* ─────────────── NAVBAR ─────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 32px;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.3em;
}
.nav-brand .bracket { color: var(--cyan); }
.nav-links {
  display: flex; gap: 28px;
}
.nav-link {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-out-soft) 0.2s, color 0.2s;
}
.nav-link:hover { color: var(--cyan); }
.nav-link.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.nav-right {
  display: flex; align-items: center; gap: 14px;
}
.nav-status {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--fg-3);
}
.nav-status .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  margin-right: 6px;
  vertical-align: middle;
}

/* ─────────────── NEON BUTTON ─────────────── */
/* Replaces <NeonButton/> from Buttons.jsx */
.btn {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 2px;
  border: 1px solid;
  background: transparent;
  transition: all var(--ease-out-soft) 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn--sm { padding: 8px 14px;  font-size: 10px; }
.btn--md { padding: 12px 22px; font-size: 11px; }
.btn--lg { padding: 16px 30px; font-size: 13px; }

.btn--primary {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0,243,255,0.18);
}
.btn--primary:hover {
  box-shadow: 0 0 28px var(--cyan), 0 0 14px rgba(0,243,255,0.18);
}
.btn--solid {
  background: var(--cyan);
  color: #000;
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0,243,255,0.40);
}
.btn--solid:hover {
  box-shadow: 0 0 28px var(--cyan), 0 0 18px rgba(0,243,255,0.40);
}
.btn--violet {
  color: var(--violet-bright);
  border-color: var(--violet);
  box-shadow: 0 0 14px rgba(157,0,255,0.20);
}
.btn--violet:hover {
  box-shadow: 0 0 28px var(--violet), 0 0 14px rgba(157,0,255,0.20);
}
.btn--gold {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255,215,0,0.20);
}
.btn--ghost {
  color: var(--fg-2);
  border-color: var(--hairline-strong);
}

/* ─────────────── HUD CARD ─────────────── */
/* Replaces <HudCard/> + <Corners/> from Card.jsx */
.hud-card {
  position: relative;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all var(--ease-out-soft) 0.3s;
  overflow: hidden;
}
.hud-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0,243,255,0.2), 0 10px 30px rgba(0,0,0,0.55);
}
.hud-card--accent::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  opacity: 0.7;
  transition: opacity 0.3s;
}
.hud-card--accent:hover::before { opacity: 1; }
.hud-card--violet::before { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.hud-card--gold::before   { background: var(--gold);   box-shadow: 0 0 14px var(--gold);   }

/* Corner brackets */
.hud-card--brackets .corner {
  position: absolute;
  width: 12px; height: 12px;
  pointer-events: none;
  box-shadow: 0 0 6px var(--cyan);
}
.hud-card--brackets .corner.tl { top: 6px; left: 6px;
  border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.hud-card--brackets .corner.tr { top: 6px; right: 6px;
  border-top: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }
.hud-card--brackets .corner.bl { bottom: 6px; left: 6px;
  border-bottom: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.hud-card--brackets .corner.br { bottom: 6px; right: 6px;
  border-bottom: 1px solid var(--cyan); border-right: 1px solid var(--cyan); }

/* ─────────────── HERO ─────────────── */
.hero {
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1240px;
  width: 100%;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 6rem;
  }
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 48px var(--violet-glow);
}
.hero-title .accent { color: var(--cyan); text-shadow: 0 0 30px var(--cyan-glow); }

.hero-lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-lead strong {
  color: var(--cyan);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 460px;
}
.stat-tile {
  border-left: 2px solid var(--cyan);
  padding: 0.5rem 0 0.5rem 0.9rem;
}
.stat-tile .stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: 0 0 14px var(--cyan-dim);
  font-variant-numeric: tabular-nums;
}
.stat-tile .stat-lbl {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 0.25rem;
}

/* ─────────────── WOOD CARD 3D ─────────────── */
/* Replaces <WoodCard3D/> from WoodCard3D.jsx */
.card-perspective {
  perspective: 1200px;
  width: 360px; height: 230px;
  max-width: 100%;
  margin: 0 auto;
  cursor: pointer;
}
.card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.18s ease-out;
}
.card-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #2a2015 0%, #1f1810 40%, #0a0808 100%);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8), 0 15px 35px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 26px;
  overflow: hidden;
}
.card-face .wood-grain {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.18) 2px, rgba(0,0,0,0.18) 4px);
  opacity: 0.4; pointer-events: none;
}
.card-face .card-halo {
  position: absolute; inset: -10px;
  background: radial-gradient(circle at 50% 50%, rgba(0,243,255,0.35) 0%, transparent 60%);
  filter: blur(25px);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.card-perspective:hover .card-face .card-halo { opacity: 1; }
.card-brand {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}
.card-foot {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.card-username {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-shadow: 0 0 14px var(--cyan-glow);
}
.card-tier {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.card-chip {
  width: 36px; height: 28px;
  border: 2px solid var(--wood);
  border-radius: 3px;
  background: repeating-linear-gradient(0deg,
    transparent, transparent 3px,
    var(--wood) 3px, var(--wood) 5px);
  box-shadow: 0 0 8px rgba(184,134,11,0.4);
}
.card-tap {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  animation: gz-pulse 1.2s infinite;
}

/* Sacred ring around the card */
.card-aura {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.card-aura::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  max-width: 95%; max-height: 95%;
  border: 1px solid rgba(0,243,255,0.08);
  border-radius: 50%;
  pointer-events: none;
  animation: gz-aura-spin 60s linear infinite;
}
.card-aura::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  max-width: 80%; max-height: 80%;
  border: 1px dashed rgba(0,243,255,0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: gz-aura-spin 40s linear infinite reverse;
}

/* ─────────────── LORE / FEATURE STRIP ─────────────── */
.lore-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) { .lore-strip { grid-template-columns: repeat(3, 1fr); } }

.lore-card .eyebrow { margin-bottom: 1rem; }
.lore-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--fg-1);
}
.lore-card p {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.55;
}

/* ─────────────── FOOTER ─────────────── */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}
.foot-links {
  display: flex; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.foot-links a {
  color: var(--fg-3);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.foot-links a:hover { color: var(--cyan); }
.foot-meta {
  color: #3f3f46;
  font-size: 0.75rem;
}

/* ─────────────── ANIMATIONS ─────────────── */
@keyframes gz-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
@keyframes gz-aura-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes gz-glitch {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
}
.glitch-on-hover:hover { animation: gz-glitch 0.25s steps(2) 2; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .card-aura::before, .card-aura::after { animation: none; }
}

.founder-pulse-fx {
  animation: founderPulse 4s infinite ease-in-out !important;
}

@keyframes nfcRadar {
  0% { transform: scale(0.5); opacity: 1; border-color: rgba(0,242,255,1); }
  100% { transform: scale(2.5); opacity: 0; border-color: rgba(0,242,255,0); }
}
.nfc-radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  animation: nfcRadar 1.5s infinite ease-out;
  pointer-events: none;
  display: none;
}

@keyframes glitchError {
  0% { transform: translate(0) }
  20% { transform: translate(-2px, 1px) }
  40% { transform: translate(-1px, -1px) }
  60% { transform: translate(2px, 1px) }
  80% { transform: translate(1px, -1px) }
  100% { transform: translate(0) }
}
.glitch-error {
  animation: glitchError 0.2s infinite;
  color: #ff003c !important;
  text-shadow: 2px 0 0 blue, -2px 0 0 red;
}
.forge-breach {
  box-shadow: inset 0 0 50px rgba(255, 0, 60, 0.5) !important;
  border-color: #ff003c !important;
}

/* V17.0 Themes & Skeletons */
.theme-author {
  --cyan: #fff;
  --void-bg: #111;
  font-family: 'Times New Roman', serif !important;
}
.theme-author .btn-elite {
  border-color: #555;
  color: #fff;
}
.theme-skater {
  --cyan: #ff00ff;
  --void-bg: #000;
}
.theme-skater .btn-elite {
  border-color: #ff00ff;
  color: #ff00ff;
  font-style: italic;
  text-transform: uppercase;
}
@keyframes skeleton-pulse {
  0% { background-color: rgba(0, 242, 255, 0.05); }
  50% { background-color: rgba(0, 242, 255, 0.15); }
  100% { background-color: rgba(0, 242, 255, 0.05); }
}
.skeleton-box {
  animation: skeleton-pulse 1.5s infinite ease-in-out;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  display: inline-block;
}

/* ================================================================
   V18.0 PWA & DESKTOP COMMAND CENTER GRID
   ================================================================ */

@media (min-width: 1024px) {
  #lockedDashboard {
    display: grid !important;
    grid-template-columns: 250px 1fr 375px;
    height: 100dvh;
    overflow: hidden;
    gap: 0;
    align-items: stretch !important;
  }
  
  .sidebar {
    position: static !important;
    width: 100% !important;
    height: 100dvh;
    border-right: 1px solid rgba(0, 242, 255, 0.2);
    overflow-y: auto;
    z-index: 10;
  }

  .dashboard-content-scrollable {
    height: 100dvh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    padding-bottom: 5rem;
  }

  .desktop-preview-pane {
    height: 100dvh;
    background: var(--void);
    border-left: 1px solid rgba(0, 242, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .desktop-preview-pane iframe {
    width: 375px;
    height: 812px;
    border: none;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(0,242,255,0.1), inset 0 0 0 10px #111;
    background: #000;
  }

  .surface {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }
  .surface:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 243, 255, 0.1);
  }
}

/* ================================================================
   V18.0 IMMERSIVE READER MODE & CURSOR
   ================================================================ */
#gz-cursor {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  background-color: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 999999; mix-blend-mode: exclusion;
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
  transform: translate(-50%, -50%); display: none;
}
@media (pointer: fine) {
  html.dashboard-page, html.dashboard-page body, html.dashboard-page * { cursor: none !important; }
  #gz-cursor { display: block; }
  #gz-cursor.hovering {
    width: 24px; height: 24px; background-color: #fff; mix-blend-mode: difference;
  }
}

body.reader-mode { background: #000 !important; color: #fff !important; }
body.reader-mode .bg-void, body.reader-mode .bg-grid, body.reader-mode .bg-halo, body.reader-mode .bg-grain, body.reader-mode .crt-overlay { display: none !important; }
body.reader-mode #vaultVisitorContainer {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
  z-index: 999999; background: #000; overflow-y: auto; padding: 0; margin: 0; display: block !important;
}
body.reader-mode #vaultAssetsVisitorList { display: block; }
body.reader-mode .vault-reader-content {
  font-family: "Georgia", serif !important; font-size: 1.2rem !important; line-height: 1.8 !important;
  max-width: 650px; margin: 0 auto; padding: 4rem 1.5rem; color: #e0e0e0 !important;
  background: #000 !important; border: none !important;
}
body.reader-mode .vault-card-wrapper { background: transparent !important; border: none !important; }
body.reader-mode .non-reader-element { display: none !important; }
.exit-reader-btn {
  position: fixed; top: 1rem; right: 1rem; z-index: 9999999; background: transparent;
  color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; width: 40px; height: 40px;
  font-family: "Orbitron"; display: none; align-items: center; justify-content: center;
}
body.reader-mode .exit-reader-btn { display: flex; cursor: none !important; }

