/* ====================================================================
   ZUNKO Master Theme - Light / Dark Hybrid with Floating Theme Toggle
   Fixed spacing, balanced Hero layout & high-voltage Web3 animations
   ==================================================================== */

:root {
  /* LIGHT MODE (Default clean aesthetic) */
  --bg-page: #f6fafe;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f8fafc;
  --bg-card-border: #e2e8f0;
  --bg-card-hover-border: #06b6d4;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --primary-cyan: #06b6d4;
  --primary-blue: #0284c7;
  --accent-mint: #10b981;
  --glow-color: rgba(6, 182, 212, 0.2);
  --sidebar-bg: #ffffff;
  --sidebar-border: #eef2f6;
  --navbar-bg: rgba(246, 250, 254, 0.88);
  --card-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07), 0 0 20px rgba(6, 182, 212, 0.05);
  --card-shadow-hover: 0 24px 50px -10px rgba(15, 23, 42, 0.12), 0 0 30px rgba(6, 182, 212, 0.15);
  --pill-bg: #ffffff;
  --pill-border: #e2e8f0;
  --pill-text: #1e293b;
  --btn-primary-bg: #0f172a;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #0f172a;
  --btn-secondary-border: #e2e8f0;
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
  --canvas-opacity: 0.75;
  
  --sidebar-w: 260px;
  --sidebar-collapsed-w: 78px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-family);
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

/* ====================================================================
   DARK MODE PALETTE (Ultra-deep Cyber Black & Neon Cyan)
   ==================================================================== */
[data-theme="dark"] {
  --bg-page: #060913;
  --bg-surface: #0b1122;
  --bg-surface-subtle: #0f172c;
  --bg-card-border: rgba(6, 182, 212, 0.22);
  --bg-card-hover-border: #00f2fe;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --primary-cyan: #00f2fe;
  --primary-blue: #38bdf8;
  --accent-mint: #34d399;
  --glow-color: rgba(0, 242, 254, 0.45);
  --sidebar-bg: #080d1a;
  --sidebar-border: rgba(56, 189, 248, 0.15);
  --navbar-bg: rgba(6, 9, 19, 0.88);
  --card-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.12);
  --card-shadow-hover: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 242, 254, 0.3);
  --pill-bg: #0d1527;
  --pill-border: rgba(56, 189, 248, 0.28);
  --pill-text: #f1f5f9;
  --btn-primary-bg: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  --btn-primary-text: #050811;
  --btn-secondary-bg: rgba(15, 23, 44, 0.8);
  --btn-secondary-text: #f8fafc;
  --btn-secondary-border: rgba(56, 189, 248, 0.3);
  --input-bg: #070c17;
  --input-border: rgba(56, 189, 248, 0.25);
  --canvas-opacity: 0.9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Interactive Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: var(--canvas-opacity);
}

/* Ambient Floating Glow Orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(65px);
}

.orb-1 {
  top: 6%;
  right: 18%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-2 {
  bottom: 15%;
  left: 25%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.orb-dot {
  position: fixed;
  border-radius: 50%;
  background: var(--primary-cyan);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: floatTiny 8s ease-in-out infinite alternate;
}

.dot-1 { top: 18%; right: 42%; width: 14px; height: 14px; }
.dot-2 { top: 65%; right: 15%; width: 20px; height: 20px; }
.dot-3 { top: 76%; right: 38%; width: 12px; height: 12px; }

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -30px) scale(1.12); }
}

@keyframes floatTiny {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-14px) scale(1.18); }
  100% { transform: translateY(0px) scale(1); }
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #00f2fe, #0284c7, #10b981);
  box-shadow: 0 0 12px var(--primary-cyan);
  z-index: 200;
  transition: width 0.1s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
  background: var(--text-faint);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 5;
}

/* ====================================================================
   SIDEBAR
   ==================================================================== */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.03);
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-w);
}

.sidebar-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-primary);
}

.sidebar-brand-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-cyan);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px var(--glow-color);
  transition: transform 0.3s ease;
}

.sidebar-brand:hover .sidebar-brand-img {
  transform: rotate(6deg) scale(1.06);
}

.sidebar-brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.sidebar.collapsed .sidebar-brand-text {
  display: none;
}

