/* ============================================================
   Guild Save · home page (v3 build, same system as banreports.ws)
   Silver vault, black, the horizon. Effects in /js/home-fx.js.
   ============================================================ */

:root {
  --bg: #07080a;
  --bg-2: #0c0d10;
  --surface: #121318;
  --surface-2: #181a20;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --fg: #f4f5f7;
  --fg-2: #c9ccd3;
  --muted: #868a95;
  --dim: #4b4e58;
  --silver: linear-gradient(180deg, #ffffff 0%, #dfe2e7 45%, #8d919c 100%);
  --hit: #e8a56b;
  --hit-soft: rgba(232,165,107,0.12);
  --ok: #4ec9a0;
  --err: #ff6b7a;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* "hidden" always wins, even over components that set their own display */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--fg-2);
  font: 400 15px/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--fg); letter-spacing: -0.03em; }
::selection { background: #e6e8ec; color: #07080a; }
:focus-visible { outline: 2px solid #e6e8ec; outline-offset: 3px; border-radius: 4px; }

.v3-wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 32px; }
@media (max-width: 760px) { .v3-wrap { padding-inline: 16px; } }
.v3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Silver text */
.v3-silver {
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Live chip */
.v3-live {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.v3-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(78,201,160,.6);
  animation: v3-pulse 2s infinite;
}
@keyframes v3-pulse {
  70% { box-shadow: 0 0 0 7px rgba(78,201,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,201,160,0); }
}

/* Scroll progress */
.v3-progress {
  position: fixed; left: 0; top: 0; z-index: 80;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #8d919c, #fff);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* ============================================================
   OPENING (once per visit)
   ============================================================ */

.v3-seq {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: var(--bg);
  text-align: center;
  cursor: pointer;
  transition: opacity .45s ease, visibility .45s;
}
html:not(.js) .v3-seq, html.v3-noseq .v3-seq { display: none; }
html.v3-ready .v3-seq { opacity: 0; visibility: hidden; pointer-events: none; }
html.js:not(.v3-noseq):not(.v3-ready) body { overflow: hidden; }

.v3-seq-label {
  font: 500 11.5px/1 var(--f-mono);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.v3-seq-id {
  font: 600 clamp(20px, 3.4vw, 30px)/1 var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--fg);
}
.v3-seq-line {
  position: relative; display: block;
  width: min(420px, 70vw); height: 1px;
  margin-top: 8px;
  background: var(--line-2);
  overflow: hidden;
}
.v3-seq-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #8d919c, #fff);
  box-shadow: 0 0 14px rgba(255,255,255,.6);
  transform: scaleX(0); transform-origin: 0 50%;
  animation: v3-seq-fill 1.3s .2s var(--ease) forwards;
}
.v3-seq-stamp {
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--hit);
  border-radius: 6px;
  color: var(--hit);
  font: 800 14px/1 var(--f-mono);
  letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0;
  transform: scale(1.6) rotate(-8deg);
  animation: v3-stamp .35s 1.55s cubic-bezier(.3, 1.6, .5, 1) forwards;
}
.v3-seq-skip {
  position: absolute; bottom: 32px;
  font-size: 11.5px; color: var(--dim); letter-spacing: 0.08em;
}
@keyframes v3-seq-fill { to { transform: scaleX(1); } }
@keyframes v3-stamp { to { opacity: 1; transform: scale(1) rotate(-4deg); } }

/* Things that land after the opening */
html.js .v3-land { opacity: 0; transform: translateY(16px); }
html.v3-ready .v3-land { animation: v3-land .9s var(--d, 0s) var(--ease-out) forwards; }
@keyframes v3-land { to { opacity: 1; transform: none; } }

/* ============================================================
   HEADER
   ============================================================ */

/* No divider lines anywhere: sections are separated by space and soft light only */

.v3-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,8,10,0);
  transition: background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
/* The bar only turns to glass once the page scrolls under it. The glass fades out at its
   bottom edge (mask) so there's no hard line or shadow between header and content. */
.v3-head.is-stuck {
  background: rgba(7,8,10,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, #000 86%, transparent);
}
/* Notice: one calm line, sans, centred. No band and no rule — it sits straight on the page
   background so there is no edge/line between the header and the hero. */
.v3-notice {
  position: relative;
  font: 500 12.5px/1 var(--f-sans);
  color: var(--muted);
}
.v3-notice .v3-wrap {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px 12px;
  padding-block: 9px;
}
.v3-notice b { color: var(--fg-2); font-weight: 600; }
.v3-notice-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }
.v3-notice-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  color: var(--fg); font-weight: 600;
}
.v3-notice-link i { font-style: normal; transition: transform .2s var(--ease); }
.v3-notice-link:hover i { transform: translateX(3px); }
@media (max-width: 560px) { .v3-notice-dot, .v3-notice .v3-wrap > span:nth-child(3) { display: none; } }

