/* ============================================================
   VAULTIX — SHARED THEME
   /assets/site.css
   Used by index, commands, premium and the dashboard.
   ============================================================ */

:root {
  --bg: #070911;
  --bg-2: #0a0e19;

  --panel: rgba(15, 20, 34, 0.72);
  --panel-2: rgba(21, 27, 45, 0.62);
  --panel-solid: #10141f;

  --line: rgba(255, 255, 255, 0.072);
  --line-2: rgba(255, 255, 255, 0.125);
  --line-3: rgba(255, 255, 255, 0.18);

  --text: #f3f5fd;
  --muted: #8d94a9;
  --muted-2: #616879;

  --blue: #5b8cff;
  --blue-2: #7a9fff;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;

  --green: #3ddc97;
  --amber: #f5c451;
  --red: #ff626f;

  --grad: linear-gradient(135deg, #3b7bff 0%, #5b8cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(59, 123, 255, 0.18), rgba(91, 140, 255, 0.16));
  --grad-text: linear-gradient(120deg, #6f9cff 0%, #3f6fe0 55%, #1d3f9e 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.55);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -12%, rgba(91, 140, 255, 0.16), transparent 62%),
    radial-gradient(820px 520px at 92% -8%, rgba(139, 92, 246, 0.15), transparent 60%),
    radial-gradient(1000px 700px at 50% 115%, rgba(139, 92, 246, 0.08), transparent 64%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.021) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 60% at 50% 0%, #000 35%, transparent 100%);
}

::selection { background: rgba(139, 92, 246, 0.32); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   BRAND
   ============================================================ */
/* Logo image (optimised from the 2500px original) */
.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.brand-logo-lg {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

/* Legacy inline mark, kept for anywhere still using it */
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 6px 18px rgba(91, 140, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-mark svg { width: 18px; height: 18px; display: block; }

.brand-name {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 17, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

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

.nav-link {
  padding: 7px 11px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 160ms var(--ease), background 160ms var(--ease);
}

.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-bg: rgba(255, 255, 255, 0.045);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--btn-bg);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms var(--ease), border-color 180ms var(--ease),
              transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.btn:hover { background: rgba(255, 255, 255, 0.075); border-color: var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; flex: 0 0 auto; }

.btn-primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-primary:hover {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(112, 108, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; border-radius: 10px; }
.btn-lg svg { width: 17px; height: 17px; }

.btn-sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.btn-sm svg { width: 13px; height: 13px; }

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.032em;
  line-height: 1.1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ============================================================
   CARDS / SURFACES
   ============================================================ */
.card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  white-space: nowrap;
}

.chip svg { width: 11px; height: 11px; }

.pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(139, 92, 246, 0.1);
  font-size: 12px;
  color: #cbb8ff;
}

.pill-accent .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.9);
  margin-left: 6px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head .lead { margin-top: 14px; font-size: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   LISTS
   ============================================================ */
.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cfd5e6;
}

.checklist svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--green);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: rgba(14, 18, 30, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.stat-cell {
  position: relative;
  flex: 1 1 0;
  padding: 20px 14px 18px;
  text-align: center;
}

.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  bottom: 26%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}

.stat-cell strong {
  display: block;
  font-size: clamp(25px, 2.9vw, 31px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stat-cell span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 34px;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 3px 0;
  transition: color 160ms var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 84px;
  flex-wrap: wrap;
}

.footer-icons { display: flex; align-items: center; gap: 12px; }

.footer-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--muted-2);
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}

.footer-discord:hover { color: var(--text); transform: translateY(-1px); }
.footer-discord svg { width: 22px; height: 22px; }

.footer-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

.footer-mark .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-mark p {
  margin: 0;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-mark span { font-size: 10.5px; color: #4b5162; }

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .footer-inner { gap: 40px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .section { padding: 64px 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-inner { gap: 14px; height: 64px; }
  .brand-logo { width: 34px; height: 34px; border-radius: 9px; }
  .brand-name { font-size: 16px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .stat-cell { padding: 16px 10px 14px; }
  .stat-cell strong { font-size: 22px; }
  .stat-cell span { font-size: 9px; letter-spacing: 0.1em; }
  .section { padding: 52px 0; }
  .btn-lg { height: 44px; }
}


/* ============================================================
   THEMES
   ============================================================ */

/* ---------- LIGHT — true inversion ----------
   Everything is flipped: white becomes black, black becomes white, and the
   hues are rotated back so blues still read as blue. Media and the colour
   pads are flipped twice so they keep their real appearance.
   ------------------------------------------------------------ */
html[data-theme="light"] {
  filter: invert(1) hue-rotate(180deg) brightness(0.74) contrast(1.18) saturate(1.06);
  background: #ffffff;
  color-scheme: light;
}

html[data-theme="light"] img,
html[data-theme="light"] video,
html[data-theme="light"] canvas,
html[data-theme="light"] iframe,
html[data-theme="light"] .pad,
html[data-theme="light"] .pad span {
  filter: invert(1) hue-rotate(180deg);
}

/* the page glow / grid read better softened once inverted */
html[data-theme="light"] body::before { opacity: 0.85; }
html[data-theme="light"] body::after { opacity: 0.5; }

/* ---------- ECLIPSE (unlocked by the puzzle) ---------- */
[data-theme="eclipse"] {
  --bg: #04030c;
  --bg-2: #080517;

  --panel: rgba(20, 12, 44, 0.7);
  --panel-2: rgba(28, 18, 58, 0.58);
  --panel-solid: #0d0820;

  --line: rgba(168, 139, 250, 0.18);
  --line-2: rgba(168, 139, 250, 0.28);
  --line-3: rgba(168, 139, 250, 0.4);

  --text: #f8f5ff;
  --muted: #b3a8d6;
  --muted-2: #8b7fb5;

  --blue: #7c5cff;
  --blue-2: #9d7bff;
  --violet: #c084fc;
  --violet-2: #d8b4fe;

  --green: #4ade80;
  --amber: #fbbf24;
  --red: #fb7185;

  --grad: linear-gradient(135deg, #7c5cff 0%, #c084fc 50%, #f472b6 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(244, 114, 182, 0.18));
  --grad-text: linear-gradient(115deg, #9db8ff 0%, #d8b4fe 32%, #f472b6 62%, #fbbf24 100%);

  --shadow-sm: 0 2px 10px rgba(60, 20, 120, 0.35);
  --shadow-md: 0 16px 44px rgba(50, 10, 110, 0.45);
  --shadow-lg: 0 36px 110px rgba(40, 0, 100, 0.6);
}

[data-theme="eclipse"] body { background: var(--bg); }

/* ============================================================
   LAYER 1 — rotating aurora curtains
   ============================================================ */
[data-theme="eclipse"] html::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 24% 28%, rgba(124, 92, 255, 0.34), transparent 72%),
    radial-gradient(42% 38% at 72% 22%, rgba(56, 189, 248, 0.22), transparent 74%),
    radial-gradient(40% 36% at 62% 74%, rgba(244, 114, 182, 0.2), transparent 74%),
    radial-gradient(38% 34% at 18% 78%, rgba(251, 191, 36, 0.12), transparent 76%);
  background-size: 180% 180%;
  filter: saturate(1.15);
  animation: eclipseBreathe 18s ease-in-out infinite;
}

/* ============================================================
   LAYER 3 — nebulae + drifting orbs
   ============================================================ */
[data-theme="eclipse"] body::before {
  background:
    radial-gradient(58% 44% at 18% 12%, rgba(124, 92, 255, 0.62), transparent 64%),
    radial-gradient(52% 42% at 84% 18%, rgba(192, 132, 252, 0.54), transparent 64%),
    radial-gradient(46% 38% at 62% 62%, rgba(244, 114, 182, 0.32), transparent 68%),
    radial-gradient(70% 58% at 40% 108%, rgba(251, 191, 36, 0.17), transparent 68%),
    radial-gradient(40% 34% at 8% 78%, rgba(56, 189, 248, 0.28), transparent 70%);
  background-size: 220% 220%;
  animation: eclipseBreathe 16s ease-in-out infinite;
}

/* ============================================================
   LAYER 4 — stars, dust and a shooting star
   ============================================================ */
[data-theme="eclipse"] body::after {
  background-image:
    radial-gradient(1.7px 1.7px at 12% 24%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.3px 1.3px at 28% 66%, rgba(214, 196, 255, 0.85), transparent),
    radial-gradient(1.9px 1.9px at 46% 14%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 64% 78%, rgba(255, 214, 240, 0.75), transparent),
    radial-gradient(1.6px 1.6px at 78% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 90% 82%, rgba(200, 220, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 34% 92%, rgba(255, 255, 255, 0.55), transparent);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: eclipseTwinkle 7s ease-in-out infinite alternate;
  -webkit-mask-image: none;
  mask-image: none;
}

/* ============================================================
   NAV — animated gradient frame
   ============================================================ */
[data-theme="eclipse"] .vx-nav-inner {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(14, 8, 32, 0.72), rgba(14, 8, 32, 0.72)) padding-box,
    linear-gradient(135deg, rgba(124, 92, 255, 0.85), rgba(244, 114, 182, 0.6) 50%, rgba(56, 189, 248, 0.7)) border-box;
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  animation: eclipseNavGlow 7s ease-in-out infinite alternate;
}



[data-theme="eclipse"] .vx-link:hover,
[data-theme="eclipse"] .vx-link[aria-current="page"] { color: #ffffff; }

[data-theme="eclipse"] .vx-link.active::after,
[data-theme="eclipse"] .vx-link[aria-current="page"]::after {
  background: linear-gradient(90deg, #c084fc, #f472b6);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.85);
}

/* ============================================================
   TYPE — flowing gradient headings
   ============================================================ */
[data-theme="eclipse"] .grad-text {
  background: linear-gradient(115deg, #9db8ff 0%, #d8b4fe 28%, #f472b6 58%, #fbbf24 88%, #9db8ff 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 30px rgba(192, 132, 252, 0.45));
  animation: eclipseTextShift 14s ease-in-out infinite alternate;
}

[data-theme="eclipse"] h1,
[data-theme="eclipse"] h2,
[data-theme="eclipse"] h3 { color: #ffffff; }

[data-theme="eclipse"] .eyebrow,
[data-theme="eclipse"] .pill-accent {
  color: #e9dcff;
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(124, 92, 255, 0.18);
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.28);
}

/* ============================================================
   CARDS — gradient border + shimmer sweep on hover
   ============================================================ */
[data-theme="eclipse"] .module,
[data-theme="eclipse"] .stat-cell,
[data-theme="eclipse"] .cta-panel,
[data-theme="eclipse"] .step,
[data-theme="eclipse"] .perk,
[data-theme="eclipse"] .soon-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(26, 16, 54, 0.86), rgba(11, 7, 28, 0.8)) padding-box,
    linear-gradient(135deg, rgba(124, 92, 255, 0.55), rgba(244, 114, 182, 0.28) 45%, rgba(56, 189, 248, 0.4)) border-box;
  box-shadow:
    0 18px 50px rgba(40, 0, 90, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

[data-theme="eclipse"] .module::after,
[data-theme="eclipse"] .perk::after,
[data-theme="eclipse"] .stat-cell::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.09) 45%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.09) 55%,
    transparent 100%
  );
  transform: rotate(12deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

[data-theme="eclipse"] .module:hover::after,
[data-theme="eclipse"] .perk:hover::after,
[data-theme="eclipse"] .stat-cell:hover::after {
  opacity: 1;
  animation: eclipseSweep 900ms ease-out;
}

[data-theme="eclipse"] .module:hover,
[data-theme="eclipse"] .perk:hover,
[data-theme="eclipse"] .stat-cell:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 76px rgba(120, 20, 190, 0.55),
    0 0 34px rgba(192, 132, 252, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="eclipse"] .module h3 { color: #ffffff; }
[data-theme="eclipse"] .module p { color: var(--muted); }

[data-theme="eclipse"] .module-icon,
[data-theme="eclipse"] .perk-icon {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.32), rgba(244, 114, 182, 0.24));
  border-color: rgba(192, 132, 252, 0.45);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.35);
}

[data-theme="eclipse"] .stat-cell strong {
  background: linear-gradient(135deg, #d8b4fe, #f472b6, #fbbf24);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: eclipseTextShift 9s ease-in-out infinite alternate;
}

[data-theme="eclipse"] .step-num {
  background: linear-gradient(135deg, #7c5cff, #f472b6);
  box-shadow: 0 0 22px rgba(192, 132, 252, 0.5);
}

/* ============================================================
   BUTTONS — shimmering gradient
   ============================================================ */
[data-theme="eclipse"] .btn {
  background: rgba(124, 92, 255, 0.15);
  border-color: rgba(168, 139, 250, 0.4);
  color: #f2eaff;
}

[data-theme="eclipse"] .btn:hover {
  background: rgba(124, 92, 255, 0.26);
  border-color: rgba(192, 132, 252, 0.65);
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.4);
}

[data-theme="eclipse"] .btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7c5cff, #c084fc 45%, #f472b6 80%, #7c5cff);
  background-size: 260% 100%;
  border-color: transparent;
  color: #ffffff;
  box-shadow:
    0 10px 36px rgba(124, 92, 255, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: eclipseTextShift 8s ease-in-out infinite alternate;
}

[data-theme="eclipse"] .btn-primary:hover {
  filter: brightness(1.1);
  box-shadow:
    0 16px 48px rgba(192, 132, 252, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

[data-theme="eclipse"] .vx-btn-invite {
  background: linear-gradient(135deg, #7c5cff, #c084fc 55%, #f472b6);
  background-size: 220% 100%;
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.45);
  animation: eclipseTextShift 9s ease-in-out infinite alternate;
}

/* ============================================================
   FOOTER + MENU
   ============================================================ */
[data-theme="eclipse"] .footer {
  border-top: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(10, 6, 24, 0.5), rgba(4, 3, 12, 0.9)) padding-box,
    linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.5), rgba(56, 189, 248, 0.4), transparent) border-box;
}

[data-theme="eclipse"] .footer h4 { color: #e9dcff; }

[data-theme="eclipse"] .vx-menu {
  background:
    radial-gradient(150% 100% at 100% 0%, rgba(192, 132, 252, 0.3), transparent 58%),
    radial-gradient(130% 100% at 0% 100%, rgba(56, 189, 248, 0.2), transparent 56%),
    radial-gradient(90% 70% at 50% 120%, rgba(244, 114, 182, 0.18), transparent 60%),
    linear-gradient(180deg, #241650 0%, #150c31 45%, #07030e 100%);
  border-color: rgba(192, 132, 252, 0.55);
  box-shadow:
    0 30px 80px rgba(60, 10, 120, 0.75),
    0 0 0 1px rgba(244, 114, 182, 0.25),
    0 0 44px rgba(124, 92, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="eclipse"] ::selection { background: rgba(192, 132, 252, 0.38); color: #fff; }

/* ============================================================
   MOTION
   ============================================================ */



@keyframes eclipseBreathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes eclipseTwinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}


@keyframes eclipseNavGlow {
  from {
    box-shadow:
      0 12px 40px rgba(80, 20, 160, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }
  to {
    box-shadow:
      0 18px 60px rgba(130, 45, 210, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

@keyframes eclipseTextShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes eclipseSweep {
  from { left: -140%; }
  to { left: 150%; }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="eclipse"] html::before,
  [data-theme="eclipse"] body::before,
  [data-theme="eclipse"] body::after,
  [data-theme="eclipse"] .vx-nav-inner,
  [data-theme="eclipse"] .vx-nav-inner::before,
  [data-theme="eclipse"] .grad-text,
  [data-theme="eclipse"] .stat-cell strong,
  [data-theme="eclipse"] .btn-primary,
  [data-theme="eclipse"] .vx-btn-invite,
  [data-theme="eclipse"] .module:hover::after,
  [data-theme="eclipse"] .perk:hover::after,
  [data-theme="eclipse"] .stat-cell:hover::after {
    animation: none;
  }
}

/* ============================================================
   COMMANDS PAGE — theme-aware scrim, search bar and filters
   ============================================================ */

/* the band behind the nav should match the page, not paint black */






[data-theme="eclipse"] .search {
  background: rgba(20, 12, 44, 0.62);
  border-color: rgba(168, 139, 250, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="eclipse"] .search:focus-within {
  border-color: rgba(192, 132, 252, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16);
}

[data-theme="eclipse"] .search input { color: #f2eaff; }
[data-theme="eclipse"] .search input::placeholder { color: #8b7fb5; }

[data-theme="eclipse"] .seg-btn {
  background: rgba(20, 12, 44, 0.6);
  border-color: rgba(168, 139, 250, 0.26);
  color: #b3a8d6;
}

[data-theme="eclipse"] .seg-btn.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.5), rgba(244, 114, 182, 0.35));
  border-color: rgba(192, 132, 252, 0.6);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.3);
}

[data-theme="eclipse"] .cmds-head,
[data-theme="eclipse"] .cmds-panel {
  background: linear-gradient(180deg, rgba(22, 13, 48, 0.72), rgba(10, 6, 26, 0.66));
  border-color: rgba(168, 139, 250, 0.22);
  box-shadow: 0 18px 50px rgba(40, 0, 90, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="eclipse"] .side-btn {
  background: rgba(20, 12, 44, 0.5);
  border-color: rgba(168, 139, 250, 0.16);
  color: #b3a8d6;
}

[data-theme="eclipse"] .side-btn:hover {
  background: rgba(124, 92, 255, 0.16);
  color: #ffffff;
}

[data-theme="eclipse"] .cmd-row {
  background: rgba(18, 11, 42, 0.55);
  border-color: rgba(168, 139, 250, 0.16);
}

[data-theme="eclipse"] .cmd-row:hover {
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(192, 132, 252, 0.4);
}

[data-theme="eclipse"] .cmd-name {
  background: rgba(10, 6, 24, 0.8);
  border-color: rgba(168, 139, 250, 0.28);
  color: #c9b8ff;
}

/* ============================================================
   ECLIPSE — static detail (no rotation, no translation)
   ============================================================ */

/* fine diagonal weave + vignette, both static */
[data-theme="eclipse"] html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(168, 139, 250, 0.035) 0px,
      rgba(168, 139, 250, 0.035) 1px,
      transparent 1px,
      transparent 7px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(56, 189, 248, 0.028) 0px,
      rgba(56, 189, 248, 0.028) 1px,
      transparent 1px,
      transparent 7px
    ),
    radial-gradient(120% 90% at 50% 0%, transparent 40%, rgba(2, 1, 8, 0.55) 100%);
}

/* soft corner light so the frame feels lit */
[data-theme="eclipse"] .hero::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 92, 255, 0.3), transparent 62%),
    radial-gradient(circle at 72% 44%, rgba(56, 189, 248, 0.16), transparent 66%);
}

/* richer cards: inner rim light + corner sheen */
[data-theme="eclipse"] .module::before,
[data-theme="eclipse"] .perk::before,
[data-theme="eclipse"] .stat-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(140% 90% at 0% 0%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(192, 132, 252, 0.08), transparent 60%);
}

[data-theme="eclipse"] .module-icon,
[data-theme="eclipse"] .perk-icon,
[data-theme="eclipse"] .step-num {
  position: relative;
  z-index: 1;
}

/* stat cells get a soft inner glow ring */
[data-theme="eclipse"] .stat-cell {
  box-shadow:
    0 18px 50px rgba(40, 0, 90, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 40px rgba(124, 92, 255, 0.12);
}

/* headings get a barely-there halo */
[data-theme="eclipse"] h1,
[data-theme="eclipse"] h2 {
  text-shadow: 0 0 40px rgba(192, 132, 252, 0.22);
}

/* the pills / eyebrows get a glass edge */
[data-theme="eclipse"] .eyebrow,
[data-theme="eclipse"] .pill-accent {
  box-shadow:
    0 0 22px rgba(124, 92, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ============================================================
   ECLIPSE SKY — planets, ring, moon and stars
   ============================================================ */
.vx-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  display: none;
}

[data-theme="eclipse"] .vx-sky { display: block; }

.vx-sky .vx-planet {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  animation: skyFloat 38s ease-in-out infinite alternate;
}

.vx-sky .vx-planet--giant {
  width: 340px;
  height: 340px;
  left: -110px;
  bottom: -90px;
  background: radial-gradient(
    circle at 34% 28%,
    #cbb2ff 0%,
    #7c5cff 34%,
    #4a2a9e 62%,
    #1d0f3f 84%,
    #0a0520 100%
  );
  box-shadow:
    0 0 160px rgba(140, 90, 255, 0.35),
    inset -40px -30px 110px rgba(0, 0, 0, 0.7);
}

.vx-sky .vx-planet--giant::after {
  content: "";
  position: absolute;
  inset: -26%;
  border-radius: 50%;
  border: 3px solid rgba(198, 170, 255, 0.28);
  border-top-color: rgba(198, 170, 255, 0.45);
  transform: rotate(-24deg) scaleY(0.34);
  animation: skyRing 60s linear infinite;
}

.vx-sky .vx-planet--cyan {
  width: 168px;
  height: 168px;
  right: 4%;
  top: 18%;
  background: radial-gradient(
    circle at 32% 26%,
    #c9f7ff 0%,
    #38bdf8 38%,
    #0e5f86 68%,
    #05182a 100%
  );
  box-shadow:
    0 0 110px rgba(56, 189, 248, 0.34),
    inset -22px -18px 60px rgba(0, 0, 0, 0.6);
  animation-duration: 46s;
  animation-delay: -8s;
}

.vx-sky .vx-planet--pink {
  width: 104px;
  height: 104px;
  left: 58%;
  top: 6%;
  background: radial-gradient(
    circle at 30% 28%,
    #ffd6f0 0%,
    #f472b6 40%,
    #8e1f5e 72%,
    #2a0a20 100%
  );
  box-shadow:
    0 0 80px rgba(244, 114, 182, 0.32),
    inset -14px -12px 40px rgba(0, 0, 0, 0.55);
  opacity: 0.4;
  animation-duration: 52s;
  animation-delay: -20s;
}

.vx-sky .vx-planet--moon {
  width: 46px;
  height: 46px;
  right: 22%;
  bottom: 16%;
  background: radial-gradient(
    circle at 36% 30%,
    #ffffff 0%,
    #cbd5e1 45%,
    #64748b 78%,
    #1e293b 100%
  );
  box-shadow: 0 0 44px rgba(226, 232, 240, 0.28);
  opacity: 0.32;
  animation-duration: 30s;
  animation-delay: -4s;
}

.vx-sky .vx-star {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0.4;
  animation: skyTwinkle 6s ease-in-out infinite alternate;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

@keyframes skyFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -16px, 0); }
}

@keyframes skyRing {
  from { transform: rotate(-24deg) scaleY(0.34); }
  to { transform: rotate(336deg) scaleY(0.34); }
}

@keyframes skyTwinkle {
  from { opacity: 0.18; transform: scale(0.8); }
  to { opacity: 0.85; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .vx-sky .vx-planet,
  .vx-sky .vx-planet--giant::after,
  .vx-sky .vx-star { animation: none; }
}

/* ============================================================
   ECLIPSE — deeper colour, ribbons and accents
   ============================================================ */

/* ---------- aurora ribbons (static, no blur filter) ---------- */
[data-theme="eclipse"] body::before {
  background:
    radial-gradient(58% 44% at 18% 12%, rgba(124, 92, 255, 0.62), transparent 64%),
    radial-gradient(52% 42% at 84% 18%, rgba(192, 132, 252, 0.54), transparent 64%),
    radial-gradient(46% 38% at 62% 62%, rgba(244, 114, 182, 0.32), transparent 68%),
    radial-gradient(70% 58% at 40% 108%, rgba(251, 191, 36, 0.17), transparent 68%),
    radial-gradient(40% 34% at 8% 78%, rgba(56, 189, 248, 0.28), transparent 70%),
    radial-gradient(140% 22% at 12% 42%, rgba(124, 92, 255, 0.22), transparent 72%),
    radial-gradient(150% 20% at 78% 68%, rgba(56, 189, 248, 0.16), transparent 74%),
    radial-gradient(120% 26% at 44% 84%, rgba(244, 114, 182, 0.14), transparent 76%);
  background-size: 220% 220%;
  animation: eclipseBreathe 16s ease-in-out infinite;
}

/* ---------- iridescent line along the very top ---------- */
[data-theme="eclipse"] body::after {
  background-image:
    radial-gradient(1.7px 1.7px at 12% 24%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.3px 1.3px at 28% 66%, rgba(214, 196, 255, 0.85), transparent),
    radial-gradient(1.9px 1.9px at 46% 14%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.4px 1.4px at 64% 78%, rgba(255, 214, 240, 0.75), transparent),
    radial-gradient(1.6px 1.6px at 78% 38%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 90% 82%, rgba(200, 220, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 34% 92%, rgba(255, 255, 255, 0.55), transparent);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: eclipseTwinkle 7s ease-in-out infinite alternate;
}

[data-theme="eclipse"] .vx-nav::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124, 92, 255, 0.7) 18%,
    rgba(192, 132, 252, 0.9) 40%,
    rgba(244, 114, 182, 0.9) 60%,
    rgba(251, 191, 36, 0.7) 82%,
    transparent 100%
  );
  opacity: 0.75;
}

/* ---------- section headings get a gradient rule ---------- */
[data-theme="eclipse"] h2 {
  position: relative;
  padding-bottom: 10px;
}

[data-theme="eclipse"] h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(124, 92, 255, 0) 0%,
    #7c5cff 8%,
    #c084fc 32%,
    #f472b6 58%,
    #fbbf24 82%,
    rgba(251, 191, 36, 0) 100%
  );
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.5);
}

