/* PROSPER — ice-royal flagship theme.
   VerzaTrade-grade motion & light, translated to ice blue / silver on deep black
   (see MOTION-STUDY.md): scroll-rotating stellar ring, floating particles, events
   ticker, scanline light sweeps, solid + hollow display type, section headings
   over a larger outline duplicate, sticky blurred header, steady glows.
   Palette: deep black, silver, white, pale ice blue, sapphire. Minimal, lit, calm. */
:root {
  --bg: #05070b;
  --bg-soft: #0a0f16;
  --panel: rgba(13, 20, 31, 0.78);
  --panel-solid: #0d1420;
  --line: rgba(174, 230, 255, 0.18);
  --line-soft: rgba(174, 230, 255, 0.1);
  --text: #eef4fb;
  --muted: #9db8cc;
  --faint: #5f7a8f;
  --ice: #aee6ff;
  --ice-soft: #eaf7ff;
  --ice-mid: #4fc3ff;
  --sapphire: #3d7dc4;
  --sapphire-deep: #2b5ea8;
  --silver: #c9d3df;
  --live: #ff5c7a;
  --full: #ffc24f;
  --done: #8fa6b8;
  --ok: #7fd6a4;
  --err: #ff9d9d;
  --glow: 0 0 32px rgba(140, 210, 255, 0.35);
  --glow-soft: 0 0 22px rgba(110, 180, 255, 0.22);
  --radius: 18px;
  --font-display: "Cinzel", "Playfair Display", Didot, Georgia, serif;
  --font-ui: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(61, 125, 196, 0.16), transparent 62%),
    radial-gradient(800px 560px at -12% 34%, rgba(174, 230, 255, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font-ui);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.015em; margin: 0; }