.sidebar-toggle-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  outline: none;
}

.sidebar-toggle-btn:hover {
  background: var(--bg-card-border);
  color: var(--text-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: all 0.22s ease;
  cursor: pointer;
  user-select: none;
  margin-bottom: 6px;
  position: relative;
}

.nav-item:hover {
  background: var(--bg-surface-subtle);
  transform: translateX(3px);
}

.nav-item.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-mint);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-label {
  white-space: nowrap;
}

.sidebar.collapsed .nav-label {
  display: none;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--sidebar-border);
}

.sidebar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s;
}

.sidebar-social-link:hover {
  border-color: var(--primary-cyan);
  box-shadow: 0 4px 15px var(--glow-color);
  transform: translateY(-2px);
}

.sidebar.collapsed .sidebar-social-text {
  display: none;
}

/* ====================================================================
   MAIN WRAPPER & PROPER SPACED TOPBAR
   ==================================================================== */
.main-wrapper {
  flex: 1;
  margin-left: 0;
  transition: margin-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}



.top-navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 54px; /* Generous breathing room */
  background: var(--navbar-bg);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--bg-card-border);
}

.top-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.social-icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-icon-btn:hover {
  border-color: var(--primary-cyan);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px var(--glow-color);
}

.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-dark-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px var(--glow-color);
}

.btn-dark-pill:disabled {
  background: var(--bg-card-border);
  color: var(--text-faint);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-white-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--btn-secondary-border);
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.btn-white-pill:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  transform: translateY(-2px);
}

/* ====================================================================
   CONTENT CONTAINER & PERFECT PROPORTIONAL HERO (NO MORE CRAMPING)
   ==================================================================== */
.content-container {
  padding: 50px 64px 110px; /* Big generous padding so it never sticks to sidebar */
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px; /* Tighter & harmonized gap so character is close and united with text */
  align-items: center;
  padding: 20px 0 60px;
}

.hero-text-content {
  padding-right: 16px;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-mint);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 5.2rem;
  line-height: 0.98;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.word-zunko {
  background: linear-gradient(100deg, var(--primary-cyan) 0%, var(--primary-blue) 45%, var(--accent-mint) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerTitle 6s ease-in-out infinite;
}

@keyframes shimmerTitle {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-motto {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 22px;
  letter-spacing: -0.3px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 32px;
}

/* Badges */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-pill-item {
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--pill-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.hero-pill-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  box-shadow: 0 8px 20px var(--glow-color);
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-faint);
  font-weight: 500;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(120deg, var(--primary-cyan), var(--primary-blue));
  color: #04121a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 12px 30px -6px var(--glow-color);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-hero-primary svg {
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -6px var(--glow-color);
}

.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.hero-supply-fact {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero-supply-fact strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-supply-fact span {
  color: var(--text-faint);
  margin: 0 2px;
}

/* Right Card with ZUNKO Character Banner (Close, bold & cinematic) */
.hero-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-character-card {
  width: 100%;
  max-width: 480px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 2px solid var(--bg-card-border);
  background: var(--bg-surface);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-character-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary-cyan);
}

.hero-character-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

/* ====================================================================
   WHITELIST & KOL FORMS (Theme Adaptive & Smooth)
   ==================================================================== */
.forms-stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
  margin-top: 40px;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.form-card:hover {
  border-color: var(--bg-card-hover-border);
  box-shadow: var(--card-shadow-hover);
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00f2fe, #0284c7, #10b981);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-card-border);
}

.form-header-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
}

.step-dot.active {
  background: var(--primary-cyan);
  color: #050811;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 14px var(--glow-color);
}

.form-step {
  display: none;
}
.form-step.active-step {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.input-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-label span.req,
.task-title .req {
  color: var(--primary-cyan);
}

.input-control {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s;
}

.input-control:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 4px var(--glow-color);
  background: var(--bg-surface);
}

.input-control::placeholder {
  color: var(--text-faint);
}

/* Tasks card */
.task-box-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.task-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.task-card-stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.task-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.task-card-stacked .input-control {
  width: 100%;
}

.task-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.task-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.task-icon img {
  width: 22px;
  height: 22px;
}

.task-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
}

.task-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 26px;
  width: fit-content;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: var(--primary-cyan);
}