/* ---------- stat cells: one accent colour each ---------- */
[data-theme="eclipse"] .stat-cell:nth-child(1) {
  box-shadow:
    0 18px 50px rgba(40, 0, 90, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 44px rgba(124, 92, 255, 0.18);
}

[data-theme="eclipse"] .stat-cell:nth-child(2) {
  box-shadow:
    0 18px 50px rgba(0, 40, 70, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 44px rgba(56, 189, 248, 0.16);
}

[data-theme="eclipse"] .stat-cell:nth-child(3) {
  box-shadow:
    0 18px 50px rgba(70, 40, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 44px rgba(251, 191, 36, 0.14);
}

[data-theme="eclipse"] .stat-cell:nth-child(2) strong {
  background: linear-gradient(135deg, #bae6fd, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="eclipse"] .stat-cell:nth-child(3) strong {
  background: linear-gradient(135deg, #fde68a, #fbbf24, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- cards: third gradient layer + coloured edge ---------- */
[data-theme="eclipse"] .module,
[data-theme="eclipse"] .perk,
[data-theme="eclipse"] .step,
[data-theme="eclipse"] .cta-panel,
[data-theme="eclipse"] .soon-banner {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(192, 132, 252, 0.14), transparent 58%),
    radial-gradient(120% 90% at 0% 100%, rgba(56, 189, 248, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(26, 16, 54, 0.9), rgba(11, 7, 28, 0.84)) padding-box,
    linear-gradient(135deg, rgba(124, 92, 255, 0.6), rgba(244, 114, 182, 0.3) 45%, rgba(56, 189, 248, 0.45)) border-box;
}

/* module icons cycle through the accent colours */
[data-theme="eclipse"] .module:nth-child(3n + 1) .module-icon,
[data-theme="eclipse"] .perk:nth-child(3n + 1) .perk-icon {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.4), rgba(192, 132, 252, 0.28));
  box-shadow: 0 0 26px rgba(124, 92, 255, 0.4);
}

[data-theme="eclipse"] .module:nth-child(3n + 2) .module-icon,
[data-theme="eclipse"] .perk:nth-child(3n + 2) .perk-icon {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.38), rgba(129, 140, 248, 0.28));
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.36);
}

[data-theme="eclipse"] .module:nth-child(3n + 3) .module-icon,
[data-theme="eclipse"] .perk:nth-child(3n + 3) .perk-icon {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.38), rgba(251, 191, 36, 0.25));
  box-shadow: 0 0 26px rgba(244, 114, 182, 0.36);
}