a { color: var(--ice); }
::selection { background: rgba(79, 195, 255, 0.35); color: #fff; }

/* ---------- Sticky blurred header ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 8, 13, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%;
  border: 1px solid var(--line); box-shadow: var(--glow-soft);
}
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.22rem; letter-spacing: 0.34em; }
.nav-links { display: flex; gap: 1.15rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--silver); text-decoration: none; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.2s ease, text-shadow 0.2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ice-soft); text-shadow: 0 0 14px rgba(174, 230, 255, 0.55); }
.nav-cta { border: 1px solid var(--line); padding: 0.42rem 0.95rem; border-radius: 999px; box-shadow: inset 0 0 12px rgba(174, 230, 255, 0.06); }
.nav-cta:hover { border-color: var(--ice); box-shadow: var(--glow-soft); }
.sound-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid var(--line-soft); color: var(--ice);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sound-toggle:hover { border-color: var(--ice); box-shadow: var(--glow-soft); }
.sound-toggle .ic-off { display: none; }
.sound-toggle[aria-pressed="false"] { color: var(--faint); }
.sound-toggle[aria-pressed="false"] .ic-on { display: none; }
.sound-toggle[aria-pressed="false"] .ic-off { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 94vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.88; z-index: -3; }
/* The approved still image stays EXACTLY as-is. Over it sits only a soft
   ring of light that travels slowly around the black hole's ring — minimal
   movement, one slow revolution per 90 seconds, looping forever. The planet
   and everything else in the image never move. */
.hero-ringlight {
  position: absolute; z-index: -2; pointer-events: none;
  left: 15.5%; top: 31%; width: 37vmin; height: 37vmin;
  transform: translate(-50%, -50%) rotateX(56deg);
  transform-style: preserve-3d; mix-blend-mode: screen; opacity: 0.65;
}
.hero-ringlight i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(185, 232, 255, 0.5) 42deg, transparent 96deg, transparent 178deg, rgba(140, 200, 255, 0.28) 218deg, transparent 262deg);
  -webkit-mask: radial-gradient(closest-side, transparent 60%, #000 75%, #000 88%, transparent 99%);
  mask: radial-gradient(closest-side, transparent 60%, #000 75%, #000 88%, transparent 99%);
  animation: ringspin 90s linear infinite;
}
@keyframes ringspin { to { transform: rotate(360deg); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 30% 45%, transparent 26%, rgba(3, 5, 9, 0.9) 80%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.35) 0%, transparent 30%, transparent 62%, var(--bg) 100%);
}
/* Light bloom breathing around the Black Hole */
.hero-bloom {
  position: absolute; z-index: -1; width: 62vmax; height: 62vmax; border-radius: 50%;
  right: -14vmax; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(140, 205, 255, 0.28) 0%, rgba(79, 195, 255, 0.12) 38%, transparent 66%);
  filter: blur(12px); animation: bloom 7s ease-in-out infinite; pointer-events: none;
}
@keyframes bloom { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.hero-inner { position: relative; z-index: 3; padding: 5rem 6vw 6rem; max-width: 960px; }
.eyebrow {
  color: var(--ice); letter-spacing: 0.42em; font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; margin: 0 0 1.1rem; text-shadow: 0 0 16px rgba(174, 230, 255, 0.5);
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7.2rem); line-height: 0.98; font-weight: 900;
  text-transform: uppercase; margin: 0 0 1.2rem; text-wrap: balance;
  text-shadow: 0 6px 44px rgba(0, 0, 0, 0.65);
}
.hero h1 .hollow { color: transparent; -webkit-text-stroke: 2px #cfe6ff; text-shadow: none; }
.hero-sub { color: #dbe9ff; max-width: 34rem; font-size: 1.13rem; line-height: 1.6; margin: 0 0 1.9rem; }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-tagline { color: var(--muted); font-style: italic; margin: 1.3rem 0 0; min-height: 1.2em; }
.ringwrap {
  position: absolute; right: 3.5vw; top: 50%; z-index: 2;
  width: min(33vw, 430px); aspect-ratio: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 46px rgba(110, 180, 255, 0.4));
  pointer-events: none; will-change: transform;
}
.ringwrap video { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.dot { position: absolute; border-radius: 50%; background: #a8d6ff; opacity: 0.7; box-shadow: 0 0 8px rgba(168, 214, 255, 0.9); animation: float 7s ease-in-out infinite; pointer-events: none; z-index: 1; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; opacity: 0.75; }
.hero-scroll span { display: block; width: 1px; height: 46px; background: linear-gradient(180deg, transparent, var(--ice)); animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0.3); transform-origin: top; opacity: 0.2; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0.3); transform-origin: bottom; opacity: 0.2; } }

/* Stats — lit glass strip over the art */
.stats { display: flex; gap: clamp(1.6rem, 4vw, 3rem); flex-wrap: wrap; margin: 2.6rem 0 0; padding: 1.1rem 1.4rem; background: rgba(6, 10, 17, 0.55); border: 1px solid var(--line-soft); border-radius: var(--radius); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); width: fit-content; max-width: 100%; }
.stats div { margin: 0; }
.stats dt { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--ice-soft); text-shadow: 0 0 18px rgba(174, 230, 255, 0.45); }
.stats dd { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; }

/* ---------- Buttons — glowing edges, brighter press flash ---------- */
.btn {
  display: inline-block; border-radius: 999px; padding: 0.72rem 1.5rem;
  font: 600 0.92rem/1.2 var(--font-ui); letter-spacing: 0.06em; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line); background: rgba(10, 16, 26, 0.5); color: var(--text);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease, filter 0.18s ease, background 0.18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #cfeaff, #9fd2ff); border-color: rgba(234, 247, 255, 0.85); color: #06121f;
  box-shadow: 0 0 24px rgba(140, 210, 255, 0.4), inset 0 0 14px rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 38px rgba(140, 210, 255, 0.65), inset 0 0 16px rgba(255, 255, 255, 0.45); filter: brightness(1.05); }
