/* ==========================================================================
   ATONIX — $20K Premium Redesign
   Design System: Dark Cinematic + Aurora UI + Glassmorphism
   Typography: Outfit (heading) + Plus Jakarta Sans (body)
   Icons: Phosphor Icons (6 weight system)
   ========================================================================== */

/* ─── Design Tokens ──────────────────────────────────────────────────── */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Core palette */
  --bg:          #05020c;
  --bg-card:     rgba(12, 6, 24, 0.72);
  --text:        #f3f1f6;
  --text-muted:  #9d96ae;
  --text-dim:    #5a5269;

  /* Brand neon trio */
  --purple:      #8A2BE2;
  --pink:        #FF1493;
  --cyan:        #00E5FF;

  /* Glow variants */
  --purple-glow: rgba(138, 43, 226, 0.32);
  --cyan-glow:   rgba(0, 229, 255, 0.28);
  --pink-glow:   rgba(255, 20, 147, 0.28);

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #8A2BE2 0%, #4B0082 45%, #FF1493 100%);
  --grad-aurora:   linear-gradient(135deg, rgba(138,43,226,0.12) 0%, rgba(0,229,255,0.08) 50%, rgba(255,20,147,0.10) 100%);
  --grad-glow-txt: linear-gradient(90deg, #DDA0DD, #8A2BE2, #00E5FF, #FF1493);

  /* Border */
  --border-subtle:  rgba(255,255,255,0.06);
  --border-mid:     rgba(255,255,255,0.10);
  --border-purple:  rgba(138,43,226,0.35);

  /* Radius system */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 50px;

  /* Elevation shadows */
  --shadow-1: 0 2px 12px rgba(0,0,0,0.35);
  --shadow-2: 0 8px 32px rgba(0,0,0,0.55);
  --shadow-purple: 0 0 35px rgba(138,43,226,0.22);
  --shadow-cyan:   0 0 35px rgba(0,229,255,0.18);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 320ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --t-slow:   600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index scale */
  --z-bg:       0;
  --z-grid:     1;
  --z-content:  10;
  --z-orbit:    20;
  --z-nav:      50;
  --z-drawer:   60;
  --z-toast:    90;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: auto;
  scrollbar-color: #8A2BE2 #05020c;
  -webkit-text-size-adjust: 100%;
}

/* Custom main scrollbar acting as the progress bar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #05020c;
  border-left: 1px solid rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8A2BE2, #FF1493);
  border-radius: 9999px;
  border: 2px solid #05020c;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1), 0 0 10px rgba(138, 43, 226, 0.8), 0 0 5px rgba(255, 20, 147, 0.6);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #9b47ff, #ff33a3);
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Accessibility ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 999;
  background: var(--purple);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

*:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.nav-links a:focus,
.nav-links a:focus-visible,
.mobile-nav-link:focus,
.mobile-nav-link:focus-visible {
  outline: none !important;
}

/* ─── Global grid overlay ────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: rgba(10, 4, 22, 0.82); /* Rich deep purple dark mode tint */
  background-image:
    linear-gradient(to right, rgba(138, 43, 226, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(138, 43, 226, 0.08) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(0, 0, 0, 0.45) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 1.5px, transparent 1.5px);
  background-size: 20px 20px, 20px 20px, 40px 40px, 40px 40px; /* Denser dark square grid */
  pointer-events: none;
  z-index: var(--z-grid);
}

/* ─── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ─── Background Canvas ──────────────────────────────────────────────── */
.canvas-container {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
}

#animation-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 992px) {
  #animation-canvas {
    display: none !important;
  }
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.16) 0%, rgba(5, 2, 12, 0.88) 100%);
  z-index: 2;
}

/* ─── Navigation ─────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background: rgba(5, 2, 12, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-normal), border-color var(--t-normal);
}

header.scrolled {
  background: rgba(5, 2, 12, 0.92);
  border-color: var(--border-mid);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1440px; /* Stretch out wider to match layout */
  margin: 0 auto;
  padding: 0.8rem 4rem; /* Balanced side paddings */
  gap: 1.5rem;
}

.nav-left-spacer {
  /* Empty spacer to push center group to center */
}

.nav-center-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem; /* Well distributed center gap */
}

.nav-right-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    padding: 0.8rem 2rem !important; /* Keep mobile padding clean */
  }
  .nav-left-spacer {
    display: none !important;
  }
  .nav-center-group {
    gap: 1rem !important;
  }
  .nav-right-group {
    gap: 0.8rem !important;
  }
  .logo-wrapper {
    margin-left: 0 !important;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  justify-self: start;
  margin-left: 0; /* Aligned with standard padding of container */
  transition: margin-left 0.3s ease;
}

.logo-wordmark {
  opacity: 0.88;
  transition: opacity var(--t-fast), filter var(--t-fast);
}
.logo-wrapper:hover .logo-wordmark {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.6));
}

.nav-links {
  display: flex;
  gap: 3rem; /* Distributed with balanced spacing */
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  position: relative;
  text-decoration: none;
  transition: color var(--t-fast);
  touch-action: manipulation;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--grad-glow-txt);
  border-radius: 1px;
  transition: width var(--t-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ─── Hamburger Button ───────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
  touch-action: manipulation;
}

.hamburger:hover {
  background: rgba(138,43,226,0.12);
  border-color: var(--border-purple);
}

.hamburger-line {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-normal), opacity var(--t-normal);
}

.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile Nav Drawer ──────────────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 12, 0.75);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0;
  transition: opacity var(--t-normal);
  cursor: pointer;
}

.mobile-nav-overlay.open {
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 90vw);
  height: 100dvh;
  background: rgba(8, 4, 18, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid var(--border-mid);
  z-index: var(--z-drawer);
  transition: right var(--t-slow);
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-drawer a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation;
  min-height: 44px;
}

.mobile-nav-drawer a:hover {
  color: #fff;
  background: rgba(138,43,226,0.10);
  border-color: var(--border-purple);
}

.mobile-nav-drawer .nav-drawer-cta {
  margin-top: 1.5rem;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--t-fast), color var(--t-fast);
  touch-action: manipulation;
}

.mobile-nav-close:hover {
  background: rgba(255,20,147,0.12);
  color: #fff;
  border-color: var(--pink-glow);
}

/* ─── Glassmorphism System ───────────────────────────────────────────── */
.glass {
  background: rgba(12, 6, 26, 0.52);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-subtle);
}

/* ─── Cut-corner card shape ──────────────────────────────────────────── */
.cut-corner {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  border: none;
  background: linear-gradient(135deg, rgba(18,8,36,0.72) 0%, rgba(8,4,16,0.85) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  position: relative;
}

/* Gradient border via pseudo-element (survives clip-path) */
.cut-corner::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(138,43,226,0.25), rgba(0,229,255,0.12));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
  transition: opacity var(--t-normal), background var(--t-normal);
}

.cut-corner:hover::before {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  opacity: 1;
}

/* Glow helpers */
.glow-purple { box-shadow: var(--shadow-purple); }
.glow-cyan   { box-shadow: var(--shadow-cyan); }
.glow-pink   { box-shadow: 0 0 35px var(--pink-glow); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: none;
  transition: transform var(--t-fast), box-shadow var(--t-normal), background var(--t-normal), opacity var(--t-fast);
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  text-decoration: none;
  min-height: 44px;
  touch-action: manipulation;
  user-select: none;
}

.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Gradient border on buttons via before */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background var(--t-normal), opacity var(--t-normal);
  opacity: 0.85;
}

.btn-primary {
  background: rgba(22, 10, 45, 0.88);
  color: #fff;
  box-shadow: 0 0 22px rgba(138,43,226,0.28);
}
.btn-primary::before {
  background: linear-gradient(135deg, #8A2BE2, #FF1493);
}
.btn-primary:hover {
  background: rgba(32, 14, 60, 0.95);
  box-shadow: 0 0 36px rgba(138,43,226,0.55);
  transform: scale(1.03) translateY(-1px);
}
.btn-primary:hover::before {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--pink));
  opacity: 1;
}