.captcha-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.captcha-shield {
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 700;
}

.form-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}

.alert-box {
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  display: none;
  font-size: 0.92rem;
  font-weight: 700;
  align-items: center;
  gap: 12px;
}

.alert-box.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* ====================================================================
   ACCESS PASS — terminal-style stat card
   ==================================================================== */
.access-pass-card {
  position: relative;
  margin-top: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: 24px;
  padding: 36px 40px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.access-pass-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.access-pass-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.access-pass-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.access-pass-heading h2 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.access-pass-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-mint);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 8px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.access-pass-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}

.access-pass-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-right: 1px solid var(--bg-card-border);
  background: var(--bg-surface-subtle);
}

.access-pass-stat:last-child {
  border-right: none;
}

.access-pass-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.access-pass-stat .stat-value {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value-chain {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-chain-logo {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.btn-access-request {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 17px 24px;
  background: linear-gradient(120deg, #00f2fe, #0284c7);
  color: #04121a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 14px 34px -8px rgba(0, 242, 254, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-access-request:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -8px rgba(0, 242, 254, 0.5);
}

.access-pass-footnote {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ====================================================================
   REQUEST ACCESS MODAL
   ==================================================================== */
.access-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 6, 14, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.access-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.access-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--bg-card-border);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5), 0 0 40px var(--glow-color);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-modal-overlay.open .access-modal {
  transform: scale(1) translateY(0);
}

.access-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00f2fe, #0284c7, #10b981);
  border-radius: 28px 28px 0 0;
}

.access-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.access-modal-close:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
  transform: rotate(90deg);
}

/* ====================================================================
   FLOATING THEME TOGGLE BUTTON (BOTTOM RIGHT)
   ==================================================================== */
.theme-toggle-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: var(--bg-surface);
  border: 2px solid var(--primary-cyan);
  color: var(--text-primary);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px var(--glow-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.theme-toggle-floating:hover {
  transform: scale(1.12) rotate(15deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 30px var(--glow-color);
}

.theme-toggle-floating svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin="round";
}

.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
  stroke: #f59e0b;
}
[data-theme="dark"] .icon-moon {
  display: none;
}

/* Mobile Responsiveness */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-card-container {
    order: -1;
  }
  .hero-pills, .hero-buttons-row {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .content-container {
    padding: 30px 24px 80px;
  }
  .top-navbar {
    padding: 0 24px;
  }
  .access-pass-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .access-pass-stat:nth-child(3) {
    border-right: none;
  }
  .access-pass-stat:nth-child(-n+3) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    width: 260px !important;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-wrapper {
    margin-left: 0 !important;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 3rem;
  }
  .theme-toggle-floating {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* Overall mobile "zoom out" — scales the whole page down slightly on phones
   so content feels less cramped and more premium, without changing any
   layout, data, or copy. Falls back gracefully on browsers without zoom
   support (content simply renders at 100%, still fully responsive). */
@media (max-width: 600px) {
  html {
    zoom: 0.9;
  }
}

/* Additional Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  .top-navbar {
    padding: 0 16px !important;
    height: 70px !important;
  }
  .top-actions {
    gap: 8px !important;
  }
  .btn-dark-pill, .btn-white-pill {
    padding: 9px 16px !important;
    font-size: 0.82rem !important;
  }
  .content-container {
    padding: 24px 16px 60px !important;
  }
  .hero-title {
    font-size: 2.6rem !important;
  }
  .hero-motto {
    font-size: 1.15rem !important;
  }
  .hero-description {
    font-size: 0.98rem !important;
  }
  .form-card {
    padding: 24px 18px !important;
    border-radius: 20px !important;
  }
  .input-grid {
    grid-template-columns: 1fr !important;
  }
  .theme-toggle-floating {
    bottom: 16px !important;
    right: 16px !important;
    width: 46px !important;
    height: 46px !important;
  }
  .access-pass-card {
    padding: 24px 20px !important;
  }
  .access-pass-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .access-pass-stat:nth-child(2n) {
    border-right: none !important;
  }
  .access-pass-stat {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  }
  .access-modal {
    padding: 28px 20px !important;
    border-radius: 22px !important;
  }
  .social-icon-btn {
    width: 36px !important;
    height: 36px !important;
  }
}