.btn-ghost { box-shadow: inset 0 0 14px rgba(174, 230, 255, 0.05); }
.btn-ghost:hover { border-color: var(--ice); color: var(--ice-soft); box-shadow: var(--glow-soft), inset 0 0 14px rgba(174, 230, 255, 0.1); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary:active { box-shadow: 0 0 54px rgba(190, 230, 255, 0.95), inset 0 0 22px rgba(255, 255, 255, 0.65); filter: brightness(1.18); }
.btn-ghost:active { box-shadow: 0 0 34px rgba(140, 210, 255, 0.55); }

/* ---------- Ticker ---------- */
.ticker { background: #02040a; border-top: 1px solid rgba(140, 190, 255, 0.25); border-bottom: 1px solid rgba(140, 190, 255, 0.25); overflow: hidden; white-space: nowrap; padding: 0.65rem 0; box-shadow: inset 0 0 30px rgba(79, 195, 255, 0.06); }
.ticker-track { display: inline-block; color: var(--ice); letter-spacing: 0.26em; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; animation: tick 36s linear infinite; will-change: transform; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.notice { max-width: 1180px; margin: 0 auto; padding: 0.6rem clamp(1rem, 5vw, 3rem) 0; color: var(--full); min-height: 1.2em; }
.notice:empty { min-height: 0; padding-top: 0; }

/* ---------- Sections & headings ---------- */
.section { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(3.2rem, 7vw, 5.2rem) clamp(1rem, 5vw, 3rem); }
.bighead { position: relative; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-top: 1.6em; margin-bottom: 1.8rem; }
.bighead .ghost-h {
  position: absolute; left: 2px; top: -0.18em; z-index: 0;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: clamp(3rem, 8.5vw, 6.8rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(150, 200, 255, 0.26); pointer-events: none;
}
.bighead .section-index { position: relative; z-index: 1; font-weight: 800; font-size: 0.95rem; color: var(--ice-mid); letter-spacing: 0.2em; margin: 0; text-shadow: 0 0 12px rgba(79, 195, 255, 0.6); }
.bighead h2 { position: relative; z-index: 1; font-size: clamp(2rem, 4.6vw, 3.3rem); text-transform: uppercase; }
.bighead .filters { position: relative; z-index: 1; margin-left: auto; }
.section-more { margin-top: 1.6rem; }
.filters { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: rgba(10, 16, 26, 0.45); color: var(--muted);
  border-radius: 999px; padding: 0.38rem 0.9rem; cursor: pointer; font: 600 0.82rem var(--font-ui); letter-spacing: 0.05em;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.chip:hover { color: var(--ice-soft); border-color: var(--ice); }
.chip.is-active { color: #06121f; background: linear-gradient(180deg, #d8f1ff, #a8d8ff); border-color: transparent; box-shadow: 0 0 18px rgba(140, 210, 255, 0.45); }

/* Scroll reveal — applied only when JS runs, so no-JS still shows everything */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.1rem; }
.cards-small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  position: relative; overflow: hidden;
  /* Frosty glass: translucent ice panes over the dark art, blurred backdrop,
     lit rim and a soft inner glow (owner: "frosty glass + illumination"). */
  background: linear-gradient(160deg, rgba(196, 228, 255, 0.13), rgba(140, 180, 235, 0.05) 42%, rgba(10, 16, 26, 0.38));
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(190, 226, 255, 0.28); border-radius: var(--radius); padding: 1.25rem 1.3rem;
  box-shadow: inset 0 1px 0 rgba(235, 248, 255, 0.35), inset 0 0 26px rgba(140, 195, 255, 0.07), 0 12px 34px rgba(0, 0, 0, 0.42);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 243, 255, 0.9), transparent); opacity: 0.9;
}
.card:hover {
  border-color: rgba(190, 232, 255, 0.65);
  background: linear-gradient(160deg, rgba(205, 235, 255, 0.19), rgba(150, 190, 240, 0.08) 42%, rgba(12, 20, 34, 0.34));
  box-shadow: inset 0 1px 0 rgba(240, 250, 255, 0.5), inset 0 0 34px rgba(150, 205, 255, 0.13), 0 16px 46px rgba(0, 0, 0, 0.5), 0 0 26px rgba(120, 190, 255, 0.22);
  transform: translateY(-3px);
}
.card h3 { margin: 0.45rem 0 0.45rem; font-size: 1.28rem; font-family: var(--font-ui); font-weight: 800; letter-spacing: 0.01em; }
.card p { margin: 0.3rem 0; color: var(--muted); }
.card .meta { display: flex; gap: 0.95rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--silver); }
.card .starts { color: var(--ice); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.04em; margin-top: 0.55rem; text-shadow: 0 0 12px rgba(174, 230, 255, 0.35); }
.pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.22rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill-live { color: #fff; background: var(--live); border-color: transparent; box-shadow: 0 0 16px rgba(255, 92, 122, 0.55); }
.pill-open { color: var(--ice-soft); border-color: var(--ice-mid); box-shadow: inset 0 0 10px rgba(79, 195, 255, 0.18); }
.pill-full { color: var(--full); border-color: var(--full); }
.pill-done { color: var(--done); }
.pill-cancelled { color: var(--live); text-decoration: line-through; }
.progress { height: 5px; background: rgba(174, 230, 255, 0.12); border-radius: 999px; margin-top: 0.8rem; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sapphire), var(--ice)); border-radius: 999px; box-shadow: 0 0 10px rgba(140, 210, 255, 0.55); }
.slots { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.prize { color: var(--ice-soft); font-weight: 700; }
.empty { color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.3rem; grid-column: 1 / -1; background: rgba(10, 16, 26, 0.4); }

/* Section art accents — used with moderation */
.section-art-img {
  position: absolute; right: -30px; top: 8px; width: 190px; opacity: 0.5; z-index: 0;
  filter: drop-shadow(0 0 26px rgba(110, 180, 255, 0.35)); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 78%); mask-image: radial-gradient(circle, #000 55%, transparent 78%);
}
.section-art .cards, .section-art .bighead { position: relative; z-index: 1; }
/* Chain of light: a beam of light travels along the chain, on a loop
   (owner request). The frame carries the border/shadow; the beam blends
   in screen mode so only the light shows over the art. */
.split-art-frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-soft); }
.split-art-frame .split-art { border: none; box-shadow: none; border-radius: 0; }
/* The chain runs diagonally (bottom-left to top-right). The light layer is
   rotated onto that same diagonal and a soft band of light drifts along it
   very slowly, so the light appears to flow THROUGH the links in a loop.
   A faint brightness swell on the image itself is synced to the same 16s. */