.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
/* Home: logo · links centred · right cluster, each side the same width so the links stay centred */
.header-inner.is-home { display: grid; grid-template-columns: 1fr auto 1fr; }
.header-inner.is-home .v3-nav { margin-left: 0; }
.v3-head-right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.v3-head-login {
  padding: 10px 12px; border-radius: 4px;
  font-size: 14px; color: var(--muted);
  transition: color .15s, background .15s;
}
.v3-head-login:hover { color: var(--fg); background: rgba(255,255,255,.04); }
.v3-head-right .v3-nav-cta { margin-left: 6px; }
@media (max-width: 1080px) { .header-inner.is-home .v3-nav { gap: 20px; } }
@media (max-width: 960px) {
  .header-inner.is-home { grid-template-columns: auto 1fr; }
  .header-inner.is-home .v3-nav { display: none; }
}
@media (max-width: 520px) { .v3-head-login { display: none; } }
.v3-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fg); font: 700 18px/1 var(--f-sans);
  letter-spacing: -0.02em;
}
.v3-brand img { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(255,255,255,0.12)); }
.v3-brand i { font-style: normal; color: var(--muted); font-weight: 400; }

.v3-nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
  font-size: 14px; color: var(--muted);
}
.v3-nav a { transition: color .15s; }
.v3-nav a:hover { color: var(--fg); }
.v3-nav-cta {
  padding: 11px 16px;
  font-size: 14px; white-space: nowrap;
  background: #eceef1; color: var(--bg) !important;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: background .15s !important;
}
.v3-nav-cta:hover { background: #fff; }

@media (max-width: 860px) {
  .v3-nav a:not(.v3-nav-cta) { display: none; }
  .v3-nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* Language menu */
.lang { position: relative; }
/* Quiet: no frame, just globe + code, a faint surface on hover */
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 10px;
  border: 0; border-radius: 4px;
  color: var(--muted);
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.08em;
  transition: color .15s, background .15s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--fg); background: rgba(255,255,255,.05); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 200px; padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.9);
  z-index: 70;
}
.lang-menu button {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 9px 12px; border-radius: 8px;
  color: var(--fg-2); font: 500 13.5px/1 var(--f-sans);
  transition: background .12s, color .12s;
}
.lang-menu button:hover { background: var(--surface-2); color: var(--fg); }
.lang-menu .lang-code { font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--dim); }
.lang-menu button[aria-checked="true"] { background: rgba(255,255,255,.06); color: var(--fg); }

/* ============================================================
   HERO
   ============================================================ */

.v3-hero {
  position: relative;
  min-height: calc(100svh - 104px);
  display: flex; align-items: center;
  padding: 56px 0 140px;
  overflow: hidden;
  isolation: isolate;
  --mx: 50%; --my: 40%;
}
/* The horizon: no arc, no edge. Just soft silver light rising from below
   and fading out on every side, so the hero melts into the next section. */
.v3-horizon {
  position: absolute; z-index: -3;
  inset: 0;
  pointer-events: none;
  /* brightest well above the bottom, fully faded out before the section ends */
  background:
    radial-gradient(55% 32% at 50% 72%, rgba(220,225,235,.07), transparent 100%),
    radial-gradient(30% 18% at 50% 74%, rgba(235,238,245,.05), transparent 100%);
}
/* The last stretch of the hero is always pure page black, so the band below joins seamlessly */
.v3-hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: 220px;
  background: linear-gradient(180deg, rgba(7,8,10,0), var(--bg) 80%);
  pointer-events: none;
}

/* The wall of snapshot ids, with the scan line (canvas, js/home-fx.js) */
.v3-atmo {
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none;
  /* strongest around the vault and headline, gone before the field and the numbers */
  -webkit-mask-image: radial-gradient(65% 42% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(65% 42% at 50% 30%, #000 10%, transparent 75%);
}
.v3-scan { display: block; width: 100%; height: 100%; opacity: .9; }

.v3-pointer-light {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.07), transparent 65%);
}
.v3-flash {
  position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
  background: radial-gradient(60% 50% at 50% 35%, rgba(255,255,255,.18), transparent 70%);
  opacity: 0;
}
html.v3-ready:not(.v3-noseq) .v3-flash { animation: v3-flash .9s .05s ease-out; }
@keyframes v3-flash { 0% { opacity: 1; } 100% { opacity: 0; } }