.btn-secondary {
  background: rgba(10, 5, 20, 0.65);
  color: var(--text-muted);
}
.btn-secondary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(138,43,226,0.28));
}
.btn-secondary:hover {
  background: rgba(20, 8, 40, 0.85);
  color: #fff;
  transform: scale(1.03);
}

/* ─── Badge Pills ────────────────────────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(138,43,226,0.1);
  border: 1px solid rgba(138,43,226,0.28);
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #DDA0DD;
}

.badge-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--purple);
  flex-shrink: 0;
}

.badge-pill .pulse {
  animation: pulse-glow 1.8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%   { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(138,43,226,0.7); }
  60%  { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(138,43,226,0); }
  100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(138,43,226,0); }
}

/* ─── Gradient text ──────────────────────────────────────────────────── */
.gradient-text {
  background: var(--grad-glow-txt);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  animation: gradient-pan 6s linear infinite;
}

@keyframes gradient-pan {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Belief Quote ───────────────────────────────────────────────────── */
.belief-quote {
  border-left: 2.5px solid var(--pink);
  padding-left: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: #DDA0DD;
  line-height: 1.5;
}

/* ─── Live Metrics Section ───────────────────────────────────────────── */
.metrics-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.metric-card-vertical {
  background: #000000 !important;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  position: relative;
  transition: transform var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.metric-card-vertical:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Card custom neon borders on hover */
#metric-card-total {
  border-color: rgba(138, 43, 226, 0.25);
}
#metric-card-total:hover {
  border-color: #8A2BE2;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.25);
}

#metric-card-artists {
  border-color: rgba(138, 43, 226, 0.25);
}
#metric-card-artists:hover {
  border-color: #8A2BE2;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.25);
}

#metric-card-enthusiasts {
  border-color: rgba(255, 20, 147, 0.25);
}
#metric-card-enthusiasts:hover {
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.25);
}

#metric-card-worlds {
  border-color: rgba(0, 229, 255, 0.25);
}
#metric-card-worlds:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.metric-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-normal);
}

.metric-card-vertical:hover .metric-icon-box {
  transform: scale(1.05);
}

/* Progress bar styles */
.progress-track-bg {
  background: rgba(255, 255, 255, 0.08) !important;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  position: relative;
}

.progress-fill-line {
  height: 100%;
  border-radius: 9999px;
  position: relative;
  width: 0%; /* Driven dynamically by JS animation */
  transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

#artist-progress-fill {
  background: linear-gradient(90deg, #8A2BE2, #B060FF);
  color: #8A2BE2;
}

#enth-progress-fill {
  background: linear-gradient(90deg, var(--pink), #FF69B4);
  color: var(--pink);
}

.progress-fill-glow-knob {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid currentColor;
  box-shadow: 0 0 10px currentColor;
  z-index: 10;
}

/* Milestone styles */
.milestones-row {
  position: relative;
  width: 100%;
  height: 34px;
  margin-top: 0.25rem;
}

.milestone-marker {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

#metric-card-artists .milestone-marker {
  color: #8A2BE2;
}

#metric-card-enthusiasts .milestone-marker {
  color: var(--pink);
}

.milestone-marker.align-right {
  transform: translateX(-100%);
}

.milestone-marker .milestone-val {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--t-normal);
}

.milestone-marker.reached .milestone-val {
  color: #ffffff;
}

.milestone-marker .milestone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: background var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
}

.milestone-marker.reached .milestone-dot {
  background: currentColor;
  border-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.milestone-marker .milestone-label {
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.milestone-marker.reached .milestone-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Card live update pulse animation */
@keyframes card-live-pulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.live-pulse {
  animation: card-live-pulse 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Live Badge */
.pulse-pink {
  animation: pink-pulse-glow 1.8s infinite;
}

@keyframes pink-pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,20,147,0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 8px 3px rgba(255,20,147,0.5); }
}

/* ─── Slidable Letters (ATONIX) ──────────────────────────────────────── */
.letter-card {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: rgba(10, 5, 22, 0.6);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--t-normal), box-shadow var(--t-normal), border-color var(--t-normal), background var(--t-normal), color var(--t-fast);
  color: var(--text-muted);
  touch-action: manipulation;
  min-height: 44px;
}

.letter-card:hover,
.letter-card.active {
  color: #fff;
  border-color: var(--purple);
  background: rgba(138,43,226,0.14);
  box-shadow: 0 0 18px rgba(138,43,226,0.4);
  transform: translateY(-4px) scale(1.06);
}

/* ─── Toggle Tabs ────────────────────────────────────────────────────── */
.toggle-btn {
  padding: 0.6rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(12, 6, 24, 0.6);
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  touch-action: manipulation;
  min-height: 38px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  position: relative;
}

.toggle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.2px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  background: var(--border-subtle);
  transition: background var(--t-normal);
}

.toggle-btn:hover { color: #fff; }
.toggle-btn:hover::before { background: var(--border-purple); }

.toggle-btn.active {
  background: rgba(138, 43, 226, 0.16);
  color: #fff;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.25);
}

.toggle-btn.active::before {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

/* Audience content */
.audience-content { display: none; }
.audience-content.active { display: block; }

/* ─── Showcase Cards ─────────────────────────────────────────────────── */
.showcase-card {
  box-shadow: var(--shadow-purple);
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-normal);
  border-radius: var(--r-md);
}
.showcase-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--purple);
  box-shadow: 0 0 50px rgba(138,43,226,0.32);
}
.showcase-image img { transition: transform var(--t-slow); }
.showcase-card:hover .showcase-image img { transform: scale(1.07); }

/* ─── Vertical Triggers (Section 3) ──────────────────────────────────── */
.audience-triggers-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: rgba(255, 255, 255, 0.08); /* Divider border color */
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.5rem;
  gap: 1px; /* The gap acts as the border */
}
@media (max-width: 1024px) {
  .audience-triggers-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .audience-triggers-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trigger-item-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: rgba(12, 6, 26, 0.95); /* Cell background */
  cursor: pointer;
  transition: all var(--t-normal);
  position: relative;
  touch-action: manipulation;
  height: 100%;
}

.trigger-item-v::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color var(--t-normal);
}

.trigger-item-v:hover,
.trigger-item-v.active {
  background: rgba(138, 43, 226, 0.12);
}

.trigger-item-v.active {
  box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.25);
}

.trigger-item-v.active::before {
  border-color: var(--purple);
}

.trigger-item-v .trigger-icon-v {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-normal), color var(--t-normal);
}

.trigger-item-v.active .trigger-icon-v,
.trigger-item-v:hover .trigger-icon-v {
  color: #fff !important;
  transform: translateY(-2px);
}

.trigger-item-v.active .trigger-icon-v i,
.trigger-item-v:hover .trigger-icon-v i {
  color: #fff !important;
}

.trigger-title-v {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  transition: color var(--t-fast);
}

.trigger-item-v.active .trigger-title-v,
.trigger-item-v:hover .trigger-title-v {
  color: #fff;
}

.trigger-desc-v {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1.4;
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════════════
   WHY JOIN CARDS — Neon border expand-on-hover cards (Section 3)
   ══════════════════════════════════════════════════════════════════════ */
.why-join-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
  margin-top: 1.25rem;
  align-items: start;
}

