:root {
  --bg: #07060d;
  --ivory: #f4efe6;
  --muted: #cbbfae;
  --gold: #e4c88a;
  --gold-deep: #a68445;
  --line: rgba(228, 200, 138, 0.32);
  --display: "Cormorant Garamond", Palatino, "Palatino Linotype", "Songti SC", "STSong", SimSun, serif;
  --sans: Outfit, "Segoe UI", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --foil: linear-gradient(105deg, #8a6d3b 0%, #f8efd4 32%, #b8924a 48%, #fff6dd 64%, #8a6d3b 100%);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ivory);
  background:
    radial-gradient(920px 520px at 86% -8%, rgba(104, 52, 150, 0.38), transparent 56%),
    radial-gradient(760px 460px at -12% 18%, rgba(36, 58, 130, 0.32), transparent 52%),
    radial-gradient(820px 480px at 50% 112%, rgba(132, 88, 36, 0.14), transparent 46%),
    var(--bg);
  line-height: 1.5;
  overflow-x: clip;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }

button, input { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

::selection { background: rgba(228, 200, 138, 0.28); }

:focus-visible {
  outline: 2px solid #f0d9a6;
  outline-offset: 3px;
}

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

.stars,
.grain,
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.stars { z-index: 0; width: 100%; height: 100%; }

.grain {
  z-index: 1;
  opacity: 0.14;
  background-image: url("../assets/grain.svg");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.vignette {
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.46) 100%);
}

.scroll-gold {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 40;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  background: linear-gradient(90deg, #8a6a32, #f8efd4, #e4c88a);
}

.spine { display: none; }

.site-header,
main,
.site-footer { position: relative; z-index: 3; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.8rem, env(safe-area-inset-top)) 1.1rem 0.8rem;
  background: rgba(7, 6, 13, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 200, 138, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 500;
}

.brand img { width: 28px; height: 28px; }

.lang { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(228, 200, 138, 0.45);
  background: rgba(228, 200, 138, 0.06);
  color: #f6edd8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.lang-btn svg { width: 12px; height: 12px; transition: transform 0.2s ease; }

.lang-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  max-height: min(60vh, 420px);
  overflow: auto;
  padding: 0.4rem;
  border-radius: 16px;
  background: rgba(14, 12, 24, 0.94);
  border: 1px solid rgba(228, 200, 138, 0.35);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 2px;
  z-index: 20;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.lang-menu button {
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  color: var(--ivory);
}

.lang-menu button[aria-current="true"],
.lang-menu button:hover {
  color: #f8efd4;
  background: rgba(228, 200, 138, 0.12);
}

.panel-section,
.hero {
  scroll-margin-top: 76px;
}

.hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 1rem;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-copy { display: contents; }

.eyebrow,
.kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-grid h1 { order: 2; }

.wheel-col { order: 3; }

.sub { order: 4; }

.today { order: 5; }

.jumps { order: 6; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 8vw, 5.3rem);
  line-height: 0.96;
  text-wrap: balance;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  background-image: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 8s linear infinite;
}

.sub {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 300;
}

.today {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jumps a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f6edd8;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.jumps a:hover {
  border-color: rgba(243, 226, 184, 0.8);
  box-shadow: 0 0 18px rgba(228, 200, 138, 0.25);
}

.wheel-col {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.wheel-stage {
  position: relative;
  width: min(86vw, 440px);
  aspect-ratio: 1;
  cursor: pointer;
  user-select: none;
}

.wheel-stage::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(228, 200, 138, 0.38);
  box-shadow:
    0 0 46px rgba(110, 70, 190, 0.28),
    inset 0 0 30px rgba(228, 200, 138, 0.06);
  pointer-events: none;
}

.pointer {
  position: absolute;
  z-index: 6;
  top: 4px;
  left: 50%;
  width: 18px;
  height: 30px;
  margin-left: -9px;
  background: linear-gradient(#fff6dd, #c6a15e);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
}

.wheel-stage.is-spinning .pointer { animation: nod 0.35s ease-in-out infinite; }

.wheel-rotor {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 5.4s cubic-bezier(0.13, 0.62, 0.08, 1);
  will-change: transform;
}

.wheel-face {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -22.5deg, rgba(248, 239, 212, 0.95) 0deg 0.4deg, transparent 0.4deg 45deg),
    conic-gradient(from -22.5deg,
      #3b2468 0deg 45deg,
      #15192f 45deg 90deg,
      #4a2c3c 90deg 135deg,
      #1c273c 135deg 180deg,
      #2d2156 180deg 225deg,
      #172433 225deg 270deg,
      #4a2844 270deg 315deg,
      #211c3d 315deg 360deg);
  box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.35);
}

.wlabels { position: absolute; inset: 0; z-index: 3; }

.wlabel { position: absolute; inset: 0; transform: rotate(calc(var(--i) * 45deg)); }

.wlabel span {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: clamp(11px, 2.6vw, 16px);
  letter-spacing: 0.03em;
  color: #f8efd4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  pointer-events: none;
}

.wheel-rotor::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 244, 214, 0.16), transparent 42%),
    radial-gradient(circle, #171226, #0c0a14 72%);
  border: 1px solid rgba(228, 200, 138, 0.6);
  box-shadow: inset 0 0 18px rgba(228, 200, 138, 0.08);
}

.hub {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(248, 239, 212, 0.85);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 244, 214, 0.22), transparent 42%),
    radial-gradient(circle, #3a2c18, #120e18 74%);
  color: #f8efd4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(11px, 2.8vw, 14px);
  box-shadow:
    0 0 26px rgba(228, 200, 138, 0.32),
    inset 0 0 14px rgba(255, 236, 200, 0.16);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.hub:hover {
  box-shadow: 0 0 36px rgba(228, 200, 138, 0.55), inset 0 0 14px rgba(255, 236, 200, 0.2);
}

.hub:active { transform: translate(-50%, -50%) scale(0.98); }

.hub:disabled { cursor: progress; }

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filigree {
  width: min(440px, 72%);
  height: 28px;
  margin: 0.4rem auto 0.2rem;
  opacity: 0.9;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.panel-section {
  padding: 0.6rem 0 1.4rem;
  perspective: 1200px;
}

.card {
  position: relative;
  display: grid;
  gap: 1.4rem;
  padding: 1.35rem 1.1rem 1.2rem;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 24, 0.68);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform-style: preserve-3d;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

#cosmos .card {
  background:
    radial-gradient(720px 240px at 0% 0%, rgba(124, 78, 196, 0.24), transparent 52%),
    rgba(10, 12, 24, 0.72);
}

#elements .card {
  background:
    radial-gradient(680px 260px at 100% 0%, rgba(70, 140, 120, 0.18), transparent 48%),
    rgba(10, 12, 24, 0.72);
}