.v3-hero-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 26px;
}

/* The vault on top */
.v3-hero-icon { width: clamp(150px, 19vw, 230px); perspective: 900px; margin-bottom: -6px; }
html.js .v3-hero-icon { opacity: 0; transform: translateY(-40px) scale(.9); }
html.v3-ready .v3-hero-icon { animation: v3-icon-land 1.1s var(--ease-out) forwards; }
@keyframes v3-icon-land { to { opacity: 1; transform: none; } }
.v3-float { animation: v3-float 7s ease-in-out infinite; }
@keyframes v3-float { 50% { transform: translateY(-12px); } }
.v3-tilt {
  width: 100%;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform .4s var(--ease);
  filter:
    drop-shadow(0 30px 50px rgba(0,0,0,.7))
    drop-shadow(0 0 40px rgba(220,225,235,.12));
}

.v3-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--f-mono);
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--muted);
}
.v3-kicker::before, .v3-kicker::after {
  content: ""; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--muted));
}
.v3-kicker::after { transform: scaleX(-1); }

.v3-title {
  font: 800 clamp(40px, 6.4vw, 88px)/0.96 var(--f-sans);
  letter-spacing: -0.05em;
  color: var(--fg);
  text-wrap: balance;
}
/* German/French/Spanish/Portuguese are much longer than English and wrapped to three
   oversized lines — give every non-English headline a smaller cap so it stays balanced. */
html:not([lang="en"]) .v3-title { font-size: clamp(34px, 5vw, 70px); }
.v3-title > span { display: block; overflow: hidden; padding: 0 .04em .06em; }
.v3-title > span > span { display: inline-block; }
html.js .v3-title > span { opacity: 0; transform: translateY(40%); }
html.v3-ready .v3-title > span { animation: v3-land 1s var(--ease-out) forwards; }
html.v3-ready .v3-title > span:nth-child(1) { animation-delay: .25s; }
html.v3-ready .v3-title > span:nth-child(2) { animation-delay: .38s; }

/* Supporting line under the headline: one calm sentence that leads into the CTA */
.v3-sub {
  max-width: 48ch;
  margin: 2px auto 2px;
  font: 400 clamp(16px, 1.35vw, 19px)/1.5 var(--f-sans);
  letter-spacing: -0.01em;
  color: var(--fg-2);
  text-wrap: balance;
}