@media (max-width: 1200px) {
  .why-join-cards-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
  .why-join-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.85rem !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    align-items: stretch !important;
    /* Break out of all parent padding to reach viewport edges */
    margin-left: calc(-1 * clamp(1.25rem, 4vw, 2.5rem)) !important;
    margin-right: calc(-1 * clamp(1.25rem, 4vw, 2.5rem)) !important;
    /* Re-apply safe insets for scroll-snap and visual spacing */
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem clamp(1.25rem, 4vw, 2.5rem) !important;
    scroll-padding-left: clamp(1.25rem, 4vw, 2.5rem) !important;
    scroll-padding-right: clamp(1.25rem, 4vw, 2.5rem) !important;
  }
  .why-join-cards-grid::-webkit-scrollbar {
    display: none !important;
  }
  .wjc-card-wrapper {
    flex: 0 0 280px !important;
    width: 280px !important;
    height: auto !important;
    scroll-snap-align: start !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .wjc-card {
    position: relative !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 1.1rem 1.25rem !important;
    flex-grow: 1 !important;
    overflow: visible !important;
    transform-style: flat !important;
    transform: none !important;
  }
  .wjc-desc {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 0.35rem !important;
    font-size: 0.72rem !important;
  }
}
@media (max-width: 768px) {
  .why-join-cards-grid {
    /* On phones, break out of section-glass margin too */
    margin-left: calc(-1 * clamp(1.25rem, 4vw, 2.5rem) - 1rem) !important;
    margin-right: calc(-1 * clamp(1.25rem, 4vw, 2.5rem) - 1rem) !important;
    padding-left: calc(clamp(1.25rem, 4vw, 2.5rem) + 1rem) !important;
    padding-right: calc(clamp(1.25rem, 4vw, 2.5rem) + 1rem) !important;
    scroll-padding-left: calc(clamp(1.25rem, 4vw, 2.5rem) + 1rem) !important;
    scroll-padding-right: calc(clamp(1.25rem, 4vw, 2.5rem) + 1rem) !important;
  }
  .wjc-card-wrapper {
    height: auto !important;
    flex: 0 0 calc(100vw - 3.5rem) !important;
    width: calc(100vw - 3.5rem) !important;
  }
}

/* Card wrapper to prevent layout shift during expansion on desktop */
.wjc-card-wrapper {
  position: relative;
  height: 135px;
}
@media (max-width: 1200px) {
  .wjc-card-wrapper {
    height: 145px;
  }
}

/* Base card */
.wjc-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  transition:
    box-shadow 0.55s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.4s ease,
    border-color 0.4s ease;
  touch-action: manipulation;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  isolation: isolate;
}

/* Grid overlay background inside cards */
.wjc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  pointer-events: none;
  z-index: -1;
  border-radius: 14px;
}

/* Icon square wrapper */
.wjc-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.4rem;
  flex-shrink: 0;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.wjc-title {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.3;
  display: block;
}

.wjc-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 400;
  display: block;
}

/* Expanded description — hidden by default, slides in on hover */
.wjc-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-family: var(--font-body);
  font-weight: 400;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease 0.05s,
    margin-top 0.3s ease,
    font-size 0.3s ease;
  margin-top: 0;
}

.wjc-card:hover,
.wjc-card.active {
  height: auto !important;
  min-height: 100%;
  z-index: 20;
}

.wjc-card:hover .wjc-desc,
.wjc-card.active .wjc-desc {
  max-height: 250px;
  opacity: 1;
  margin-top: 0.35rem;
  font-size: 0.72rem;
}

/* ── Holographic Overlay Layers (injected via JS) ── */
.holo-glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    circle at var(--bg-x, 50%) var(--bg-y, 50%),
    rgba(255, 255, 255, 0.18) 0%,
    rgba(180, 100, 255, 0.10) 30%,
    transparent 65%
  );
  mix-blend-mode: screen;
  z-index: 3;
}

.holo-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  /* Iridescent rainbow gradient driven by mouse position */
  background: conic-gradient(
    from calc(var(--bg-x, 0.5) * 360deg) at var(--bg-x, 50%) var(--bg-y, 50%),
    rgba(255, 0, 128, 0.09),
    rgba(255, 140, 0, 0.09),
    rgba(255, 214, 0, 0.09),
    rgba(0, 200, 120, 0.09),
    rgba(0, 200, 255, 0.09),
    rgba(138, 43, 226, 0.09),
    rgba(255, 0, 128, 0.09)
  );
  mix-blend-mode: screen;
  z-index: 2;
}

/* Active state: overlays become visible when card is in holo-active state */
.wjc-card.holo-active .holo-glow,
.wjc-card.holo-active .holo-shimmer {
  opacity: 1;
}

/* Card lifts and scales when holo-active (JS sets inline transform) */
.wjc-card.holo-active {
  z-index: 20;
}

/* ── Unique neon border + glow per card ── */