.chain-light {
  position: absolute; inset: -35% -15%; pointer-events: none;
  mix-blend-mode: screen;
  transform: rotate(-27deg);
  background: linear-gradient(90deg, transparent 38%, rgba(165, 222, 255, 0.16) 46%, rgba(215, 242, 255, 0.34) 50%, rgba(165, 222, 255, 0.16) 54%, transparent 62%);
  background-size: 280% 100%;
  background-position: 115% 0;
  animation: chainFlow 16s ease-in-out infinite;
}
@keyframes chainFlow {
  0% { background-position: 115% 0; }
  55%, 100% { background-position: -15% 0; }
}
.chain-frame .split-art { animation: chainPulse 16s ease-in-out infinite; }
@keyframes chainPulse {
  0%, 100% { filter: brightness(1); }
  42% { filter: brightness(1.13); }
}
.split { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(1.2rem, 4vw, 2.6rem); align-items: center; }
.split-art { width: 100%; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-soft); display: block; }
.empty-state {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.7rem 1.8rem;
  background: linear-gradient(180deg, rgba(20, 30, 47, 0.6), rgba(10, 15, 24, 0.7));
}
.empty-state h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--muted); max-width: 36rem; margin: 0 0 1.1rem; }

/* ---------- Organize band (account) ---------- */
.section-band { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.section-band .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.section-band .band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 7, 11, 0.55) 22%, rgba(5, 7, 11, 0.62) 78%, var(--bg) 100%); }
.section-band .band-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }
.organize-head { display: flex; gap: 1.4rem; align-items: center; margin-bottom: 1.6rem; flex-wrap: wrap; }
.organize-emblem { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; border: 1px solid var(--line); box-shadow: var(--glow); }
.organize-intro { color: #d7e6f5; font-size: 1.05rem; line-height: 1.6; max-width: 40rem; margin: 0; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.1rem; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.35rem 1.4rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45); }
.panel h3 { margin-top: 0; font-size: 1.3rem; }
.panel h4 { margin: 1.1rem 0 0.4rem; font-family: var(--font-ui); }
.muted { color: var(--muted); }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }
.tabs { display: flex; gap: 0.45rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 0.42rem 0.9rem; cursor: pointer; font: 600 0.88rem var(--font-ui); transition: box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.tab:hover { color: var(--ice-soft); border-color: var(--ice); }
.tab.is-active { color: #06121f; background: linear-gradient(180deg, #d8f1ff, #a8d8ff); border-color: transparent; box-shadow: 0 0 16px rgba(140, 210, 255, 0.4); }
label { display: block; margin: 0.75rem 0; color: var(--silver); font-size: 0.92rem; }
input {
  display: block; width: 100%; margin-top: 0.32rem; padding: 0.6rem 0.75rem;
  background: rgba(6, 10, 17, 0.75); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  font: 400 0.95rem var(--font-ui); transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus { outline: none; border-color: var(--ice-mid); box-shadow: 0 0 0 3px rgba(79, 195, 255, 0.22), var(--glow-soft); }
.form-msg { min-height: 1.3em; color: var(--ice-soft); }
.form-msg.error { color: var(--err); }
.codes { columns: 2; padding-left: 1.2rem; }
.codes li { font-family: ui-monospace, "SF Mono", Menlo, monospace; margin: 0.2rem 0; }
.mfa-box { border-top: 1px solid var(--line-soft); margin-top: 1.1rem; padding-top: 0.4rem; }

/* ---------- Tournaments page hero ---------- */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; z-index: -2; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 11, 0.5) 0%, transparent 40%, var(--bg) 98%), radial-gradient(ellipse at 24% 80%, transparent 20%, rgba(3, 5, 9, 0.55) 85%); }
.page-hero-inner { position: relative; z-index: 1; padding: 6.5rem 6vw 3rem; max-width: 900px; }
.page-hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); font-weight: 900; text-transform: uppercase; line-height: 0.98; margin: 0 0 0.9rem; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.65); }
.page-hero h1 .hollow { color: transparent; -webkit-text-stroke: 2px #cfe6ff; }
.page-hero-sub { color: #dbe9ff; font-size: 1.08rem; max-width: 34rem; margin: 0; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); color: var(--muted); text-align: center; padding: 2rem 1rem 2.6rem; font-size: 0.92rem; background: linear-gradient(180deg, transparent, rgba(61, 125, 196, 0.07)); }
.footer p { margin: 0.25rem 0; }
.footer-fine { font-size: 0.8rem; color: var(--faint); letter-spacing: 0.06em; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .ringwrap { width: min(40vw, 340px); right: 1vw; opacity: 0.85; }
}
@media (max-width: 760px) {
  .hero { min-height: 88vh; }
  .hero-inner { padding: 3.4rem 6vw 4.5rem; }
  .ringwrap { position: relative; right: auto; top: auto; transform: none; width: min(62vw, 300px); margin: -1rem auto 2.2rem; }
  .hero { flex-direction: column; align-items: stretch; justify-content: center; }
  .hero-scroll { display: none; }
  .split { grid-template-columns: 1fr; }
  .section-art-img { width: 130px; opacity: 0.35; }
  .stats { gap: 1.3rem; padding: 0.95rem 1.1rem; }
  .stats dt { font-size: 1.55rem; }
  .nav-links { gap: 0.8rem; }
  .nav-links a { font-size: 0.74rem; letter-spacing: 0.12em; }
  .brand-name { letter-spacing: 0.22em; }
  .organize-emblem { width: 92px; height: 92px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .dot, .hero-bloom, .hero-scroll span, .chain-light, .chain-frame .split-art, .hero-ringlight i { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}

/* Event cards link to the public event page (Phase 3) */
a.event-card { display: block; text-decoration: none; color: inherit; }