/* The server ID field */
.v3-check { width: min(620px, 100%); margin-top: 10px; }
.v3-check-row {
  position: relative;
  display: flex; align-items: center;
  padding: 6px;
  background: rgba(14,15,19,.78);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px -30px rgba(0,0,0,.9);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.v3-check-row:focus-within { border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 4px rgba(255,255,255,.05), 0 30px 70px -30px rgba(0,0,0,.9); }
.v3-check-prefix {
  padding: 0 10px 0 16px;
  font: 600 12px/1 var(--f-mono); letter-spacing: 0.16em;
  color: var(--dim);
}
.v3-check input {
  flex: 1; min-width: 0;
  padding: 16px 8px;
  background: none; border: 0; outline: none;
  color: var(--fg); font: 500 16px/1.2 var(--f-mono);
  letter-spacing: 0.02em;
}
.v3-check input::placeholder { color: var(--dim); }
.v3-check-button {
  display: inline-flex; align-items: stretch;
  flex-shrink: 0;
  height: 52px;
  padding-left: 22px;
  background: #eceef1;
  color: #07080a;
  border-radius: 3px;
  font: 700 15px/52px var(--f-sans);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  transition: background .15s;
}
.v3-check-button > span[aria-hidden] {
  display: grid; place-items: center;
  width: 46px; margin-left: 16px;
  background: rgba(0,0,0,.08);
}
.v3-check-button:hover { background: #fff; }
.v3-check-button:hover > span[aria-hidden] { animation: v3-nudge .45s var(--ease); }
.v3-check-button:active { transform: translateY(1px); }

/* The demo in the empty field */
.v3-demo {
  position: absolute; left: 48px; top: 50%;
  transform: translateY(-50%);
  display: none; align-items: center;
  font: 500 16px/1 var(--f-mono); letter-spacing: 0.02em;
  color: var(--fg-2);
  pointer-events: none;
}
.v3-check.is-demo .v3-demo { display: inline-flex; }
.v3-check.is-demo input::placeholder { color: transparent; }
.v3-caret { width: 2px; height: 1.1em; margin-left: 2px; background: var(--fg); animation: v3-caret 1s steps(1) infinite; }
@keyframes v3-caret { 50% { opacity: 0; } }
.v3-check.is-sealed .v3-demo-text { color: var(--hit); }
.v3-sweep {
  position: absolute; top: 0; bottom: 0; left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  pointer-events: none;
  opacity: 0;
}
.v3-check.is-scanning .v3-sweep { animation: v3-sweep .9s ease-in-out; }
@keyframes v3-sweep { 0% { opacity: 1; left: -30%; } 100% { opacity: 1; left: 100%; } }

.v3-check-meta {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-top: 12px;
  text-align: left;
  font-size: 13px; color: var(--muted);
}
.v3-check-help summary {
  cursor: pointer; list-style: none;
  color: var(--fg-2);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2);
}
.v3-check-help summary::-webkit-details-marker { display: none; }
.v3-check-help[open] summary { color: var(--fg); }
.v3-check-help ol {
  margin-top: 10px; padding-left: 18px;
  list-style: decimal;
  display: grid; gap: 4px;
}
.v3-check-help p { margin-top: 8px; color: var(--dim); }

@media (max-width: 600px) {
  .v3-check-row { flex-wrap: wrap; }
  .v3-check input { width: calc(100% - 48px); }
  .v3-check-button { width: 100%; justify-content: space-between; }
  .v3-demo { top: 30px; }
  .v3-check-meta { flex-direction: column; gap: 8px; }
}

/* Live numbers */
/* Live numbers: four equal cells, number over label, soft dividers */
.v3-counts {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(880px, 100%);
  margin-top: 44px;
  padding-top: 36px;
}
.v3-counts-live {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
}
.v3-counts > div:not(.v3-counts-live) {
  position: relative;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 8px;
  padding: 0 12px;
}
.v3-counts dd {
  font: 700 clamp(26px, 3vw, 38px)/1 var(--f-sans);
  letter-spacing: -0.035em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.v3-counts dt {
  font: 500 11px/1.3 var(--f-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.v3-counts .is-hit dd { color: var(--hit); }
@media (max-width: 640px) {
  .v3-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

/* ============================================================
   BAND (outlined words running by)
   ============================================================ */

.v3-partner {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0;
  /* A soft glow in the middle, no edges: same black at top and bottom */
  background: radial-gradient(60% 70% at 50% 50%, rgba(255,255,255,.035), transparent 75%);
  overflow: hidden;
  isolation: isolate;
}
.v3-partner-run {
  position: absolute; z-index: -1;
  left: 0; top: 50%;
  display: flex; width: max-content;
  translate: 0 -50%;
  white-space: nowrap;
  font: 800 clamp(72px, 10vw, 150px)/1 var(--f-sans);
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  animation: v3-run 60s linear infinite;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.v3-partner-run > span { padding-right: .6em; }
@keyframes v3-run { to { transform: translateX(-50%); } }

.v3-partner-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px clamp(24px, 4vw, 56px);
}
.v3-partner-left { display: flex; flex-direction: column; gap: 10px; }
.v3-partner-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11.5px/1 var(--f-mono);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.v3-partner-name {
  font: 800 clamp(30px, 4.2vw, 54px)/0.95 var(--f-sans);
  letter-spacing: -0.04em;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.v3-partner-text { font-size: 16px; color: var(--fg-2); max-width: 46ch; }
.v3-partner-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--fg); font: 600 15px/1 var(--f-sans);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.v3-partner-btn i { font-style: normal; transition: transform .25s var(--ease); }
.v3-partner-inner:hover .v3-partner-btn { background: var(--surface); border-color: rgba(255,255,255,.35); }
.v3-partner-inner:hover .v3-partner-btn i { transform: translate(3px, -3px); }
@media (max-width: 860px) {
  .v3-partner-inner { grid-template-columns: 1fr; }
  .v3-partner-btn { justify-self: start; }
}

/* ============================================================
   SECTIONS
   ============================================================ */

.v3-section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }

.v3-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 40px;
  font: 600 12px/1 var(--f-mono);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-2);
}
.v3-label > span:first-child { color: var(--dim); }

.v3-h2 {
  font: 800 clamp(36px, 5.4vw, 72px)/0.98 var(--f-sans);
  letter-spacing: -0.045em;
  color: var(--fg);
  text-wrap: balance;
  margin-bottom: 32px;
}
.v3-text { font-size: 17px; color: var(--fg-2); max-width: 52ch; margin-bottom: 28px; }
.v3-small { font-size: 13px; color: var(--muted); }

.v3-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); font-weight: 600; font-size: 14.5px;
}
.v3-link span { transition: transform .2s var(--ease); }
.v3-link:hover span { transform: translateX(4px); }