/* 1 — Orange */
.wjc-card-wrapper:nth-child(1) .wjc-card { border-color: rgba(255, 100, 0, 0.30); }
.wjc-card-wrapper:nth-child(1) .wjc-card:hover,
.wjc-card-wrapper:nth-child(1) .wjc-card.active {
  border-color: #FF6400;
  background: linear-gradient(rgba(255, 100, 0, 0.07), rgba(255, 100, 0, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(255, 100, 0, 0.40), inset 0 0 18px rgba(255, 100, 0, 0.06);
}
.wjc-card-wrapper:nth-child(1) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(1) .wjc-card.active .wjc-icon-wrap {
  background: rgba(255, 100, 0, 0.18);
  border-color: rgba(255, 100, 0, 0.45);
  color: #FF6400;
  box-shadow: 0 0 10px rgba(255, 100, 0, 0.30);
}

/* 2 — Purple */
.wjc-card-wrapper:nth-child(2) .wjc-card { border-color: rgba(138, 43, 226, 0.30); }
.wjc-card-wrapper:nth-child(2) .wjc-card:hover,
.wjc-card-wrapper:nth-child(2) .wjc-card.active {
  border-color: #8A2BE2;
  background: linear-gradient(rgba(138, 43, 226, 0.09), rgba(138, 43, 226, 0.09)), #000000;
  box-shadow: 0 0 22px rgba(138, 43, 226, 0.50), inset 0 0 18px rgba(138, 43, 226, 0.08);
}
.wjc-card-wrapper:nth-child(2) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(2) .wjc-card.active .wjc-icon-wrap {
  background: rgba(138, 43, 226, 0.22);
  border-color: rgba(138, 43, 226, 0.55);
  color: #B060FF;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.35);
}

/* 3 — Blue */
.wjc-card-wrapper:nth-child(3) .wjc-card { border-color: rgba(68, 120, 255, 0.30); }
.wjc-card-wrapper:nth-child(3) .wjc-card:hover,
.wjc-card-wrapper:nth-child(3) .wjc-card.active {
  border-color: #4478FF;
  background: linear-gradient(rgba(68, 120, 255, 0.07), rgba(68, 120, 255, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(68, 120, 255, 0.40), inset 0 0 18px rgba(68, 120, 255, 0.06);
}
.wjc-card-wrapper:nth-child(3) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(3) .wjc-card.active .wjc-icon-wrap {
  background: rgba(68, 120, 255, 0.18);
  border-color: rgba(68, 120, 255, 0.45);
  color: #6699FF;
  box-shadow: 0 0 10px rgba(68, 120, 255, 0.30);
}

/* 4 — Green */
.wjc-card-wrapper:nth-child(4) .wjc-card { border-color: rgba(0, 190, 140, 0.30); }
.wjc-card-wrapper:nth-child(4) .wjc-card:hover,
.wjc-card-wrapper:nth-child(4) .wjc-card.active {
  border-color: #00BE8C;
  background: linear-gradient(rgba(0, 190, 140, 0.07), rgba(0, 190, 140, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(0, 190, 140, 0.40), inset 0 0 18px rgba(0, 190, 140, 0.06);
}
.wjc-card-wrapper:nth-child(4) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(4) .wjc-card.active .wjc-icon-wrap {
  background: rgba(0, 190, 140, 0.18);
  border-color: rgba(0, 190, 140, 0.45);
  color: #00D4A0;
  box-shadow: 0 0 10px rgba(0, 190, 140, 0.30);
}

/* 5 — Gold */
.wjc-card-wrapper:nth-child(5) .wjc-card { border-color: rgba(255, 180, 0, 0.30); }
.wjc-card-wrapper:nth-child(5) .wjc-card:hover,
.wjc-card-wrapper:nth-child(5) .wjc-card.active {
  border-color: #FFB400;
  background: linear-gradient(rgba(255, 180, 0, 0.07), rgba(255, 180, 0, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(255, 180, 0, 0.40), inset 0 0 18px rgba(255, 180, 0, 0.06);
}
.wjc-card-wrapper:nth-child(5) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(5) .wjc-card.active .wjc-icon-wrap {
  background: rgba(255, 180, 0, 0.18);
  border-color: rgba(255, 180, 0, 0.45);
  color: #FFB400;
  box-shadow: 0 0 10px rgba(255, 180, 0, 0.30);
}

/* 6 — Magenta/Pink */
.wjc-card-wrapper:nth-child(6) .wjc-card { border-color: rgba(255, 20, 147, 0.30); }
.wjc-card-wrapper:nth-child(6) .wjc-card:hover,
.wjc-card-wrapper:nth-child(6) .wjc-card.active {
  border-color: #FF1493;
  background: linear-gradient(rgba(255, 20, 147, 0.07), rgba(255, 20, 147, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(255, 20, 147, 0.40), inset 0 0 18px rgba(255, 20, 147, 0.06);
}
.wjc-card-wrapper:nth-child(6) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(6) .wjc-card.active .wjc-icon-wrap {
  background: rgba(255, 20, 147, 0.18);
  border-color: rgba(255, 20, 147, 0.45);
  color: #FF1493;
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.30);
}

/* 7 — Cyan */
.wjc-card-wrapper:nth-child(7) .wjc-card { border-color: rgba(0, 229, 255, 0.30); }
.wjc-card-wrapper:nth-child(7) .wjc-card:hover,
.wjc-card-wrapper:nth-child(7) .wjc-card.active {
  border-color: #00E5FF;
  background: linear-gradient(rgba(0, 229, 255, 0.07), rgba(0, 229, 255, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.40), inset 0 0 18px rgba(0, 229, 255, 0.06);
}
.wjc-card-wrapper:nth-child(7) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(7) .wjc-card.active .wjc-icon-wrap {
  background: rgba(0, 229, 255, 0.18);
  border-color: rgba(0, 229, 255, 0.45);
  color: #00E5FF;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.30);
}

/* 8 — Teal */
.wjc-card-wrapper:nth-child(8) .wjc-card { border-color: rgba(0, 210, 170, 0.30); }
.wjc-card-wrapper:nth-child(8) .wjc-card:hover,
.wjc-card-wrapper:nth-child(8) .wjc-card.active {
  border-color: #00D2AA;
  background: linear-gradient(rgba(0, 210, 170, 0.07), rgba(0, 210, 170, 0.07)), #000000;
  box-shadow: 0 0 22px rgba(0, 210, 170, 0.40), inset 0 0 18px rgba(0, 210, 170, 0.06);
}
.wjc-card-wrapper:nth-child(8) .wjc-card:hover .wjc-icon-wrap,
.wjc-card-wrapper:nth-child(8) .wjc-card.active .wjc-icon-wrap {
  background: rgba(0, 210, 170, 0.18);
  border-color: rgba(0, 210, 170, 0.45);
  color: #00D2AA;
  box-shadow: 0 0 10px rgba(0, 210, 170, 0.30);
}

/* ─── Feature Accordion List (Section 4) ─────────────────────────────── */
.features-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .features-list {
    height: 460px; /* Lock height on desktop to stabilize container vertical centering */
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.feature-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
}

.feature-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  min-width: 3.5rem;
  transition: color 0.3s ease;
}

.feature-title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  flex-grow: 1;
  margin: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.feature-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.feature-toggle::after {
  content: '+';
}

/* Hover States */
.feature-item:hover .feature-title {
  color: var(--pink) !important;
  transform: translateX(5px);
}

.feature-item:hover .feature-num {
  color: var(--pink);
}

.feature-item:hover .feature-toggle {
  color: #ffffff;
  transform: scale(1.1);
}

/* Active/Expanded States */
.feature-item.active {
  border-bottom-color: rgba(168, 85, 247, 0.35);
}

.feature-item.active .feature-title {
  color: var(--pink) !important;
}

.feature-item.active .feature-num {
  color: var(--pink);
  font-weight: 700;
}

.feature-item.active .feature-toggle {
  color: var(--pink);
}

.feature-item.active .feature-toggle::after {
  content: '−';
}

/* Accordion Body Transition */
.feature-item-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.25, 1, 0.45, 1), opacity 0.4s ease-in-out;
}

.feature-item.active .feature-item-body {
  max-height: 120px; /* Tightly matched to text height for smooth slow transition */
  opacity: 1;
}

.feature-body-content {
  display: block;
  padding-top: 0.6rem;
  padding-left: 3.5rem;
  padding-bottom: 0.2rem;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 100%;
}

/* Mobile responsive for accordion */
@media (max-width: 640px) {
  .feature-body-content {
    padding-left: 0;
    padding-top: 0.5rem;
  }
  .feature-title {
    font-size: 1.25rem;
  }
  .feature-item.active .feature-item-body {
    max-height: 160px; /* Extra room for text wrap on narrow screens */
  }
}


/* Preview card image banner */
#preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Preview card button */
.preview-card-btn {
  transition: all var(--t-normal);
}
.preview-card-btn:hover {
  background: rgba(138, 43, 226, 0.2);
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

/* Preview card hover glow */
.preview-card {
  box-shadow: var(--shadow-purple);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 48px rgba(138,43,226,0.3);
}

/* ─── Orbit Categories Wheel ─────────────────────────────────────────── */
.orbit-cards-container {
  position: absolute;
  inset: 0;
}

.orbit-card {
  position: absolute;
  width: 118px;
  height: 52px;
  margin-left: -59px;
  margin-top: -26px;
  background: linear-gradient(135deg, rgba(18,8,36,0.88) 0%, rgba(8,4,16,0.94) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  z-index: var(--z-content);
  cursor: pointer;
  transition:
    width  0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    margin 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
  touch-action: manipulation;
}

.orbit-card-inner {
  padding: 0.55rem 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.orbit-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.orbit-subcategories {
  list-style: none;
  font-size: 0.68rem;
  color: var(--text-muted);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.orbit-card.active {
  width: 178px;
  height: 152px;
  margin-left: -89px;
  margin-top: -76px;
  z-index: var(--z-orbit);
  box-shadow: 0 0 36px rgba(138,43,226,0.38);
  border-color: var(--purple);
}

.orbit-card.active .orbit-card-header {
  color: #fff;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

.orbit-card.active .orbit-subcategories {
  opacity: 1;
  height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.orbit-subcategories li {
  padding-left: 0.7rem;
  position: relative;
  font-weight: 500;
}
.orbit-subcategories li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 0.55rem;
  top: 0.05em;
}

/* Orbit hub */
.orbit-hub {
  box-shadow: 0 0 28px rgba(138,43,226,0.45);
  transition: box-shadow var(--t-normal);
}
.orbit-hub:hover {
  box-shadow: 0 0 48px rgba(138,43,226,0.65);
}

.logo-glow-subtle {
  filter: drop-shadow(0 0 5px rgba(138,43,226,0.65));
}

.hub-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(138,43,226,0.32);
  animation: hub-ripple 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes hub-ripple {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ─── Perks list ─────────────────────────────────────────────────────── */
.perk-row {
  transition: transform var(--t-normal);
}
.perk-row:hover {
  transform: translateX(4px);
}

.perk-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
}

/* ─── Form Inputs ────────────────────────────────────────────────────── */
.form-group-with-icon {
  position: relative;
}

.form-group-with-icon input,
.form-group-with-icon select {
  width: 100%;
  background: rgba(14, 8, 28, 0.65);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  padding: 0.875rem 0.875rem 0.875rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  min-height: 44px;
}

.form-group-with-icon input:focus,
.form-group-with-icon select:focus {
  border-color: var(--purple);
  background: rgba(18, 10, 36, 0.75);
  box-shadow: 0 0 0 3px rgba(138,43,226,0.18);
}

.form-group-with-icon input::placeholder { color: var(--text-muted); }

.input-icon-left {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}

.input-icon-right {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

select option { background-color: #0b061c; color: #fff; }

/* Identity + role selectors */
.identity-btn {
  min-height: 44px;
  font-family: var(--font-heading);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  touch-action: manipulation;
}

.role-pill,
.modal-role-pill,
.identity-btn,
.modal-identity-btn {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(17, 9, 36, 0.5) !important;
  color: var(--text-muted) !important;
  transition: all var(--t-fast);
  cursor: pointer;
  touch-action: manipulation;
}

.role-pill,
.modal-role-pill {
  border-radius: var(--r-pill) !important;
  font-family: var(--font-body) !important;
}

.identity-btn,
.modal-identity-btn {
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
}

.role-pill:hover,
.modal-role-pill:hover,
.identity-btn:hover,
.modal-identity-btn:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.role-pill.active,
.modal-role-pill.active,
.identity-btn.active,
.modal-identity-btn.active {
  border-color: var(--purple) !important;
  background: rgba(138, 43, 226, 0.12) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* ─── Toast notification ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: -460px;
  z-index: var(--z-toast);
  background: rgba(8, 4, 18, 0.92);
  border: 1px solid #22C55E;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.75rem;
  box-shadow: 0 8px 40px rgba(34,197,94,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: right var(--t-slow);
  max-width: 420px;
  min-width: 280px;
}
.toast.show { right: 2rem; }

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

/* ─── Scroll Reveal System ───────────────────────────────────────────── */
.sticky-container {
  opacity: var(--section-opacity, 1);
  transform: scale(var(--section-scale, 1));
  will-change: opacity, transform;
  transition: none;
}

body.js-active .reveal-headline {
  opacity: var(--headline-opacity, 0);
  transform:
    translate(var(--headline-translate-x, 0px), var(--headline-translate-y, 0px))
    scale(var(--headline-scale, 1));
  will-change: transform, opacity;
  transition: none;
}

body.js-active .reveal-line {
  transform: scaleX(var(--line-scale, 0));
  transform-origin: left;
  will-change: transform;
  transition: none;
}

body.js-active .reveal-content {
  opacity: var(--content-opacity, 0);
  transform: translateY(var(--content-translate, 28px));
  will-change: transform, opacity;
  transition: none;
}

/* ─── Presence Card Avatars ──────────────────────────────────────────── */
.mini-avatar-group img {
  border: 2px solid var(--bg);
  transition: transform var(--t-fast);
}
.mini-avatar-group img:hover { transform: scale(1.15) translateY(-2px); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
footer a {
  text-decoration: none;
  transition: color var(--t-fast);
}
footer a:hover { color: var(--cyan); }

.footer-tagline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 200;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.1);
  transition: color 0.5s ease;
  user-select: none;
  line-height: 1.1;
}
.footer-tagline:hover { color: rgba(255,255,255,0.3); }

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ─── Phosphor Icon utilities ────────────────────────────────────────── */
.ph-icon-sm  { font-size: 0.875rem; }
.ph-icon-md  { font-size: 1.125rem; }
.ph-icon-lg  { font-size: 1.375rem; }
.ph-icon-xl  { font-size: 1.75rem; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .about-layout, .features-layout, .audience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .scroll-track { height: auto !important; }

  .sticky-container {
    position: relative !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .section-content {
    height: auto !important;
  }

  body.js-active .reveal-headline,
  body.js-active .reveal-line,
  body.js-active .reveal-content {
    opacity: 1 !important;
    transform: none !important;
  }

  .categories-right { height: 420px !important; }

  .hero-glass {
    opacity: 1 !important;
  }

  .wjc-card-wrapper {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .wjc-card {
    position: relative !important;
    height: auto !important;
    min-height: 100% !important;
    flex-grow: 1 !important;
    overflow: visible !important;
    transform-style: flat !important;
    transform: none !important;
  }
}

@media (max-width: 768px) {
  .nav-links       { display: none; }
  .hamburger       { display: flex; }
  .mobile-nav-overlay { display: block; pointer-events: none; }
  .mobile-nav-overlay.open { pointer-events: auto; }

  .nav-container { padding: 1rem 1.25rem; }

  body .sticky-container { padding-top: 5rem; }

  .hero-left h1  { font-size: clamp(2rem, 9vw, 3rem); }

  .audience-triggers-horizontal {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .showcase-card {
    width: 280px !important;
    height: 460px !important;
  }
  .prof-showcase-card {
    width: 280px !important;
    height: 350px !important;
  }
  .enth-showcase-card {
    width: 280px !important;
    height: 420px !important;
  }

  .register-card { padding: 1.5rem; }

  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-links-container { gap: 2.5rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0.875rem 1rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }
  .badge-pill { font-size: 0.65rem; padding: 0.35rem 0.875rem; }
  .slidable-letters { gap: 0.5rem; }
  .letter-card { width: 44px; height: 44px; font-size: 1.4rem; }
  .showcase-card {
    width: 260px !important;
    height: 425px !important;
  }
  .prof-showcase-card {
    width: 260px !important;
    height: 325px !important;
  }
  .enth-showcase-card {
    width: 260px !important;
    height: 390px !important;
  }
}

/* ─── Prefers Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gradient-text { animation: none; }
  .badge-pill .pulse { animation: none; }
  .blink-green { animation: none; opacity: 1; }
  .hub-pulse { animation: none; }
  body.js-active .reveal-headline,
  body.js-active .reveal-line,
  body.js-active .reveal-content {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   SECTION GLASS PANEL — Frosted glass backdrop behind content
   ══════════════════════════════════════════════════════════════════════ */
.section-glass {
  background: rgba(5, 2, 14, 0.52);
  backdrop-filter: blur(24px) saturate(180%) brightness(0.85);
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 4vw, 3rem);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow:
    0 8px 48px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color var(--t-slow);
}

/* Tighter glass on register section so form fits in 100vh */
.register-glass {
  padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 3vw, 2.5rem);
}

/* ══════════════════════════════════════════════════════════════════════
   REGISTER CARD — scrollable within viewport
   ══════════════════════════════════════════════════════════════════════ */
.register-card {
  overflow: visible !important;
  max-height: none !important;
}

/* ══════════════════════════════════════════════════════════════════════
   MODAL OVERLAY + PANEL
   ══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 2, 12, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: rgba(8, 4, 20, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(138, 43, 226, 0.28);
  border-radius: 20px;
  width: min(520px, 94vw);
  max-height: 92dvh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow:
    0 0 60px rgba(138, 43, 226, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.65);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(138,43,226,0.4) transparent;
}

.modal-panel::-webkit-scrollbar       { width: 4px; }
.modal-panel::-webkit-scrollbar-thumb { background: rgba(138,43,226,0.4); border-radius: 2px; }

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

.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.125rem;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation;
}

.modal-close-btn:hover {
  background: rgba(255,20,147,0.14);
  border-color: rgba(255,20,147,0.4);
  color: #fff;
}

.success-tagline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 30%, #8A2BE2 47%, #FF7B00 53%, #ffffff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: shiny-text-wave 5s linear infinite;
}

/* Social sign-in row */
.social-signin-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-signin-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-mid);
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
  touch-action: manipulation;
}

.social-signin-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-purple);
  color: #fff;
  transform: translateY(-2px);
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  margin: 1.25rem 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Checkbox style */
.modal-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.modal-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--purple);
  cursor: pointer;
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════════════════════════════
   FOOTER — Minimal: tagline + contact only
   ══════════════════════════════════════════════════════════════════════ */
.footer-minimal {
  background: rgba(2, 1, 6, 1);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(2.5rem, 5vh, 5rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 10;
  text-align: center;
}

@keyframes shiny-text-wave {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.footer-tagline-large {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 200;
  letter-spacing: 0.04em;
  line-height: 1;
  user-select: none;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
  font-style: italic;
  text-transform: lowercase;
  
  /* Shiny text wave effect (purple & orange pulse sweep) */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 40%, #8A2BE2 47%, #FF7B00 53%, rgba(255, 255, 255, 0.15) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: shiny-text-wave 5s linear infinite;
  transition: text-shadow 0.4s ease;
}

.footer-tagline-large:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.footer-contact-groups {
  display: flex;
  justify-content: center;
  gap: 3rem 6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-group-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
}

.footer-group-items {
  display: flex;
  align-items: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  text-decoration: none;
  
  /* Shiny text wave effect (white base, purple & orange sweep) */
  background: linear-gradient(90deg, #ffffff 40%, #8A2BE2 47%, #FF7B00 53%, #ffffff 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: shiny-text-wave 5s linear infinite;
  
  /* Transitions for hover scaling and glow */
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), text-shadow 0.4s ease, filter 0.4s ease;
  transform-origin: center;
}

.footer-contact-item:hover {
  transform: scale(1.08); /* Enlarge by bit */
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.footer-badge-min {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════
   CONTENT SIZE CLAMP — Ensures full visibility at 100% zoom
   ══════════════════════════════════════════════════════════════════════ */
.section-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
}

.section-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
}

/* Reduce register section vertical gaps */
#register .sticky-container {
  padding-top: 5rem;
  padding-bottom: 1.5rem;
}

#register .section-glass {
  padding: 1.25rem 2rem;
}

#register .perks-left .perks-list-layout {
  gap-y: 0.5rem;
}

@media (max-width: 768px) {
  .section-glass {
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
  }

  .modal-panel {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .footer-tagline-large {
    font-size: clamp(2rem, 14vw, 4rem);
  }
}

/* ══════════════════════════════════════════════════════════════════════
   TYPOGRAPHY UPGRADE — Outfit geometric display + DM Sans body
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-accent:  'Outfit', sans-serif;
}

/* Display headings — geometric sans-serif style */
.reveal-headline,
.hero-headline,
h1, h2 {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.reveal-headline {
  width: fit-content !important;
  text-transform: uppercase;
}

/* Reinforce large heading size with serif */
.text-5xl, .text-6xl, .text-7xl {
  font-family: var(--font-heading) !important;
}

#hero-section h1,
#hero-section .hero-headline {
  font-size: clamp(2.5rem, 5.8vh, 4.2rem) !important;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* Section headings */
.section-content h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.85rem, 3.6vh, 2.85rem) !important;
  font-weight: 600;
  line-height: 1.05;
}

/* Body copy — DM Sans clean and sharp */
p, li, label, input, select, textarea, .text-sm, .text-xs, .text-base {
  font-family: var(--font-body) !important;
}

/* Capsule labels stay Outfit */
.badge-pill span, .nav-links a, .btn span, .footer-badge-min {
  font-family: var(--font-accent) !important;
  letter-spacing: 0.06em;
}

/* Footer tagline stays Outfit italic */
.footer-tagline-large {
  font-family: var(--font-accent) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   FULL WIDTH — Remove internal left/right gaps, use edge-to-edge glass
   ══════════════════════════════════════════════════════════════════════ */
.section-glass {
  max-width: none !important;
  width: calc(100% - 4rem) !important;  /* 2rem each side */
  margin: 0 2rem !important;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .section-glass {
    width: calc(100% - 2rem) !important;
    margin: 0 1rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   HERO EMPTY START — Glass invisible at p=0, fades in as headline appears
   ══════════════════════════════════════════════════════════════════════ */
.hero-glass {
  opacity: var(--section-opacity, 0);
}

/* Override: hero-glass controlled by same --section-opacity as content */
#hero-section .sticky-container > .section-glass {
  background: transparent !important;
}

/* ══════════════════════════════════════════════════════════════════════
   GLASS OVERLAY REMOVED — Flat clean container
   ══════════════════════════════════════════════════════════════════════ */
.section-glass {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: clamp(1rem, 1.8vh, 1.85rem) clamp(1.25rem, 4vw, 2.5rem) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   ICON CONTRAST FIX — All Phosphor icons get guaranteed visible colors
   ══════════════════════════════════════════════════════════════════════ */
i.ph,
[class*="ph-"],
.ph,
.metric-icon i,
.trigger-icon i,
.perk-bullet i,
.input-icon-left i,
.cat-card-icon.ph {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* ══════════════════════════════════════════════════════════════════════
   CATEGORY CAROUSEL — Stacked 3D card deck, moving left-top-right loop
   ══════════════════════════════════════════════════════════════════════ */
.cat-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.cat-card {
  position: absolute;
  width: 220px;
  height: 290px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    opacity 0.5s ease;
  transform-style: preserve-3d;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06);
  will-change: transform, opacity;
}

/* ── CARD HOVER REVEAL — image blurs, text slides up ── */


/* Normal state: image fills card, NO text visible */
.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  /* Fallback color if image fails to load */
  background-color: rgba(20, 5, 40, 0.95);
  /* DO NOT use background shorthand here — it would erase the inline background-image */
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1),
              filter 0.55s cubic-bezier(0.16,1,0.3,1);
}


/* Base overlay: subtle dark gradient at bottom always (card legibility) */
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.0) 55%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
  border-radius: inherit;
  transition: background 0.45s ease;
}

/* Hue tint on card */
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    hsla(var(--card-hue, 270), 80%, 55%, 0.18) 0%,
    transparent 60%
  );
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 0.45s ease;
}

/* HOVER INFO — hidden by default, reveals on hover */
.cat-card-hover {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  z-index: 3;
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;

  /* Deep gradient behind text on hover */
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.82) 40%,
    rgba(0,0,0,0.96) 100%
  );
}

/* HOVER STATE — blur image + reveal text */
.cat-card:hover .cat-card-bg,
.cat-card:focus .cat-card-bg {
  filter: blur(6px) brightness(0.65) saturate(0.8);
  transform: scale(1.06);
}

.cat-card:hover::before,
.cat-card:focus::before {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.92) 100%
  );
}

.cat-card:hover .cat-card-hover,
.cat-card:focus .cat-card-hover {
  opacity: 1;
  transform: translateY(0);
}

.cat-card:hover::after,
.cat-card:focus::after {
  opacity: 0.5;
}

.cat-card-icon {
  display: block;
  font-size: 1.6rem !important;
  color: rgba(255,255,255,0.95) !important;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.cat-card-title {
  font-family: var(--font-heading) !important;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.cat-card-sub {
  font-family: var(--font-body) !important;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Remove old .cat-card-content (replaced by .cat-card-hover) */
.cat-card-content {
  display: none;
}

/* Front card (visible center) */
.cat-card.pos-front {
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 10;
}

/* Left card (peeking from left edge) */
.cat-card.pos-left {
  transform: translateX(-160px) translateY(20px) scale(0.88) rotateY(12deg);
  opacity: 0.65;
  z-index: 7;
}

/* Right card (peeking from right edge) */
.cat-card.pos-right {
  transform: translateX(160px) translateY(20px) scale(0.88) rotateY(-12deg);
  opacity: 0.65;
  z-index: 7;
}

/* Back/hidden cards */
.cat-card.pos-back {
  transform: translateX(0) translateY(40px) scale(0.78);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* Hover enhancement on front */
.cat-card.pos-front:hover {
  transform: translateX(0) translateY(-6px) scale(1.02) rotateY(0deg);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 40px hsla(var(--card-hue, 270), 70%, 55%, 0.3);
}

/* ══════════════════════════════════════════════════════════════════════
   CITY AUTOCOMPLETE
   ══════════════════════════════════════════════════════════════════════ */
.city-autocomplete-wrap {
  position: relative;
}

.city-suggestions-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: rgba(8, 4, 20, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: var(--r-md);
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  display: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(138,43,226,0.4) transparent;
}

.city-suggestions-list.open {
  display: block;
}

.city-suggestions-list li {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.city-suggestions-list li:hover,
.city-suggestions-list li[aria-selected="true"] {
  background: rgba(138, 43, 226, 0.15);
  color: #fff;
}

.city-suggestions-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   NAV AUTO-HIDE — Hides on scroll down, reappears on scroll up
   ══════════════════════════════════════════════════════════════════════ */
#site-header {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background var(--t-slow),
    border-color var(--t-slow),
    box-shadow var(--t-slow);
}

#site-header.nav-hidden {
  transform: translateY(-110%);
}

/* Top of page — show always */
#site-header.at-top {
  transform: translateY(0) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   UPGRADE: CATEGORY PAGINATION DOTS
   ══════════════════════════════════════════════════════════════════════ */
.cat-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  width: 100%;
}

.cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  padding: 0;
}

.cat-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.25);
}

.cat-dot.active {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.75);
}

/* ══════════════════════════════════════════════════════════════════════
   UPGRADE: SECTION 6 PREMIUM PERK CARDS
   ══════════════════════════════════════════════════════════════════════ */
.perk-card-v {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: rgba(14, 8, 28, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}

.perk-card-v::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.35), rgba(255, 20, 147, 0.15));
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity var(--t-normal), background var(--t-normal);
}