/* ---------- the discord mock gets the eclipse treatment ---------- */
[data-theme="eclipse"] .discord {
  background: linear-gradient(180deg, rgba(22, 13, 46, 0.92), rgba(9, 6, 22, 0.9));
  border-color: rgba(168, 139, 250, 0.28);
  box-shadow:
    0 28px 70px rgba(40, 0, 90, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

[data-theme="eclipse"] .discord-bar {
  background: rgba(14, 8, 32, 0.9);
  border-color: rgba(168, 139, 250, 0.2);
}

[data-theme="eclipse"] .embed {
  background: rgba(16, 9, 36, 0.85);
  border-left-color: #c084fc;
}

[data-theme="eclipse"] .embed-field strong { color: #f2eaff; }
[data-theme="eclipse"] .mini { background: rgba(20, 12, 44, 0.7); border-color: rgba(168, 139, 250, 0.18); }
[data-theme="eclipse"] .mini-val { color: #7dd3fc; }

[data-theme="eclipse"] .bars i {
  background: linear-gradient(180deg, #c084fc, #7c5cff 60%, #f472b6);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.35);
}

/* ---------- scrollbar ---------- */
[data-theme="eclipse"] ::-webkit-scrollbar { width: 10px; height: 10px; }
[data-theme="eclipse"] ::-webkit-scrollbar-track { background: rgba(10, 6, 24, 0.6); }
[data-theme="eclipse"] ::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: linear-gradient(180deg, #7c5cff, #c084fc 60%, #f472b6);
  border: 2px solid rgba(10, 6, 24, 0.9);
}

/* ---------- footer accent ---------- */
[data-theme="eclipse"] .footer-mark strong,
[data-theme="eclipse"] .footer h4 {
  background: linear-gradient(135deg, #d8b4fe, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* orbital rings — static, very faint */
.vx-sky .vx-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 139, 250, 0.16);
  pointer-events: none;
}

.vx-sky .vx-orbit--one {
  width: 900px;
  height: 900px;
  left: -280px;
  top: -160px;
  border-color: rgba(168, 139, 250, 0.12);
  box-shadow: inset 0 0 80px rgba(124, 92, 255, 0.06);
}

.vx-sky .vx-orbit--two {
  width: 620px;
  height: 620px;
  right: -180px;
  top: 120px;
  border-color: rgba(56, 189, 248, 0.14);
  border-style: dashed;
  opacity: 0.7;
}

.vx-sky .vx-orbit--three {
  width: 380px;
  height: 380px;
  left: 40%;
  bottom: -140px;
  border-color: rgba(251, 191, 36, 0.12);
  opacity: 0.6;
}

.vx-sky .vx-galaxy--c {
  right: 18%;
  top: 58%;
  width: 240px;
  height: 240px;
  left: auto;
  opacity: 0.4;
  transform: rotate(28deg) scaleY(0.36);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(244, 114, 182, 0.22) 0%,
    rgba(168, 85, 247, 0.12) 34%,
    transparent 72%
  );
  animation-duration: 96s;
}

/* ---------- eclipse sky: galaxy, moons, asteroids ---------- */
.vx-sky .vx-galaxy {
  position: absolute;
  right: -140px;
  top: -170px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(233, 213, 255, 0.3) 0%, rgba(168, 85, 247, 0.2) 26%, rgba(124, 92, 255, 0.13) 48%, rgba(56, 189, 248, 0.08) 68%, transparent 78%);
  transform: rotate(20deg) scaleY(0.52);
  opacity: 0.75;
  animation: skyFloat 72s ease-in-out infinite alternate;
}

.vx-sky .vx-moon {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #cbd5e1 48%, #475569 82%, #0f172a);
  box-shadow: 0 0 18px rgba(226, 232, 240, 0.35);
  opacity: 0.7;
  animation: skyFloat 26s ease-in-out infinite alternate;
}

.vx-sky .vx-moon--one {
  width: 18px;
  height: 18px;
  left: 96px;
  bottom: 210px;
  animation-delay: -6s;
}

.vx-sky .vx-moon--two {
  width: 11px;
  height: 11px;
  left: 250px;
  bottom: 300px;
  opacity: 0.55;
  animation-delay: -14s;
  animation-duration: 34s;
}

.vx-sky .vx-asteroid {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #cbd5e1, #64748b 60%, #1e293b);
  opacity: 0.5;
  animation: skyFloat 30s ease-in-out infinite alternate;
}

/* planet atmospheres: a rim of light on the dark side */
.vx-sky .vx-planet::before {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 72% 74%,
    transparent 52%,
    rgba(255, 255, 255, 0.16) 62%,
    transparent 70%
  );
}

.vx-sky .vx-planet--cyan::before {
  background: radial-gradient(circle at 70% 72%, transparent 50%, rgba(186, 230, 253, 0.22) 62%, transparent 72%);
}

.vx-sky .vx-planet--pink::before {
  background: radial-gradient(circle at 70% 72%, transparent 50%, rgba(255, 214, 240, 0.22) 62%, transparent 72%);
}

/* ---------- black hole, centred in the sky ---------- */
.vx-sky .vx-blackhole {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 50%,
      #000000 0%,
      #000000 24%,
      rgba(6, 2, 18, 0.96) 30%,
      rgba(124, 92, 255, 0.34) 37%,
      rgba(244, 114, 182, 0.22) 45%,
      rgba(56, 189, 248, 0.12) 55%,
      rgba(4, 2, 12, 0) 70%
    );
  opacity: 0.62;
  animation: blackholePulse 22s ease-in-out infinite;
}

/* the photon ring */
.vx-sky .vx-blackhole::before {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 1.5px solid rgba(233, 213, 255, 0.5);
  box-shadow:
    0 0 16px rgba(192, 132, 252, 0.6),
    inset 0 0 22px rgba(124, 92, 255, 0.45);
  opacity: 0.8;
}

/* the accretion disk, tilted */
.vx-sky .vx-blackhole::after {
  content: "";
  position: absolute;
  inset: 18% -34%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(4, 2, 12, 0) 40%,
    rgba(251, 191, 36, 0.3) 46%,
    rgba(244, 114, 182, 0.4) 50%,
    rgba(124, 92, 255, 0.28) 55%,
    rgba(4, 2, 12, 0) 64%
  );
  transform: rotate(-17deg) scaleY(0.26);
  filter: blur(1.5px);
  opacity: 0.85;
}