.v3-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
/* Buttons: squared blocks, the arrow in its own darker cell that slides on hover */
.v3-btn {
  display: inline-flex; align-items: stretch;
  height: 50px;
  padding-left: 22px;
  background: #eceef1;
  color: #07080a;
  border-radius: 4px;
  font: 700 14.5px/50px var(--f-sans);
  letter-spacing: -0.005em;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 28px -16px rgba(255,255,255,.45);
  transition: background .15s, box-shadow .15s;
}
.v3-btn > span[aria-hidden] {
  display: grid; place-items: center;
  width: 50px; margin-left: 18px;
  background: rgba(0,0,0,.08);
  transition: background .2s;
}
.v3-btn:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 16px 34px -16px rgba(255,255,255,.6); }
.v3-btn:hover > span[aria-hidden] { background: rgba(0,0,0,.14); animation: v3-nudge .45s var(--ease); }
/* the arrow leaves to the right and comes back in from the left */
@keyframes v3-nudge {
  40% { padding-left: 28px; opacity: 0; }
  41% { padding-left: 0; padding-right: 28px; opacity: 0; }
  100% { padding-right: 0; opacity: 1; }
}
.v3-btn.is-ghost {
  background: rgba(255,255,255,.03); color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.v3-btn.is-ghost > span[aria-hidden] { background: rgba(255,255,255,.05); }
.v3-btn.is-ghost:hover { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* Fade-in when on screen */
.v3-wait { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out) var(--delay, 0s), transform .8s var(--ease-out) var(--delay, 0s); }
.v3-wait.is-in { opacity: 1; transform: none; }

/* 02 · three columns */
.v3-three {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.v3-three > li {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-top: 8px;
}
.v3-art { display: block; width: 240px; max-width: 100%; margin: 0 auto 20px; }
.v3-art img {
  width: 100%;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(220,225,235,.08));
  transition: transform .5s var(--ease);
}
.v3-three > li:hover .v3-art img { transform: translateY(-8px) rotate(-2deg); }
.v3-no { font: 600 12px/1 var(--f-mono); letter-spacing: 0.18em; color: var(--dim); margin-bottom: 14px; }
.v3-three h3 { font: 700 24px/1.15 var(--f-sans); letter-spacing: -0.025em; margin-bottom: 12px; }
.v3-three p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; max-width: 36ch; }
.v3-three .v3-link { margin-top: auto; }
@media (max-width: 860px) {
  .v3-three { grid-template-columns: 1fr; gap: 64px; }
  .v3-art { width: 180px; margin: 0 0 16px; }
}

/* 03 · rows */
.v3-games { display: grid; gap: 6px; }
.v3-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr 48px;
  align-items: center;
  gap: 24px;
  padding: 26px 20px;
  border-radius: 6px;
  isolation: isolate;
  transition: padding .35s var(--ease);
}
.v3-game::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,.05), transparent 85%);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.v3-game:hover { padding-left: 32px; }
/* Pro sits on a faint light of its own, so it stands out without a frame */
.v3-game.is-top::before { transform: scaleX(1); background: linear-gradient(90deg, rgba(232,165,107,.07), transparent 85%); }
.v3-game:hover::before { transform: scaleX(1); }
.v3-game-name {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px;
  font: 800 clamp(26px, 3.4vw, 42px)/1 var(--f-sans);
  letter-spacing: -0.04em;
  color: var(--fg);
}
.v3-game-price {
  font: 600 16px/1 var(--f-mono);
  letter-spacing: 0;
  color: var(--fg-2);
}
.v3-game-price small { font-size: 12px; color: var(--muted); }
.v3-game-meta { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.v3-game-meta b { color: var(--fg); font-weight: 600; }
.v3-game-meta .v3-live { margin-right: 10px; color: var(--hit); }
.v3-game-meta .v3-live::before { background: var(--hit); animation-name: v3-pulse-hit; }
@keyframes v3-pulse-hit {
  70% { box-shadow: 0 0 0 7px rgba(232,165,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,165,107,0); }
}
.v3-game-go {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--fg); font-size: 18px;
  transition: background .2s, color .2s, transform .3s var(--ease);
}
.v3-game:hover .v3-game-go { background: #eceef1; border-color: #eceef1; color: var(--bg); transform: translateX(4px); }
.v3-game.is-top .v3-game-name { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v3-game.is-top .v3-game-price { -webkit-text-fill-color: var(--hit); }
.v3-game.is-next .v3-game-name { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.45); }
.v3-plans-foot { margin-top: 24px; }
@media (max-width: 760px) {
  .v3-game { grid-template-columns: 1fr 44px; gap: 10px 16px; padding: 22px 16px; }
  .v3-game:hover { padding-left: 16px; }
  .v3-game-meta { grid-column: 1; grid-row: 2; }
  .v3-game-go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; }
}