.perk-card-v:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.15);
}

.perk-card-v:hover::before {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  opacity: 1;
}

.perk-icon-box-v {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(14, 8, 28, 0.65);
  position: relative;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  flex-shrink: 0;
}

.perk-icon-box-v::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: var(--purple);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.perk-card-v:hover .perk-icon-box-v::before {
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

/* Force white icons inside perks */
.perk-icon-box-v i {
  color: #ffffff !important;
  font-size: 1.15rem;
}

/* ══════════════════════════════════════════════════════════════════════
   UPGRADE: SOLID GRADIENT SUBMIT BUTTON WITH GLOW
   ══════════════════════════════════════════════════════════════════════ */
#submit-btn {
  background: linear-gradient(135deg, #39FF14 0%, #00E5FF 50%, #FF6600 100%) !important;
  color: #05020c !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4) !important;
  position: relative;
  transition: all var(--t-normal) !important;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
}

#submit-btn i {
  color: #05020c !important;
}

#submit-btn::before {
  display: none !important;
}

#submit-btn:hover {
  transform: scale(1.02) translateY(-1px) !important;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.7), 0 0 15px rgba(255, 102, 0, 0.6) !important;
}

/* Custom main scrollbar styles replace progress line indicator */

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVENESS Refinements for Mobile
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .cat-card {
    width: 180px;
    height: 250px;
  }
  .cat-card.pos-left {
    transform: translateX(-100px) translateY(15px) scale(0.86) rotateY(10deg) !important;
  }
  .cat-card.pos-right {
    transform: translateX(100px) translateY(15px) scale(0.86) rotateY(-10deg) !important;
  }
  .categories-right {
    height: 310px !important;
  }
  .audience-toggle-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    max-width: 320px !important;
    margin: 0 auto 1.5rem auto !important;
  }
  .toggle-btn {
    justify-content: center !important;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .cat-card {
    width: 160px;
    height: 220px;
  }
  .cat-card.pos-left {
    transform: translateX(-80px) translateY(12px) scale(0.85) rotateY(8deg) !important;
  }
  .cat-card.pos-right {
    transform: translateX(80px) translateY(12px) scale(0.85) rotateY(-8deg) !important;
  }
  .categories-right {
    height: 270px !important;
  }
  .perk-card-v {
    padding: 12px !important;
    gap: 12px !important;
  }
  .perk-icon-box-v {
    width: 36px !important;
    height: 36px !important;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
  }
  .perk-icon-box-v::before {
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
  }
  .perk-icon-box-v i {
    font-size: 1rem !important;
  }
}