#aura .card {
  background:
    radial-gradient(640px 280px at 10% 90%, rgba(176, 86, 112, 0.22), transparent 50%),
    rgba(10, 12, 24, 0.72);
}

.corners { position: absolute; inset: 12px; pointer-events: none; }

.corners i {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(248, 239, 212, 0.85);
  border-style: solid;
}

.corners i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.corners i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.corners i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.corners i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.index-no {
  margin: 0 0 0.35rem;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.05rem, 5vw, 3.5rem);
  line-height: 1.02;
}

.prose {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

.field { margin-top: 0.95rem; }

.field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

input[type="date"] {
  width: 100%;
  color-scheme: dark;
  font-size: 16px;
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(228, 200, 138, 0.28);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  min-height: 48px;
}

input[type="date"]:focus {
  border-color: rgba(248, 239, 212, 0.8);
  box-shadow: 0 0 0 3px rgba(228, 200, 138, 0.15);
  outline: none;
}

.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.choice,
.intent {
  border-radius: 16px;
  border: 1px solid rgba(228, 200, 138, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.choice {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.3rem;
  font-size: 0.82rem;
}

.choice svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.4; }

.choice[aria-checked="true"],
.intent[aria-checked="true"] {
  border-color: rgba(248, 239, 212, 0.9);
  background: rgba(228, 200, 138, 0.1);
  box-shadow: 0 0 22px rgba(228, 200, 138, 0.22);
}

.intents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.intent {
  min-height: 48px;
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
}

.btn {
  appearance: none;
  width: 100%;
  margin-top: 0.95rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(#14111f, #14111f) padding-box,
    linear-gradient(120deg, #8a6a32, #f8efd4, #b8924a, #f8efd4) border-box;
  color: #f8efd4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  touch-action: manipulation;
}

.btn:hover { box-shadow: 0 0 22px rgba(228, 200, 138, 0.38); }

.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(228, 200, 138, 0.5);
  box-shadow: none;
}

.form-error {
  margin: 0.55rem 0 0;
  color: #f0c2b0;
  font-size: 0.85rem;
}

.form-error:empty { display: none; }

.shake { animation: shake 0.42s ease; }

.compass {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 1.1rem auto 0;
}

.compass-ring {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px dashed rgba(228, 200, 138, 0.45);
  animation: spin-slow 56s linear infinite;
}

.compass::before {
  content: "";
  position: absolute;
  inset: 27%;
  border-radius: 50%;
  border: 1px solid rgba(228, 200, 138, 0.22);
}

.node {
  position: absolute;
  width: 70px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.node small {
  display: block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--gold);
}

.node b {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
}

.node em {
  font-style: normal;
  color: rgba(228, 200, 138, 0.7);
  font-family: var(--display);
}

.node.north { left: 50%; top: 12%; }
.node.east { left: 82%; top: 50%; }
.node.south { left: 50%; top: 88%; }
.node.west { left: 18%; top: 50%; }

.node.center {
  left: 50%;
  top: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(228, 200, 138, 0.65);
  background: rgba(228, 200, 138, 0.08);
  box-shadow: 0 0 28px rgba(228, 200, 138, 0.16);
}

.orb-wrap { display: grid; justify-items: center; margin-top: 1rem; }

.orb {
  width: min(64vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.78), transparent 16%),
    radial-gradient(circle at 50% 58%, var(--aura, #e4c88a), transparent 60%),
    radial-gradient(circle at 50% 50%, #221735, #07060d 74%);
  box-shadow:
    0 0 42px color-mix(in srgb, var(--aura, #e4c88a) 48%, transparent),
    inset 0 0 24px rgba(255, 255, 255, 0.08);
  animation: breathe 6.5s ease-in-out infinite;
}

.site-footer {
  padding: 1.2rem 1rem 2.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.site-footer .foil-line {
  width: min(220px, 46%);
  height: 1px;
  margin: 0 auto 1rem;
  border: 0;
  background: linear-gradient(90deg, transparent, #8a6a32, #f8efd4, #c4a15a, transparent);
  box-shadow: 0 0 8px rgba(228, 200, 138, 0.35);
}

.site-footer p { margin: 0.35rem auto 0; max-width: 40rem; }

.noscript {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto;
  color: var(--gold);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 3, 8, 0.72);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.modal {
  position: relative;
  width: min(92vw, 480px);
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 1.7rem 1.25rem 1.2rem;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(48, 36, 72, 0.78), rgba(10, 12, 24, 0.86));
  border: 1px solid rgba(228, 200, 138, 0.48);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.25);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay.is-open .modal { transform: none; }

.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-thumb { background: rgba(228, 200, 138, 0.4); border-radius: 99px; }

.icon-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(228, 200, 138, 0.4);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ivory);
  font-size: 1.3rem;
  line-height: 1;
}

.modal h3 {
  margin: 0.15rem 2rem 0.45rem 0;
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 1;
}

.lede, .advice, .feng, .fine {
  margin: 0.45rem 0 0;
  color: var(--ivory);
  font-weight: 300;
  line-height: 1.65;
}

.advice-label {
  margin: 0.9rem 0 0;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.fine { color: var(--muted); font-size: 0.78rem; }

.score {
  position: relative;
  width: 112px;
  margin: 0.35rem auto 0.2rem;
}

.score svg {
  width: 112px;
  height: 112px;
  display: block;
  transform: rotate(-90deg);
}

.score-track { fill: none; stroke: rgba(228, 200, 138, 0.18); stroke-width: 4; }

.score-value {
  fill: none;
  stroke: #e4c88a;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s ease;
}

.score-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
}

.score-cap {
  display: block;
  text-align: center;
  margin-top: 0.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.64rem;
  color: var(--gold);
}

.swatch-hero, .modal-orb-wrap { display: grid; justify-items: center; gap: 0.4rem; margin-top: 0.3rem; }

.swatch-hero i,
.modal-orb {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.85), transparent 18%),
    radial-gradient(circle, var(--swatch, var(--aura, #e4c88a)) 0 46%, #1a1328 78%);
  box-shadow: 0 0 28px color-mix(in srgb, var(--swatch, var(--aura, #e4c88a)) 55%, transparent);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.pillar {
  text-align: center;
  padding: 0.55rem 0.2rem 0.45rem;
  border-radius: 14px;
  border: 1px solid rgba(228, 200, 138, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.pillar-char {
  display: block;
  margin: 0.15rem 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #f8efd4;
}

.pillar-label, .pillar-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
}

.bars { display: grid; gap: 0.38rem; margin-top: 0.8rem; }

.bar {
  display: grid;
  grid-template-columns: minmax(3.2rem, auto) 1fr auto;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.78rem;
}

.bar-track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a6a32, #f8efd4);
  transition: width 0.8s ease;
}

.bar.is-hot .bar-fill {
  background: linear-gradient(90deg, #f3e2b8, #fff6dd);
}

.steps {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.steps li::marker { color: var(--gold); }

.stat-row {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(228, 200, 138, 0.16);
}

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

.stat-value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-align: right;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.modal-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.modal-actions .btn { margin-top: 0; flex: 1; }

@keyframes foil { to { background-position: 220% 0; } }

@keyframes nod { 50% { transform: translateY(4px); } }

@keyframes shake {
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

@media (max-width: 380px) {
  .brand { letter-spacing: 0.14em; font-size: 0.72rem; }
  .lang-btn { padding-inline: 0.55rem; }
  .modal-actions { flex-direction: column; }
}

@media (min-width: 860px) {
  .card {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding: 2rem 2rem 1.7rem;
    align-items: center;
  }

  #aura .card { grid-template-columns: 0.8fr 1.2fr; }
}

@media (min-width: 960px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 3rem;
    align-items: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-grid h1,
  .wheel-col,
  .sub,
  .today,
  .jumps { order: 0; }
}

@media (min-width: 1100px) {
  .spine {
    display: flex;
    position: fixed;
    z-index: 7;
    left: 0;
    top: 0;
    bottom: 0;
    width: 46px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(228, 200, 138, 0.22);
    background: rgba(7, 6, 13, 0.4);
  }

  .spine span {
    writing-mode: vertical-rl;
    letter-spacing: 0.42em;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--gold);
  }

  body { padding-left: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .wheel-rotor { transition-duration: 0.25s !important; }
}