/* 04 · account */
.v3-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.v3-versus { display: grid; gap: 14px; max-width: 460px; margin-bottom: 32px; }
.v3-versus-row {
  /* label, dots, number side by side: the number follows its dots */
  display: grid; grid-template-columns: 56px auto auto;
  justify-content: start;
  align-items: center; gap: 18px;
  font-size: 14px; color: var(--muted);
}
.v3-versus-row b { font: 700 28px/1 var(--f-sans); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.v3-versus-row.is-member { color: var(--fg); }
.v3-versus-row.is-member b { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 34px; }
.v3-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.v3-dots i {
  width: 14px; height: 14px; border-radius: 4px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.v3-versus-row.is-member .v3-dots i { background: linear-gradient(180deg, #fff, #9da1ab); box-shadow: 0 0 10px rgba(255,255,255,.2); }
.v3-versus.is-in .v3-dots i { animation: v3-dot .4s var(--ease-out) backwards; }
.v3-versus.is-in .v3-dots i:nth-child(2) { animation-delay: .05s; }
.v3-versus.is-in .v3-dots i:nth-child(3) { animation-delay: .1s; }
.v3-versus.is-in .v3-dots i:nth-child(4) { animation-delay: .15s; }
.v3-versus.is-in .v3-dots i:nth-child(5) { animation-delay: .2s; }
.v3-versus.is-in .v3-dots i:nth-child(6) { animation-delay: .25s; }
.v3-versus.is-in .v3-dots i:nth-child(7) { animation-delay: .3s; }
.v3-versus.is-in .v3-dots i:nth-child(8) { animation-delay: .35s; }
.v3-versus.is-in .v3-dots i:nth-child(9) { animation-delay: .4s; }
@keyframes v3-dot { from { opacity: 0; transform: scale(.3); } }

/* The vault in front, the key card tucked in behind it (up and to the right) */
.v3-members-art { position: relative; min-height: 460px; }
.v3-members-pic {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: 64%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.8)) drop-shadow(0 0 40px rgba(0,0,0,.6));
  animation: v3-float 8s ease-in-out infinite;
}
.v3-pass {
  position: absolute; right: 0; top: 4%; z-index: 1;
  width: min(340px, 72%);
  aspect-ratio: 1.58;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), transparent 40%),
    linear-gradient(145deg, #1c1e24, #0b0c10 65%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 0 0 1px rgba(255,255,255,.1),
    0 40px 80px rgba(0,0,0,.75);
  overflow: hidden;
  transform: rotate(-4deg);
}
.v3-pass.v3-wait { transform: rotate(-4deg) translateY(18px); }
.v3-pass.v3-wait.is-in { transform: rotate(-4deg); }
.v3-pass-top {
  display: flex; justify-content: space-between;
  font: 600 10.5px/1 var(--f-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.v3-pass-top span:first-child { color: var(--fg); }
.v3-pass-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.v3-pass-av {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(140deg, #f4f5f7, #8d919c);
  color: #07080a;
  font: 700 22px/1 var(--f-mono);
  overflow: hidden;
}
.v3-pass-av img { width: 100%; height: 100%; object-fit: cover; }
.v3-pass-name { font: 700 20px/1.1 var(--f-sans); color: var(--fg); letter-spacing: -0.01em; }
.v3-pass-code { margin-top: 5px; font: 500 13px/1 var(--f-mono); letter-spacing: 0.06em; color: var(--muted); }
.v3-pass-bars {
  position: absolute; left: 24px; right: 24px; bottom: 22px;
  height: 24px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 2px, transparent 2px 5px, rgba(255,255,255,.22) 5px 6px, transparent 6px 10px);
  opacity: .5;
}
.v3-pass-scan {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.1) 48%, transparent 60%);
  background-size: 250% 100%;
  animation: v3-sheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes v3-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@media (max-width: 860px) {
  .v3-split { grid-template-columns: 1fr; gap: 40px; }
  .v3-members-art { min-height: 340px; max-width: 480px; }
  .v3-members-pic { width: 58%; }
  .v3-pass { width: 74%; }
}

/* 05 · the bot */
/* Content on the left, the mascot in its own column on the right: they never overlap */
.v3-bot, .v3-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 340px);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.v3-bot > *, .v3-work > * { grid-column: 1; }
.v3-side-pic {
  grid-column: 2 !important; grid-row: 1 / span 6;
  position: sticky; top: 140px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.7));
  pointer-events: none;
}
.v3-bot .v3-h2 { max-width: 13ch; }
.v3-cmd {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  margin-bottom: 40px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font: 500 15px/1.3 var(--f-mono);
  color: var(--fg-2);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.9);
}
.v3-cmd b { color: var(--fg); font-weight: 700; }
.v3-cmd i { font-style: normal; color: var(--muted); }
.v3-cmd-type { display: inline-block; white-space: nowrap; overflow: hidden; border-right: 2px solid transparent; }
.v3-cmd-out { color: var(--hit); font-weight: 700; }
html.js .v3-cmd .v3-cmd-type { max-width: 0; border-right-color: var(--fg); }
html.js .v3-cmd .v3-cmd-out { opacity: 0; }
html.js .v3-cmd.is-in .v3-cmd-type { animation: v3-type 1.4s .3s steps(32) forwards, v3-caret-b 1s 1.7s steps(1) 3 forwards; }
html.js .v3-cmd.is-in .v3-cmd-out { animation: v3-land .5s 1.9s var(--ease-out) forwards; transform: translateY(6px); }
@keyframes v3-type { to { max-width: 32ch; } }
@keyframes v3-caret-b { 0% { border-right-color: transparent; } 50% { border-right-color: var(--fg); } 100% { border-right-color: transparent; } }