/* Futuristic HUD Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: #05020c;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hud-loader {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer concentric rotating rings */
.hud-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(138, 43, 226, 0.25);
  border-radius: 50%;
  animation: rotate-clockwise 25s linear infinite;
}

.hud-circle-middle {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 1px dotted rgba(0, 229, 255, 0.3);
  border-radius: 50%;
  animation: rotate-counter-clockwise 15s linear infinite;
}

/* Progress SVG Ring wrapper */
.hud-ring-wrap {
  position: absolute;
  width: 78%;
  height: 78%;
}

.hud-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hud-ring-track {
  fill: none;
  stroke: rgba(138, 43, 226, 0.08);
  stroke-width: 2;
}

.hud-ring-progress {
  fill: none;
  stroke: #00E5FF;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.15s ease-out;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.9));
}

/* Central area containing percentage */
.hud-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62%;
  height: 62%;
  border: 1px solid rgba(138, 43, 226, 0.2);
  border-radius: 50%;
  background: rgba(5, 2, 12, 0.6);
  box-shadow: inset 0 0 15px rgba(138, 43, 226, 0.15);
}

/* Horizontal crosshair extending across the entire loader */
.hud-crosshair-h {
  position: absolute;
  left: -15px;
  right: -15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.4) 15%, rgba(138, 43, 226, 0.4) 85%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* Vertical crosshair extending across the entire loader */