@keyframes blackholePulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(1.03); }
}

/* ---------- extra sky detail ---------- */
.vx-sky .vx-horizon {
  position: absolute;
  left: -25%;
  bottom: -52%;
  width: 150%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side at 50% 100%,
    rgba(124, 92, 255, 0.3) 0%,
    rgba(168, 85, 247, 0.16) 38%,
    rgba(56, 189, 248, 0.07) 62%,
    transparent 76%
  );
  animation: skyFloat 64s ease-in-out infinite alternate;
}

.vx-sky .vx-galaxy--small {
  right: auto;
  left: 8%;
  top: 12%;
  width: 300px;
  height: 300px;
  opacity: 0.5;
  transform: rotate(-16deg) scaleY(0.42);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(186, 230, 253, 0.28) 0%,
    rgba(129, 140, 248, 0.16) 32%,
    rgba(244, 114, 182, 0.08) 58%,
    transparent 76%
  );
  animation-duration: 88s;
}

.vx-sky .vx-star--warm {
  background: #ffe9c4;
  box-shadow: 0 0 7px rgba(255, 214, 150, 0.8);
}

.vx-sky .vx-star--blue {
  background: #cfe4ff;
  box-shadow: 0 0 7px rgba(160, 200, 255, 0.85);
}

.vx-sky .vx-star--big {
  width: 3px !important;
  height: 3px !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 22px rgba(192, 132, 252, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="eclipse"] body::before,
  [data-theme="eclipse"] body::after { animation: none; }
}

/* ============================================================
   THEME PICKER — final
   ============================================================ */

.vx-menu-theme {
  width: 100%;
  padding: 0 0 10px;
  margin: 0 0 4px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
  border-radius: 0;
}

.vx-menu-label {
  padding: 2px 4px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #6f7a92;
}

.vx-theme-row,
.vx-theme-row--special {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  margin-bottom: 6px;
}

.vx-theme-btn {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  padding: 8px 11px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #a9b3c9;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease),
              border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.vx-theme-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f2f5fc;
}

.vx-theme-btn__label {
  position: relative;
  z-index: 3;
  display: inline-block;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  color: inherit;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ---------- dark / light ---------- */
.vx-theme-btn[data-theme-opt="dark"].active {
  background: linear-gradient(180deg, #10161f, #05080e);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vx-theme-btn[data-theme-opt="light"].active {
  background: linear-gradient(180deg, #ffffff, #e6ebf6);
  border-color: rgba(255, 255, 255, 0.9);
  color: #0d1425;
  box-shadow: inset 0 1px 0 #ffffff;
}

.vx-theme-btn[data-theme-opt="light"].active .vx-theme-btn__label {
  color: #0d1425;
  text-shadow: none;
}

/* ---------- eclipse ---------- */
.vx-theme-btn--planet,
.vx-theme-btn--sakura {
  flex: 1 1 100%;
  width: 100%;
  position: relative;
  justify-content: flex-start;
  padding: 8px 12px;
  min-height: 38px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: none;
}

.vx-theme-btn--planet {
  border: 1px solid rgba(168, 139, 250, 0.32);
  background: rgba(124, 92, 255, 0.08);
  color: #c8bbeb;
}

.vx-theme-btn--sakura {
  border: 1px solid rgba(255, 46, 147, 0.45);
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.2), rgba(255, 110, 199, 0.12));
  color: #ffe4f0;
  cursor: pointer;
}

.vx-theme-btn--sakura:hover:not(:disabled) {
  border-color: rgba(255, 46, 147, 0.85);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 46, 147, 0.4);
}