.v3-feats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  max-width: 820px;
  margin-bottom: 40px;
}
.v3-feats li {
  padding: 18px 0;
  color: var(--muted); font-size: 15px; line-height: 1.55;
}
.v3-feats strong {
  display: block; margin-bottom: 6px;
  font: 700 15px/1.2 var(--f-mono);
  color: var(--fg);
}
@media (max-width: 860px) {
  .v3-bot, .v3-work { grid-template-columns: 1fr; }
  .v3-side-pic { grid-column: 1 !important; grid-row: auto; position: static; width: 180px; margin-bottom: 24px; }
  .v3-feats { grid-template-columns: 1fr; }
}

/* 06 · four words */
/* One grid for all four rows: the word column is as wide as the longest word in the
   current language (Umkehrbar., Réversible., …), so nothing gets cut and the texts line up */
.v3-words {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 56px);
  align-items: baseline;
}
.v3-words li { display: contents; }
.v3-words li > span { padding-block: 26px; }
.v3-word {
  white-space: nowrap;
  font: 800 clamp(38px, 5.2vw, 76px)/0.95 var(--f-sans);
  letter-spacing: -0.05em;
  background: var(--silver);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.v3-word.is-dim { background: none; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.4); }
.v3-words li > span:last-child { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 56ch; }
@media (max-width: 860px) {
  .v3-words { grid-template-columns: minmax(0, 1fr); }
  .v3-words li > span { padding-block: 0; }
  .v3-word { padding-top: 28px !important; padding-bottom: 10px !important; white-space: normal; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.v3-foot { position: relative; overflow: hidden; isolation: isolate; }
/* In the footer the light sits behind the closing line and fades out before the links */
.v3-horizon.is-foot {
  bottom: auto; height: 820px;
  background: radial-gradient(50% 38% at 50% 50%, rgba(220,225,235,.06), transparent 100%);
}
.v3-foot-hero {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding-top: 110px; padding-bottom: 150px;
  gap: 22px;
}
.v3-foot-pic {
  width: clamp(140px, 16vw, 210px);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7));
  animation: v3-float 7s ease-in-out infinite;
}
.v3-mini { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.v3-foot-line {
  font: 800 clamp(40px, 6.8vw, 96px)/0.96 var(--f-sans);
  letter-spacing: -0.05em;
  color: var(--fg);
  text-wrap: balance;
  margin-bottom: 8px;
}
/* One sentence per line, in every language (no lonely first word) */
.v3-foot-line > span { display: block; }
.v3-foot-line { font-size: clamp(36px, 6vw, 88px); }
.v3-foot-hero .v3-actions { justify-content: center; }

.v3-foot-cols {
  display: grid; grid-template-columns: 1.2fr 2.4fr; gap: 56px;
  position: relative;
  padding-top: 56px; padding-bottom: 40px;
}
.v3-foot-about p { margin-top: 18px; color: var(--muted); font-size: 14.5px; max-width: 36ch; }
/* Columns as wide as their longest link, so "Sicherheit & Datenschutz" stays on one line */
.v3-foot-nav { display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 28px 36px; }
.v3-foot-nav a { white-space: nowrap; }
.v3-foot-nav > div { display: flex; flex-direction: column; gap: 10px; }
.v3-foot-nav p {
  margin-bottom: 6px;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim);
}
.v3-foot-nav a { font-size: 14px; color: var(--fg-2); transition: color .15s; }
.v3-foot-nav a:hover { color: var(--fg); }
@media (max-width: 860px) {
  .v3-foot-cols { grid-template-columns: 1fr; gap: 40px; }
  .v3-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-foot-nav a { white-space: normal; }
}