.hud-crosshair-v {
  position: absolute;
  top: -15px;
  bottom: -15px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(138, 43, 226, 0.4) 15%, rgba(138, 43, 226, 0.4) 85%, transparent);
  pointer-events: none;
  z-index: 2;
}

/* Percentage text */
.hud-percent {
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.3rem;
  font-weight: 400;
  color: #f3f1f6;
  z-index: 5;
  text-shadow: 0 0 12px rgba(243, 241, 246, 0.5);
}

/* HUD Text markers positioned at the ends of crosshairs */
.hud-marker {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 600;
  color: rgba(138, 43, 226, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}

.hud-marker-top {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.hud-marker-bottom {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.hud-marker-left {
  left: -65px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.hud-marker-right {
  right: -65px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

/* Futuristic status message at the bottom center */
.hud-status {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  color: #00E5FF;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  white-space: nowrap;
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Enjoy Animation Toggle (Header Navigation style - Premium Clipped Corner Icon Button) */
.enjoy-animation-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(13, 6, 28, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f3f1f6;
  cursor: pointer;
  transition: all var(--t-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.enjoy-animation-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.35), rgba(0, 229, 255, 0.15));
  transition: background var(--t-normal);
}

.enjoy-animation-toggle:hover {
  background: rgba(138, 43, 226, 0.15);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
  transform: translateY(-1px);
}

.enjoy-animation-toggle:hover::before {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.enjoy-animation-toggle.active {
  background: rgba(138, 43, 226, 0.3);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.enjoy-animation-toggle.active::before {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
}

.enjoy-animation-toggle i {
  font-size: 14px;
  color: #fff !important;
}

/* Active State Styles */
body.enjoy-animation-active main section .section-glass,
body.enjoy-animation-active main section .section-content,
body.enjoy-animation-active footer,
body.enjoy-animation-active .footer-back-to-top,
body.enjoy-animation-active #cat-carousel-dots {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

body.enjoy-animation-active .canvas-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.5s ease;
}

body.enjoy-animation-active::before {
  opacity: 0 !important;
  background: none !important;
  background-image: none !important;
  transition: opacity 0.5s ease, background 0.5s ease;
}

body.enjoy-animation-active #site-header {
  opacity: 0.15;
  transition: opacity 0.5s ease;
}

body.enjoy-animation-active #site-header:hover {
  opacity: 1;
}

/* Footer Back to Top styling */
.footer-back-to-top {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 20px !important;
  min-height: auto !important;
  border-radius: 9999px !important;
  clip-path: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #9d96ae !important;
  cursor: pointer;
  transition: all var(--t-normal) !important;
}

.btn-back-to-top:hover {
  background: rgba(138, 43, 226, 0.15) !important;
  border-color: #8A2BE2 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-back-to-top i {
  color: #fff !important;
  font-size: 12px;
}

/* Responsive adjust for mobile header button */
@media (max-width: 768px) {
  .enjoy-animation-toggle {
    width: 34px !important;
    height: 34px !important;
    margin-right: 0.5rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   FEATURES SLIDER & OVERLAYS (Funky Design Studio Style)
   ══════════════════════════════════════════════════════════════════════ */
.feat-carousel {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 7, 28, 0.45);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.feat-carousel:hover {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(168, 85, 247, 0.15);
}

.feat-slider-track {
  display: flex;
  width: 600%; /* 6 items */
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.feat-card {
  position: relative;
  width: 16.666667%; /* 100% / 6 */
  height: 100%;
  overflow: hidden;
  cursor: grab;
}

.feat-card:active {
  cursor: grabbing;
}

.feat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-card:hover .feat-card-img {
  transform: scale(1.06);
}

/* Glassmorphic Text overlay revealed on hover */
.feat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 7, 28, 0.95) 0%, rgba(14, 7, 28, 0.65) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  z-index: 5;
}

.feat-card:hover .feat-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feat-card-overlay-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 100%;
}

.feat-overlay-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--pink);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(255, 20, 147, 0.3);
}

.feat-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feat-overlay-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* ── Features Badges Cards Styling ── */
.feat-badge-card {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.85rem 1rem !important;
  border-radius: 12px !important;
  background-color: #000000 !important;
  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) !important;
  background-size: 20px 20px !important;
  background-position: center !important;
  cursor: default !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

#feat-badge-verified,
#cat-badge-worlds {
  border: 1px solid rgba(0, 229, 255, 0.2) !important;
}
#feat-badge-verified:hover,
#cat-badge-worlds:hover {
  border-color: #00E5FF !important;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.25) !important;
}