.vx-theme-btn--sakura.active {
  background:
    linear-gradient(180deg, rgba(126, 20, 66, 0.92), rgba(74, 8, 38, 0.94)) padding-box,
    linear-gradient(135deg, rgba(255, 110, 199, 0.75), rgba(255, 209, 102, 0.45)) border-box;
  border: 1px solid transparent;
  color: #ffe9f3;
  box-shadow:
    0 0 0 1px rgba(255, 140, 200, 0.25),
    0 0 16px rgba(255, 46, 147, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.vx-theme-btn--sakura.active .vx-theme-btn__label {
  color: #ffe9f3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* artwork spans the entire button — scrim only behind the words */
.vx-theme-btn--planet::before,
.vx-theme-btn--sakura::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-size: 100% 100%, 22px 22px;
  background-position: left center, left center;
  background-repeat: no-repeat, repeat-x;
}

.vx-theme-btn--planet::before {
  background-image:
    linear-gradient(90deg, rgba(12, 8, 30, 0.9) 0%, rgba(12, 8, 30, 0.66) 16%, rgba(12, 8, 30, 0.2) 30%, rgba(12, 8, 30, 0) 42%),
    url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'24'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%3E%3Cdefs%3E%3CradialGradient%20id%3D'p'%20cx%3D'34%25'%20cy%3D'30%25'%20r%3D'72%25'%3E%3Cstop%20offset%3D'0%25'%20stop-color%3D'%23ffffff'%2F%3E%3Cstop%20offset%3D'26%25'%20stop-color%3D'%23e9d5ff'%2F%3E%3Cstop%20offset%3D'54%25'%20stop-color%3D'%23b06bff'%2F%3E%3Cstop%20offset%3D'80%25'%20stop-color%3D'%236d28d9'%2F%3E%3Cstop%20offset%3D'100%25'%20stop-color%3D'%231e0b3e'%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'5.4'%20fill%3D'url(%23p)'%2F%3E%3Cellipse%20cx%3D'12'%20cy%3D'12'%20rx%3D'9.2'%20ry%3D'3.2'%20fill%3D'none'%20stroke%3D'%23d8b4fe'%20stroke-width%3D'1'%20opacity%3D'0.9'%20transform%3D'rotate(-20%2012%2012)'%2F%3E%3C%2Fsvg%3E");
  opacity: 0.95;
}

/* blossom row, same construction as the Eclipse planets */
.vx-theme-btn--sakura::before {
  background-image:
    linear-gradient(90deg, rgba(40, 6, 26, 0.9) 0%, rgba(40, 6, 26, 0.62) 18%, rgba(40, 6, 26, 0.18) 34%, rgba(40, 6, 26, 0) 48%),
    url("/assets/sakura-chip.svg?v=100");
  background-repeat: no-repeat, repeat-x;
  background-position: left center, left center;
  background-size: 100% 100%, 22px 22px;
  opacity: 0.95;
}

.vx-theme-btn--sakura.active::before {
  background-image:
    linear-gradient(90deg, rgba(30, 4, 20, 0.55) 0%, rgba(30, 4, 20, 0.25) 40%, transparent 70%),
    url("/assets/sakura-chip.svg?v=100");
  opacity: 0.9;
}

.vx-theme-btn--planet::after,
.vx-theme-btn--sakura::after { content: none; }

.vx-theme-btn--planet:hover:not(:disabled) {
  border-color: rgba(192, 132, 252, 0.55);
  color: #f0e8ff;
}

.vx-theme-btn--planet.active {
  background: linear-gradient(135deg, #4b32a8, #6d3fd4 42%, #b0488f 82%);
  border-color: rgba(192, 132, 252, 0.5);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(124, 92, 255, 0.28);
}

.vx-theme-btn--planet.active .vx-theme-btn__label { text-shadow: 0 1px 4px rgba(40, 0, 80, 0.7); }

.vx-theme-btn--planet:disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #6f7a92;
}

.vx-theme-btn--planet:disabled::before { opacity: 0.3; }

/* ---------- light mode: pre-inverted so it renders correctly ---------- */
html[data-theme="light"] .vx-theme-btn[data-theme-opt="light"].active {
  background: linear-gradient(180deg, #0a0e17, #1b2231);
  border-color: rgba(16, 20, 30, 0.9);
  color: #f4f7ff;
}

html[data-theme="light"] .vx-theme-btn[data-theme-opt="light"].active .vx-theme-btn__label {
  color: #ffffff;
  text-shadow: none;
}

html[data-theme="light"] .vx-theme-btn[data-theme-opt="dark"].active {
  background: linear-gradient(180deg, #f6f8fc, #d8dfee);
  border-color: rgba(232, 236, 245, 0.95);
  color: #0b0f18;
}

html[data-theme="light"] .vx-theme-btn[data-theme-opt="dark"].active .vx-theme-btn__label {
  color: #0b0f18;
  text-shadow: none;
}

.vx-petal { display: none; }


/* ============================================================
   HIDDEN PETALS — seven, blended into the current theme
   ============================================================ */
.vx-petal-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: visible;
  z-index: 60;
  pointer-events: none;
}

.vx-petal-secret {
  position: absolute;
  font-size: 14px;
  line-height: 1;
  opacity: 0.15;
  color: #a6aebf;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  filter: saturate(0.2) brightness(1.05);
  mix-blend-mode: soft-light;
  transition: opacity 200ms ease, transform 200ms ease, color 200ms ease;
}

.vx-petal-secret:hover,
.vx-petal-secret:focus-visible {
  opacity: 0.8;
  filter: saturate(1);
  outline: none;
  color: #cfd6e6;
}

/* eclipse wears its own violet */
[data-theme="eclipse"] .vx-petal-secret {
  color: #9b8cc4;
  opacity: 0.26;
  filter: saturate(0.5);
}

[data-theme="eclipse"] .vx-petal-secret:hover,
[data-theme="eclipse"] .vx-petal-secret:focus-visible {
  color: #d8b4fe;
  opacity: 0.85;
}

/* light mode is inverted — authored light so it renders dark */
html[data-theme="light"] .vx-petal-secret {
  color: #c6cfe0;
  opacity: 0.3;
  filter: saturate(0.4);
}

.vx-petal-secret.found {
  opacity: 0;
  transform: scale(1.7) rotate(0deg) !important;
  pointer-events: none;
}


/* ============================================================
   SHARED MODAL — hidden unlocks on every page
   ============================================================ */
.puzzle-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 12, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.puzzle-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.puzzle-card {
  position: relative;
  width: min(430px, 100%);
  padding: 28px 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  background: linear-gradient(180deg, rgba(19, 24, 40, 0.98), rgba(11, 15, 26, 0.98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms var(--ease);
}

.puzzle-backdrop.open .puzzle-card { transform: none; }

.puzzle-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 150ms var(--ease), background 150ms var(--ease);
}

.puzzle-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.puzzle-reveal {
  text-align: center;
  padding: 6px 0 2px;
}

.puzzle-reveal .mark {
  font-size: 54px;
  line-height: 1;
  background: linear-gradient(135deg, #5b8cff, #8b5cf6 55%, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.puzzle-reveal .mark--petal {
  background: linear-gradient(135deg, #ffc2e0 0%, #ff9dcc 42%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 105, 180, 0.45));
}

/* sakura's sign-in prompt is pink */






.puzzle-reveal h3 { margin: 10px 0 8px; font-size: 19px; }

.puzzle-reveal p {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.puzzle-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  line-height: 1;
  text-decoration: none;
  font-size: 13.5px;
  vertical-align: middle;
}

/* the icon must centre on the text baseline */
.puzzle-login svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  position: relative;
  top: 0;
}

/* sakura's prompt is pink rather than the default blue/violet */
.puzzle-login--petal {
  background: linear-gradient(135deg, #ff9dcc 0%, #f472b6 58%, #e0489a 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(244, 114, 182, 0.42);
}

.puzzle-login--petal:hover {
  filter: brightness(1.07);
  box-shadow: 0 10px 30px rgba(244, 114, 182, 0.5);
}

.puzzle-login svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

/* eclipse gets its own tint on the card */
[data-theme="eclipse"] .puzzle-card {
  background: linear-gradient(180deg, rgba(28, 18, 56, 0.98), rgba(10, 6, 24, 0.98));
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 30px 80px rgba(50, 0, 110, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* petals shrink with the layout so they never overflow on phones */
@media (max-width: 640px) {
  .vx-petal-secret {
    font-size: 12px;
    opacity: 0.14;
  }
}

@media (max-width: 420px) {
  .vx-petal-secret {
    font-size: 11px;
    opacity: 0.13;
  }
}

/* ============================================================
   LOGIN CTA — keep icon + label on one line, pink for Sakura
   ============================================================ */
.puzzle-card {
  width: min(470px, 100%);
}

.btn.puzzle-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  max-width: 100%;
  padding: 0 20px;
  white-space: nowrap;
  line-height: 1;
  vertical-align: middle;
}

.btn.puzzle-login svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  align-self: center;
}

.btn.puzzle-login > span {
  display: inline-block;
  line-height: 1;
}

/* pink must beat the theme's .btn-primary rules */
.btn.puzzle-login.puzzle-login--petal {
  background: linear-gradient(135deg, #ff9dcc 0%, #f472b6 58%, #e0489a 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(244, 114, 182, 0.45);
}

.btn.puzzle-login.puzzle-login--petal:hover {
  background: linear-gradient(135deg, #ffb0d8 0%, #f97fc0 58%, #e85aa4 100%);
  filter: none;
  box-shadow: 0 10px 32px rgba(244, 114, 182, 0.55);
}

@media (max-width: 420px) {
  .btn.puzzle-login {
    padding: 0 14px;
    gap: 7px;
    font-size: 13px;
  }
}



[data-theme="eclipse"] .puzzle-backdrop .puzzle-card.puzzle-card--petal {
  background: linear-gradient(180deg, rgba(46, 18, 46, 0.98), rgba(20, 8, 24, 0.98));
  border-color: rgba(255, 105, 180, 0.6);
  box-shadow:
    0 30px 80px rgba(70, 0, 40, 0.7),
    0 0 0 1px rgba(255, 105, 180, 0.22),
    0 0 40px rgba(255, 105, 180, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.puzzle-card--petal .mark--petal {
  filter: drop-shadow(0 0 22px rgba(255, 105, 180, 0.6));
}

/* ============================================================
   SAKURA PROMPT — clean pink, no red/magenta drift
   ============================================================ */
.puzzle-backdrop .puzzle-card.puzzle-card--petal,
[data-theme="eclipse"] .puzzle-backdrop .puzzle-card.puzzle-card--petal {
  border: 2px solid #ffa6d8;
  background: linear-gradient(180deg, rgba(38, 20, 40, 0.98), rgba(20, 10, 24, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 166, 216, 0.35),
    0 0 36px rgba(255, 143, 203, 0.3),
    0 30px 80px rgba(40, 0, 24, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* the flower itself: soft pink, not magenta */
.puzzle-card--petal .mark--petal {
  background: linear-gradient(135deg, #ffd9ec 0%, #ffa6d8 48%, #ff7ab8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 143, 203, 0.55));
}

/* the button stays the normal site CTA */
.puzzle-card--petal .puzzle-login {
  background: var(--grad);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(59, 123, 255, 0.3);
}

/* ============================================================
   SAKURA PROMPT — final: neutral card, unmistakable pink
   ============================================================ */
.puzzle-backdrop.open .puzzle-card.puzzle-card--petal,
[data-theme="eclipse"] .puzzle-backdrop.open .puzzle-card.puzzle-card--petal,
[data-theme="light"] .puzzle-backdrop.open .puzzle-card.puzzle-card--petal {
  border: 2px solid #ff7ac0;
  background: linear-gradient(180deg, #1d171a 0%, #100c0e 100%);
  box-shadow:
    0 0 0 1px rgba(255, 122, 192, 0.45),
    0 0 40px rgba(255, 122, 192, 0.32),
    0 30px 80px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.puzzle-backdrop .puzzle-card--petal .mark.mark--petal {
  background: linear-gradient(135deg, #ffd9ec 0%, #ff9ad0 45%, #ff6fb6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 122, 192, 0.7));
}

/* ============================================================
   PETALS + PROMPTS — final pass
   ============================================================ */

/* in-page petals: soft pink, not bright */
.vx-petal-secret,
[data-theme="eclipse"] .vx-petal-secret,
html[data-theme="light"] .vx-petal-secret {
  color: #f0a6c8;
  opacity: 0.34;
  filter: saturate(0.75);
  mix-blend-mode: normal;
  text-shadow: 0 0 8px rgba(240, 166, 200, 0.35);
}

.vx-petal-secret:hover,
[data-theme="eclipse"] .vx-petal-secret:hover,
html[data-theme="light"] .vx-petal-secret:hover {
  color: #ffc4dd;
  opacity: 0.95;
}

/* the counter pill */
.vx-petal-count {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 12px);
  z-index: 200;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(24, 12, 24, 0.94);
  border: 1px solid rgba(255, 154, 208, 0.5);
  color: #ffd0e6;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 28px rgba(255, 122, 192, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.vx-petal-count.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* the infinity prompt wears a brighter violet, like the pink one */
.puzzle-backdrop .puzzle-card:not(.puzzle-card--petal) {
  border: 2px solid #a78bfa;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.4),
    0 0 40px rgba(139, 92, 246, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.puzzle-card:not(.puzzle-card--petal) .mark {
  filter: drop-shadow(0 0 22px rgba(167, 139, 250, 0.7));
}

/* the single active petal must be findable */
.vx-petal-secret {
  font-size: 16px;
  opacity: 0.5;
  color: #ffb7d9;
  filter: saturate(0.85);
  mix-blend-mode: normal;
  text-shadow: 0 0 10px rgba(255, 150, 200, 0.55);
  animation: petalBreath 3.4s ease-in-out infinite;
}

.vx-petal-secret:hover,
.vx-petal-secret:focus-visible {
  opacity: 1;
  color: #ffcbe3;
}

@keyframes petalBreath {
  0%, 100% { opacity: 0.4; transform-origin: center; }
  50% { opacity: 0.62; }
}

@media (prefers-reduced-motion: reduce) {
  .vx-petal-secret { animation: none; }
}

/* the first petal lives inside the coin avatar */
#vxWorkAvatar {
  position: relative;
  overflow: visible;
}

/* bigger coins inside the circle */
#vxWorkAvatar svg {
  width: 23px;
  height: 23px;
}

/* while a petal is on it, the coins are hidden */
#vxWorkAvatar.has-petal svg {
  opacity: 0;
  transition: opacity 160ms ease;
}

.vx-petal-secret--inline {
  position: absolute !important;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  opacity: 1;
  color: #ffc0de;
  z-index: 6;
  margin: 0;
  padding: 0;
  pointer-events: auto;
  text-shadow: 0 0 12px rgba(255, 150, 200, 0.85);
  animation: petalBreath 3.4s ease-in-out infinite;
}

.vx-petal-secret--inline:hover {
  opacity: 1;
  color: #ffd0e6;
}

#vxWorkAvatar { position: relative; }

/* ============================================================
   PETALS — always above page text, in every theme
   ============================================================ */
.vx-petal-layer {
  z-index: 75 !important;
}

.vx-petal-secret,
[data-theme="eclipse"] .vx-petal-secret,
html[data-theme="light"] .vx-petal-secret {
  z-index: 76;
  opacity: 0.62;
  mix-blend-mode: normal;
  color: #ffc4de;
  filter: none;
  text-shadow:
    0 0 2px rgba(20, 8, 16, 0.9),
    0 0 10px rgba(255, 140, 195, 0.7);
}

.vx-petal-secret:hover,
.vx-petal-secret:focus-visible {
  opacity: 1;
  color: #ffd9ea;
}

.vx-petal-secret--inline {
  z-index: 77;
}

/* ============================================================
   SAKURA — blossom grove
   Bright pink, hand-drawn trees and drifting petals.
   ============================================================ */

[data-theme="sakura"] {
  --bg: #23061a;
  --bg-2: #300824;

  --panel: rgba(38, 9, 27, 0.7);
  --panel-2: rgba(58, 16, 41, 0.58);
  --panel-solid: #1c0a16;

  --line: rgba(255, 120, 180, 0.28);
  --line-2: rgba(255, 120, 180, 0.42);
  --line-3: rgba(255, 150, 200, 0.6);

  --text: #fff2f8;
  --muted: #ffc2dc;
  --muted-2: #e39ab8;

  --blue: #ff2e93;
  --blue-2: #ff5aa8;
  --violet: #ff6ec7;
  --violet-2: #ffa6dc;

  --green: #7cf0c0;
  --amber: #ffd166;
  --red: #ff6b81;

  --grad: linear-gradient(135deg, #ff2e93 0%, #ff6ec7 50%, #ffd166 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 46, 147, 0.28), rgba(255, 110, 199, 0.2));
  --grad-text: linear-gradient(115deg, #ffd6e9 0%, #ff6ec7 32%, #ff2e93 62%, #ffd166 100%);

  --shadow-sm: 0 2px 12px rgba(160, 0, 70, 0.4);
  --shadow-md: 0 16px 48px rgba(150, 0, 66, 0.5);
  --shadow-lg: 0 36px 120px rgba(120, 0, 55, 0.62);
}

[data-theme="sakura"] body { background: var(--bg); }

/* ------------------------------------------------------------
   TREES — two blossom trees rooted to the lower corners
   ------------------------------------------------------------ */
[data-theme="sakura"] body::before {
  background-image: url("/assets/sakura-scene-v2.svg");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 1;
}



/* soft glow behind the grove */
[data-theme="sakura"] body::after {
  background-image:
    radial-gradient(circle 3.4px at 12% 22%, rgba(255, 236, 246, 0.85), transparent),
    radial-gradient(circle 2.2px at 26% 64%, rgba(255, 214, 233, 0.75), transparent),
    radial-gradient(circle 4.2px at 44% 12%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(circle 2.6px at 62% 76%, rgba(255, 186, 219, 0.7), transparent),
    radial-gradient(circle 3.8px at 77% 34%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(circle 2.0px at 89% 80%, rgba(255, 120, 180, 0.6), transparent),
    radial-gradient(circle 3.0px at 33% 90%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(circle 6.0px at 8% 48%, rgba(255, 160, 210, 0.22), transparent),
    radial-gradient(circle 7.5px at 21% 84%, rgba(255, 209, 102, 0.2), transparent),
    radial-gradient(circle 5.5px at 52% 58%, rgba(255, 110, 199, 0.18), transparent),
    radial-gradient(130% 100% at 50% 45%, transparent 52%, rgba(16, 2, 11, 0.5) 100%);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: sakuraTwinkle 9s ease-in-out infinite alternate;
  -webkit-mask-image: none;
  mask-image: none;
}

/* ------------------------------------------------------------
   FALLING PETALS — injected by theme.js
   ------------------------------------------------------------ */
.vx-sakura-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.vx-sakura-leaf {
  position: absolute;
  top: -10vh;
  background: linear-gradient(135deg, #ffe9f3 0%, #ff8fc9 42%, #ff2e93 100%);
  border-radius: 100% 0 100% 0;
  box-shadow: 0 0 12px rgba(255, 110, 190, 0.5);
  animation-name: sakuraPetalFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}

/* ------------------------------------------------------------
   NAV
   ------------------------------------------------------------ */
[data-theme="sakura"] .vx-nav-inner {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(44, 8, 32, 0.8), rgba(44, 8, 32, 0.8)) padding-box,
    linear-gradient(135deg, rgba(255, 46, 147, 0.9), rgba(255, 110, 199, 0.65) 50%, rgba(255, 209, 102, 0.6)) border-box;
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  animation: sakuraNavGlow 8s ease-in-out infinite alternate;
}

[data-theme="sakura"] .vx-link:hover,
[data-theme="sakura"] .vx-link[aria-current="page"] { color: #ffffff; }

[data-theme="sakura"] .vx-link.active::after,
[data-theme="sakura"] .vx-link[aria-current="page"]::after {
  background: linear-gradient(90deg, #ff2e93, #ff6ec7);
  box-shadow: 0 0 14px rgba(255, 46, 147, 0.9);
}

/* ------------------------------------------------------------
   TYPE
   ------------------------------------------------------------ */
[data-theme="sakura"] .grad-text {
  background: linear-gradient(115deg, #ffd6e9 0%, #ff6ec7 26%, #ff2e93 56%, #ffd166 86%, #ffd6e9 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 34px rgba(255, 46, 147, 0.55));
  animation: sakuraTextShift 15s ease-in-out infinite alternate;
}

[data-theme="sakura"] h1,
[data-theme="sakura"] h2,
[data-theme="sakura"] h3 { color: #ffffff; }

[data-theme="sakura"] .eyebrow,
[data-theme="sakura"] .pill-accent {
  color: #ffe4f0;
  border-color: rgba(255, 46, 147, 0.55);
  background: rgba(255, 46, 147, 0.22);
  box-shadow: 0 0 24px rgba(255, 46, 147, 0.32);
}

/* ------------------------------------------------------------
   CARDS
   ------------------------------------------------------------ */
[data-theme="sakura"] .module,
[data-theme="sakura"] .stat-cell,
[data-theme="sakura"] .cta-panel,
[data-theme="sakura"] .step,
[data-theme="sakura"] .perk,
[data-theme="sakura"] .soon-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(78, 14, 48, 0.82), rgba(38, 6, 26, 0.78)) padding-box,
    linear-gradient(135deg, rgba(255, 46, 147, 0.65), rgba(255, 110, 199, 0.35) 45%, rgba(255, 209, 102, 0.4)) border-box;
  box-shadow:
    0 18px 54px rgba(120, 0, 55, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
}

[data-theme="sakura"] .module::after,
[data-theme="sakura"] .perk::after,
[data-theme="sakura"] .stat-cell::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 60%;
  height: 220%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 214, 233, 0.22) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 100%
  );
  transform: rotate(12deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease);
}

[data-theme="sakura"] .module:hover::after,
[data-theme="sakura"] .perk:hover::after,
[data-theme="sakura"] .stat-cell:hover::after {
  opacity: 1;
  animation: sakuraSweep 900ms ease-out;
}

[data-theme="sakura"] .module:hover,
[data-theme="sakura"] .perk:hover,
[data-theme="sakura"] .stat-cell:hover {
  transform: translateY(-5px);
  box-shadow:
    0 32px 84px rgba(190, 20, 100, 0.6),
    0 0 40px rgba(255, 46, 147, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="sakura"] .module h3 { color: #ffffff; }
[data-theme="sakura"] .module p { color: var(--muted); }

[data-theme="sakura"] .module-icon,
[data-theme="sakura"] .perk-icon {
  background: linear-gradient(135deg, rgba(255, 46, 147, 0.4), rgba(255, 110, 199, 0.28));
  border-color: rgba(255, 46, 147, 0.55);
  color: #ffffff;
  box-shadow: 0 0 26px rgba(255, 46, 147, 0.4);
}

[data-theme="sakura"] .stat-cell strong {
  background: linear-gradient(135deg, #ffd6e9, #ff2e93, #ffd166);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sakuraTextShift 9s ease-in-out infinite alternate;
}

[data-theme="sakura"] .step-num {
  background: linear-gradient(135deg, #ff2e93, #ff6ec7);
  box-shadow: 0 0 24px rgba(255, 46, 147, 0.6);
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
[data-theme="sakura"] .btn {
  background: rgba(255, 46, 147, 0.2);
  border-color: rgba(255, 120, 180, 0.5);
  color: #fff0f7;
}

[data-theme="sakura"] .btn:hover {
  background: rgba(255, 46, 147, 0.32);
  border-color: rgba(255, 150, 200, 0.8);
  box-shadow: 0 0 30px rgba(255, 46, 147, 0.45);
}

[data-theme="sakura"] .btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff2e93, #ff6ec7 45%, #ffd166 80%, #ff2e93);
  background-size: 260% 100%;
  border-color: transparent;
  color: #2b0016;
  box-shadow:
    0 10px 40px rgba(255, 46, 147, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  animation: sakuraTextShift 8s ease-in-out infinite alternate;
}

[data-theme="sakura"] .btn-primary:hover {
  filter: brightness(1.08);
  box-shadow:
    0 16px 52px rgba(255, 110, 199, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

[data-theme="sakura"] .vx-btn-invite {
  background: linear-gradient(135deg, #ff2e93, #ff6ec7 55%, #ffd166);
  background-size: 220% 100%;
  border-color: transparent;
  color: #2b0016;
  box-shadow: 0 8px 32px rgba(255, 46, 147, 0.5);
  animation: sakuraTextShift 9s ease-in-out infinite alternate;
}

/* ------------------------------------------------------------
   FOOTER + MENU
   ------------------------------------------------------------ */
[data-theme="sakura"] .footer {
  border-top: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(40, 8, 30, 0.6), rgba(22, 4, 16, 0.92)) padding-box,
    linear-gradient(90deg, transparent, rgba(255, 46, 147, 0.6), rgba(255, 110, 199, 0.45), transparent) border-box;
}

[data-theme="sakura"] .footer h4 { color: #ffd6e9; }

[data-theme="sakura"] .vx-menu {
  background:
    radial-gradient(150% 100% at 100% 0%, rgba(255, 46, 147, 0.35), transparent 58%),
    radial-gradient(130% 100% at 0% 100%, rgba(255, 110, 199, 0.26), transparent 56%),
    radial-gradient(90% 70% at 50% 120%, rgba(255, 209, 102, 0.18), transparent 60%),
    linear-gradient(180deg, #5a0e3a 0%, #340a24 45%, #150310 100%);
  border-color: rgba(255, 46, 147, 0.65);
  box-shadow:
    0 30px 88px rgba(120, 0, 60, 0.8),
    0 0 0 1px rgba(255, 110, 199, 0.3),
    0 0 50px rgba(255, 46, 147, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

[data-theme="sakura"] ::selection { background: rgba(255, 46, 147, 0.42); color: #fff; }

/* petals on the page read as blossom */
[data-theme="sakura"] .vx-petal-secret {
  color: #ff9ad0;
  opacity: 0.45;
}

[data-theme="sakura"] .vx-petal-secret:hover,
[data-theme="sakura"] .vx-petal-secret:focus-visible {
  opacity: 0.95;
}

/* ------------------------------------------------------------
   MOTION
   ------------------------------------------------------------ */
@keyframes sakuraSky {
  0%   { background-position:
          left -8vw bottom -14vh,
          right -8vw bottom -14vh,
          center bottom -2vh,
          0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position:
          left -6vw bottom -12vh,
          right -6vw bottom -12vh,
          center bottom 0,
          0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
}

@keyframes sakuraBreathe {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes sakuraTwinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

@keyframes sakuraTreeSway {
  from { transform: rotate(-0.6deg); }
  to { transform: rotate(0.6deg); }
}

@keyframes sakuraNavGlow {
  from {
    box-shadow:
      0 12px 44px rgba(160, 0, 70, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  to {
    box-shadow:
      0 18px 64px rgba(220, 30, 120, 0.52),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

@keyframes sakuraTextShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes sakuraSweep {
  from { left: -140%; }
  to { left: 150%; }
}

@keyframes sakuraPetalFall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(var(--tilt, 0deg)) rotate3d(1, 1, 0, 0deg);
    opacity: 0;
  }
  8% { opacity: 1; }
  35% {
    transform: translate3d(var(--sway, 40px), 34vh, 0) rotate(calc(var(--tilt, 0deg) + 120deg)) rotate3d(1, 1, 0, 120deg);
  }
  68% {
    transform: translate3d(calc(var(--sway, 40px) * -0.7), 68vh, 0) rotate(calc(var(--tilt, 0deg) + 260deg)) rotate3d(1, 1, 0, 260deg);
  }
  92% { opacity: 1; }
  100% {
    transform: translate3d(0, 112vh, 0) rotate(calc(var(--tilt, 0deg) + 420deg)) rotate3d(1, 1, 0, 420deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="sakura"]::before,
  [data-theme="sakura"] body::before,
  [data-theme="sakura"] body::after,
  [data-theme="sakura"] .vx-nav-inner,
  [data-theme="sakura"] .grad-text,
  [data-theme="sakura"] .stat-cell strong,
  [data-theme="sakura"] .btn-primary,
  [data-theme="sakura"] .vx-btn-invite,
  [data-theme="sakura"] .module:hover::after,
  [data-theme="sakura"] .perk:hover::after,
  [data-theme="sakura"] .stat-cell:hover::after,
  .vx-sakura-leaf {
    animation: none;
  }

  .vx-sakura-field { display: none; }
}

.vx-sakura-leaf--far {
  filter: blur(2.2px);
  opacity: 0.26 !important;
  background: linear-gradient(135deg, #ffc2e2 0%, #ff87c4 60%, #ff5fae 100%);
  box-shadow: none;
}

/* ------------------------------------------------------------
   ECLIPSE — asteroids drifting across the sky
   ------------------------------------------------------------ */
.vx-eclipse-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.vx-eclipse-rock {
  position: absolute;
  left: -12vw;
  top: 0;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background:
    radial-gradient(circle at 30% 26%, #efe0ff 0%, #c89bff 28%, #7c5cff 62%, #2c1258 100%);
  box-shadow:
    0 0 14px rgba(192, 132, 252, 0.6),
    inset -4px -5px 10px rgba(10, 4, 24, 0.75),
    inset 3px 3px 8px rgba(240, 224, 255, 0.25);
  animation-name: eclipseRockDrift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
  z-index: 2;
}

/* craters on the surface */
.vx-eclipse-rock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 36% 38%, rgba(18, 4, 38, 0.6) 0 16%, transparent 19%),
    radial-gradient(circle at 64% 62%, rgba(18, 4, 38, 0.5) 0 11%, transparent 14%),
    radial-gradient(circle at 26% 70%, rgba(18, 4, 38, 0.45) 0 9%, transparent 12%),
    radial-gradient(circle at 70% 30%, rgba(18, 4, 38, 0.35) 0 7%, transparent 10%);
  pointer-events: none;
}

/* the streak trailing behind it */
.vx-eclipse-rock::after {
  content: "";
  position: absolute;
  right: 88%;
  top: 50%;
  width: var(--tail, 90px);
  height: 62%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(
    270deg,
    rgba(255, 226, 160, 0.95) 0%,
    rgba(255, 168, 92, 0.72) 18%,
    rgba(255, 104, 96, 0.48) 40%,
    rgba(214, 92, 190, 0.26) 64%,
    transparent 100%
  );
  filter: blur(3.2px);
  filter: blur(3.2px) saturate(1.15);
  pointer-events: none;
}

.vx-eclipse-rock--far {
  filter: blur(1.2px);
  opacity: 0.42 !important;
  box-shadow: none;
}

.vx-eclipse-rock--far::before { opacity: 0.5; }
.vx-eclipse-rock--far::after { opacity: 0.55; }

@keyframes eclipseRockDrift {
  0% {
    transform: translate3d(-10vw, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% {
    transform: translate3d(115vw, var(--rise, -12vh), 0) rotate(var(--spin, 320deg));
    opacity: 0;
  }
}

/* ============================================================
   ASTEROID v2 — the body spins, the tail stays level behind it
   ============================================================ */

/* the element is only a moving container now */
.vx-eclipse-rock {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  z-index: 2;
}

/* the rock itself — this is what tumbles */
.vx-eclipse-rock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background:
    radial-gradient(circle at 36% 38%, rgba(18, 4, 38, 0.6) 0 16%, transparent 19%),
    radial-gradient(circle at 64% 62%, rgba(18, 4, 38, 0.5) 0 11%, transparent 14%),
    radial-gradient(circle at 26% 70%, rgba(18, 4, 38, 0.45) 0 9%, transparent 12%),
    radial-gradient(circle at 70% 30%, rgba(18, 4, 38, 0.35) 0 7%, transparent 10%),
    radial-gradient(circle at 30% 26%, #efe0ff 0%, #c89bff 28%, #7c5cff 62%, #2c1258 100%);
  box-shadow:
    0 0 14px rgba(192, 132, 252, 0.6),
    inset -4px -5px 10px rgba(10, 4, 24, 0.75),
    inset 3px 3px 8px rgba(240, 224, 255, 0.25);
  animation: eclipseRockSpin var(--dur, 34s) linear infinite;
  animation-delay: var(--delay, 0s);
}

/* the tail — never rotates, always directly behind */
.vx-eclipse-rock::after {
  content: "";
  position: absolute;
  right: 88%;
  left: auto;
  top: 50%;
  width: var(--tail, 90px);
  height: 46%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(
    270deg,
    rgba(255, 226, 160, 0.95) 0%,
    rgba(255, 168, 92, 0.72) 18%,
    rgba(255, 104, 96, 0.48) 40%,
    rgba(214, 92, 190, 0.26) 64%,
    transparent 100%
  );
  filter: blur(3.2px);
  pointer-events: none;
}

.vx-eclipse-rock--left::after {
  right: auto;
  left: 88%;
  background: linear-gradient(
    90deg,
    rgba(255, 226, 160, 0.95) 0%,
    rgba(255, 168, 92, 0.72) 18%,
    rgba(255, 104, 96, 0.48) 40%,
    rgba(214, 92, 190, 0.26) 64%,
    transparent 100%
  );
}

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

/* travel only — rotation now lives on the body */
@keyframes eclipseRockDrift {
  0% { translate: -12vw 0; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { translate: 115vw var(--rise, -12vh); opacity: 0; }
}

@keyframes eclipseRockDriftReverse {
  0% { translate: 110vw 0; opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  100% { translate: -20vw var(--rise, -12vh); opacity: 0; }
}

/* barely-there sway instead of a full tumble */
@keyframes eclipseRockSpin {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.vx-eclipse-rock::before {
  animation: eclipseRockSpin var(--dur, 34s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* selected Sakura wears a gradient, like selected Eclipse */
.vx-theme-btn--sakura.active {
  background: linear-gradient(135deg, #7a1444, #b03070 45%, #d95f9e 82%);
  border: 1px solid rgba(255, 170, 210, 0.6);
  color: #ffffff;
  box-shadow:
    0 0 16px rgba(255, 46, 147, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.vx-theme-btn--sakura.active .vx-theme-btn__label {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* selected Sakura: same dark treatment as Eclipse, in wine tones */
.vx-theme-btn--sakura.active {
  background: linear-gradient(135deg, #4a1230, #7d1a48 42%, #b0336b 82%);
  border: 1px solid rgba(255, 170, 210, 0.5);
  color: #ffffff;
  box-shadow:
    0 0 16px rgba(255, 46, 147, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.vx-theme-btn--sakura.active .vx-theme-btn__label {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* artwork sits over the darker fill, like the planets do */
.vx-theme-btn--sakura.active::before {
  background-image:
    linear-gradient(90deg, rgba(20, 4, 14, 0.55) 0%, rgba(20, 4, 14, 0.22) 42%, transparent 72%),
    url("/assets/sakura-chip.svg?v=100");
  opacity: 0.9;
}

/* selected Sakura — same brightness structure as selected Eclipse */
.vx-theme-btn--sakura.active {
  background: linear-gradient(135deg, #b81f6b, #e8429a 42%, #ff9ecb 82%);
  border: 1px solid rgba(255, 170, 210, 0.65);
  color: #ffffff;
  box-shadow:
    0 0 18px rgba(255, 46, 147, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vx-theme-btn--sakura.active .vx-theme-btn__label {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(90, 0, 45, 0.55);
}

.vx-theme-btn--sakura.active::before {
  background-image:
    linear-gradient(90deg, rgba(60, 4, 32, 0.38) 0%, rgba(60, 4, 32, 0.12) 40%, transparent 70%),
    url("/assets/sakura-chip.svg?v=100");
  opacity: 1;
}

/* ============================================================
   COMMANDS + PREMIUM — ONE box, everything inside it flat
   ============================================================ */

/* page header: no box of its own */
.cmds-head,
.hero-prem {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 0 0 18px !important;
}

/* the single panel */
.cmds-panel,
.perks {
  background: rgba(17, 19, 27, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 22px !important;
}

/* inner chrome carries no box of its own */
.cmds-side,
.cmds-bar,
.cmds-body,
.search,
.seg {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* sidebar items and rows: quiet sections */
.side-btn,
.cmd-stack,
.cmd-row,
.perk {
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.side-btn:hover,
.cmd-row:hover,
.perk:hover {
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.side-btn.active {
  background-image: var(--grad) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

/* search input keeps a light field, not a boxed shell */
.cmds-panel input[type="search"],
.cmds-panel input[type="text"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* buttons follow the theme, like the dashboard */
.cmds-panel .btn-primary,
.perks .btn-primary,
main.container .btn-primary {
  background-image: var(--grad) !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32) !important;
}

.cmds-panel .btn:not(.btn-primary),
.perks .btn:not(.btn-primary),
main.container .btn:not(.btn-primary) {
  background: rgba(34, 38, 50, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #e9ecf5 !important;
}

/* ============================================================
   COMMANDS HEADER — same box as the commands panel.
   Font untouched.
   ============================================================ */

.cmds-head {
  background: rgba(17, 19, 27, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 20px 24px !important;
  margin: 0 0 18px !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* no extra coloured band behind "ALL COMMANDS" */
.cmds-panel .panel-head,
.cmds-body .panel-head,
.panel-head {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* no coloured pill behind All / Prefix / Slash */
.seg,
.cmds-bar .seg,
.seg-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.seg-btn {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.seg-btn.active {
  background-image: var(--grad) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

/* ============================================================
   COMMANDS — header sits the same distance from the top as the
   list sits below it, and no band behind "ALL COMMANDS"
   ============================================================ */

/* same 18px gap above the header as below it */
.cmds-head {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

/* kill every background component on the list header, in all themes */
.cmds-panel .panel-head,
.cmds-panel > .panel-head,
.cmds-body .panel-head,
.panel-head,
.cmds-panel h2,
.cmds-panel h3,
.cmds-panel > header {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* and on the filter bar */
.cmds-bar,
.seg {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cmds-panel {
  margin-top: 0 !important;
}

/* highest-specificity reset so no theme can paint a band behind the list header */
html[data-theme] .cmds-panel .panel-head,
html[data-theme] .cmds-panel > .panel-head,
html[data-theme] .cmds-body .panel-head,
html[data-theme] .cmds-panel > header,
html[data-theme] .cmds-panel h2,
html[data-theme] .cmds-panel h3,
html[data-theme] .cmds-panel .cmds-bar,
html[data-theme] .cmds-panel .seg,
html[data-theme] .cmds-panel .seg-btn:not(.active) {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ============================================================
   RESPONSIVE / TOUCH — every page, every device
   ============================================================ */

html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

/* comfortable tap targets everywhere */
.btn,
.vx-btn,
.side-btn,
.seg-btn,
button,
[role="button"] {
  min-height: 44px;
  -webkit-tap-highlight-color: rgba(255, 46, 147, 0.25);
  touch-action: manipulation;
}

.btn,
.vx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

/* rows of buttons wrap instead of overflowing */
.hero-actions,
.vx-actions,
.center-actions,
.cmds-bar,
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* long command names / server names must not break layout */
.cmd-name,
.cmd-desc,
.server-pill-name,
h1, h2, h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .btn { font-size: 14.5px; padding: 11px 16px; }
  .btn-sm { min-height: 42px; padding: 9px 13px; }
  .cmds-bar { gap: 8px; }
  .cmds-bar input { width: 100% !important; }
  .server-grid, .perks, #content .server-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .btn,
  .vx-btn { min-height: 48px; width: 100%; }
  .hero-actions > *,
  .vx-actions > *,
  .center-actions > * { width: 100%; }
  .btn-primary, .btn { font-size: 15px; }
  h1 { font-size: 30px !important; line-height: 1.15; }
  h2 { font-size: 24px !important; }
  .cmds-panel { padding: 14px !important; }
  .cmd-row { padding: 12px !important; }
}

/* keep the nav usable when the viewport is short (landscape phones) */
@media (max-height: 480px) {
  .hero-prem { padding-top: 72px !important; }
  .vx-nav-inner { padding-top: 8px; padding-bottom: 8px; }
}