/* Status line (/api/status, js/status.js): plain text with the dot, no box */
.status-chip {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
  font: 500 12.5px/1 var(--f-mono); color: var(--fg-2);
}
.status-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status-chip-label { font: 500 13px/1 var(--f-sans); }
.status-chip-meta { color: var(--muted); font-size: 11.5px; }
.status-chip-meta:not(:empty)::before { content: "·  "; }
.status-chip[data-state="ok"] .status-chip-dot { background: var(--ok); animation: v3-pulse 2.4s infinite; }
.status-chip[data-state="warn"] .status-chip-dot { background: var(--hit); }
.status-chip[data-state="err"] .status-chip-dot { background: var(--err); }

/* The giant wordmark */
.v3-foot-word {
  position: relative; display: block;
  text-align: center;
  padding-top: 8px;
  overflow: hidden;
  --fx: 50%;
}
.v3-fw-base, .v3-fw-fill {
  display: block;
  font: 900 clamp(64px, 17.5vw, 250px)/0.82 var(--f-sans);
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.v3-fw-base { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.08); }
.v3-fw-base i, .v3-fw-fill i { font-style: normal; }
.v3-fw-fill {
  position: absolute; inset: 8px 0 0;
  color: transparent;
  background: radial-gradient(320px circle at var(--fx) 40%, rgba(255,255,255,.75), rgba(255,255,255,.08) 60%, transparent 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
html.js .v3-foot-word > span { transform: translateY(40%); opacity: 0; transition: transform 1.2s var(--ease-out), opacity 1.2s; }
html.js .v3-foot-word.is-in > span { transform: none; opacity: 1; }
.v3-foot-word.is-sweep .v3-fw-fill { animation: v3-fw-sweep 1.8s var(--ease) forwards; }
@keyframes v3-fw-sweep { from { --fx: -20%; } to { --fx: 50%; } }
@property --fx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }

.v3-foot-bottom {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  position: relative;
  padding-top: 22px; padding-bottom: 28px;
  font: 500 12px/1.4 var(--f-mono);
  color: var(--muted);
}
.v3-foot-bottom span { margin-right: auto; }
.v3-foot-bottom a:hover { color: var(--fg); }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js .v3-land, html.js .v3-hero-icon, html.js .v3-title > span, html.js .v3-foot-word > span { opacity: 1; transform: none; }
  html.js .v3-cmd .v3-cmd-type { max-width: none; border-right-color: transparent; }
  html.js .v3-cmd .v3-cmd-out { opacity: 1; }
}

/* ============================================================
   MOBILE HARDENING — keep every text inside the viewport
   ============================================================ */

/* Long words and ids wrap instead of running off the right edge (what got clipped
   on phones). body already has overflow-x:hidden; we don't add it to <html> so the
   sticky header keeps working. */
body { overflow-wrap: break-word; }
.v3-wrap { max-width: 100%; }

@media (max-width: 600px) {
  /* Hero headline: smaller, flows as normal wrapping text (the authored inline-block
     word refused to wrap, so long German lines ran off the right edge and were clipped). */
  .v3-title { font-size: clamp(30px, 8.2vw, 40px) !important; letter-spacing: -0.03em; }
  .v3-title > span, .v3-title > span > span { display: inline; overflow: visible; overflow-wrap: break-word; }
  /* Section + closing headlines wrap too */
  .v3-h2 { font-size: clamp(28px, 7.6vw, 48px); }
  .v3-foot-line { font-size: clamp(30px, 8vw, 60px); }
}

@media (max-width: 420px) {
  /* Fit logo + language + CTA on narrow phones (no cut-off "Bot h…") */
  .v3-brand { font-size: 16px; }
  .v3-brand img { width: 30px; height: 30px; }
  .v3-head-right { gap: 2px; }
  .v3-nav-cta { padding: 8px 12px; font-size: 12.5px; }
  .lang-btn { padding: 10px 6px; }
}