#feat-badge-opportunities,
#cat-badge-connect {
  border: 1px solid rgba(138, 43, 226, 0.2) !important;
}
#feat-badge-opportunities:hover,
#cat-badge-connect:hover {
  border-color: #8A2BE2 !important;
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.25) !important;
}

#feat-badge-creators,
#cat-badge-create {
  border: 1px solid rgba(255, 20, 147, 0.2) !important;
}
#feat-badge-creators:hover,
#cat-badge-create:hover {
  border-color: var(--pink) !important;
  box-shadow: 0 0 25px rgba(255, 20, 147, 0.25) !important;
}

#feat-badge-privacy,
#cat-badge-safe {
  border: 1px solid rgba(255, 123, 0, 0.2) !important;
}
#feat-badge-privacy:hover,
#cat-badge-safe:hover {
  border-color: #FF7B00 !important;
  box-shadow: 0 0 25px rgba(255, 123, 0, 0.25) !important;
}

#cat-badge-possibilities {
  border: 1px solid rgba(0, 229, 140, 0.2) !important;
}
#cat-badge-possibilities:hover {
  border-color: #00E58C !important;
  box-shadow: 0 0 25px rgba(0, 229, 140, 0.25) !important;
}

/* Gold & Shiny Inner Components */
.feat-badge-card h4 {
  background: linear-gradient(135deg, #FFF0D0 0%, #E6C280 50%, #B38F4B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E6C280 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 8px rgba(230, 194, 128, 0.2);
}

.feat-badge-card p {
  background: linear-gradient(135deg, #FFE4B5 0%, #E6C280 60%, #9E7D3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #d1b88a !important;
}

.feat-badge-card i {
  background: linear-gradient(135deg, #FFF0D0 0%, #E6C280 50%, #B38F4B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E6C280 !important;
  filter: drop-shadow(0 0 4px rgba(230, 194, 128, 0.3));
}

/* ── Horizontal Perks Cards Styling ── */
.perks-horizontal-card {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: block !important;
  padding: 1.25rem !important;
  cursor: default !important;
  background-color: #000000 !important;
  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) !important;
  background-size: 24px 24px !important;
  background-position: center !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 640px) {
  .perks-horizontal-card .grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 0.5rem !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .perks-horizontal-card .grid::-webkit-scrollbar {
    display: none !important;
  }
  .perks-horizontal-card .perk-column {
    flex: 0 0 160px !important;
    width: 160px !important;
    scroll-snap-align: start !important;
    border-right: none !important;
    border-bottom: none !important;
    padding: 0 !important;
  }
}

#perks-card-pro {
  border-color: rgba(138, 43, 226, 0.25) !important;
}
#perks-card-pro:hover {
  border-color: #8A2BE2 !important;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.25) !important;
}

#perks-card-enth {
  border-color: rgba(255, 20, 147, 0.25) !important;
}
#perks-card-enth:hover {
  border-color: var(--pink) !important;
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.25) !important;
}

/* About Section Cards Custom Glows */
#about-card-who {
  border-color: rgba(138, 43, 226, 0.25) !important;
}
#about-card-who:hover {
  border-color: #8A2BE2 !important;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.25) !important;
}

#about-card-what {
  border-color: rgba(0, 229, 255, 0.25) !important;
}
#about-card-what:hover {
  border-color: #00E5FF !important;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25) !important;
}

#about-card-why {
  border-color: rgba(255, 20, 147, 0.25) !important;
}
#about-card-why:hover {
  border-color: var(--pink) !important;
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.25) !important;
}

/* Premium Gold Styling for Perks Columns */
.perks-horizontal-card .perk-column h4 {
  background: linear-gradient(135deg, #FFF0D0 0%, #E6C280 50%, #B38F4B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #E6C280 !important;
  font-weight: 700 !important;
}

.perks-horizontal-card .perk-column .perk-icon i {
  color: #E6C280 !important;
  -webkit-text-fill-color: #E6C280 !important;
  filter: drop-shadow(0 0 4px rgba(230, 194, 128, 0.25));
}

/* ── Hero Metrics Cards Holographic Overrides ── */
.metric-card-vertical.wjc-card {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  cursor: default !important;
  transform-style: preserve-3d !important;
  will-change: transform !important;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

#metric-card-worlds.wjc-card {
  flex-direction: row !important;
}

/* ── Hero Scroll Down Hint ── */
@keyframes scroll-hint-bob {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -6px);
  }
}

@keyframes scroll-dot-slide-fade {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.scroll-down-hint {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s;
  animation: scroll-hint-bob 2.5s ease-in-out infinite;
}

.scroll-down-hint.hidden-hint {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px) !important;
  animation: none !important;
}

.scroll-mouse-dot {
  animation: scroll-dot-slide-fade 1.8s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@media (max-width: 1024px) {
  .scroll-down-hint {
    display: none !important;
  }
}

/* ── Features Slider Mobile Responsiveness ── */
@media (max-width: 992px) {
  .feat-carousel {
    max-width: 480px;
    height: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .feat-carousel {
    max-width: 100%;
    height: 250px;
  }
  .feat-card-overlay {
    padding: 1.25rem;
  }
  .feat-overlay-title {
    font-size: 1.15rem;
  }
  .feat-overlay-desc {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

@media (max-width: 480px) {
  .feat-carousel {
    height: 210px;
  }
  .feat-card-overlay {
    padding: 1rem;
  }
  .feat-overlay-title {
    font-size: 1rem;
  }
  .feat-overlay-desc {
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

/* ── Height-based Media Queries to Prevent Cropping on Short Viewports ── */
@media (max-height: 800px) and (min-width: 1024px) {
  .section-glass {
    padding: 1.5rem 2rem !important;
  }
  .features-list {
    height: 350px !important;
  }
  .feature-item {
    padding: 0.95rem 0 !important;
  }
  .feature-title {
    font-size: 1.25rem !important;
  }
  .feature-num {
    min-width: 2.75rem !important;
  }
  #feat-carousel-wrapper {
    margin-top: 1.5rem !important;
  }
  .features-left h2 {
    font-size: 2.25rem !important;
  }
  .features-left p {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }
  .features-left hr {
    margin: 0.5rem 0 !important;
  }
}

@media (max-height: 720px) and (min-width: 1024px) {
  .section-glass {
    padding: 1rem 1.75rem !important;
  }
  .features-list {
    height: 300px !important;
  }
  .feature-item {
    padding: 0.75rem 0 !important;
  }
  .feature-title {
    font-size: 1.15rem !important;
  }
  .feature-item.active .feature-item-body {
    max-height: 100px !important;
  }
  #feat-carousel-wrapper {
    margin-top: 1rem !important;
  }
  .feat-carousel {
    height: 270px !important;
  }
}

/* Showcase Card Strip and Glowing Corners Styling */
.prof-showcase-card,
.enth-showcase-card {
  border-radius: 20px !important;
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.18), inset 0 0 15px rgba(138, 43, 226, 0.12) !important;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-normal) !important;
}

.prof-showcase-card:hover,
.enth-showcase-card:hover {
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.38), inset 0 0 25px rgba(138, 43, 226, 0.2) !important;
}

/* Horizontal Showcase Image Slider Scrollbar Hiding */
.showcase-images-slider {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.showcase-images-slider::-webkit-scrollbar {
  display: none !important;
}

/* White Frost Glass Showcase Strip with Slide-up Hover Reveal */
.showcase-strip {
  opacity: 0;
  transform: translateY(12px);
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.showcase-card:hover .showcase-strip {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



