/* Vector Cascade page: the game's own look (dark void, glowing cores). Separate from the Advata site style. */
:root {
  --void: #07060f;
  --pulse: #3cf2ff;
  --heavy: #ff8a1f;
  --splinter: #ff2e88;
  --phantom: #8a5cff;
  --gemini: #18e0d0;
  --singularity: #ffc83c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--void);
  background-image:
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(53, 115, 121, 0.45), transparent 70%),
    radial-gradient(ellipse 60% 40% at 5% 100%, rgba(87, 44, 71, 0.55), transparent 70%),
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 78% 14%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 41% 63%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 90% 71%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 23% 88%, rgba(255,255,255,.5), transparent 60%);
  background-attachment: fixed;
  font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.6;
}
.mono { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.wrap { width: min(920px, 100% - 32px); margin-inline: auto; }
a { color: var(--pulse); font-weight: 700; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* hero */
.hero { padding: 56px 0 8px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
h1 { margin: 0; font-weight: 900; line-height: 0.98; letter-spacing: 0.1em; text-transform: uppercase; font-size: clamp(40px, 12.5vw, 104px); }
h1 span { display: block; }
.h-top { color: #fff; text-shadow: 0 0 24px rgba(255, 255, 255, 0.25); }
.h-bot { color: var(--pulse); text-shadow: 0 0 18px rgba(60, 242, 255, 0.75), 0 0 48px rgba(60, 242, 255, 0.4); }
.lead { margin: 30px 0 4px; font-weight: 900; font-size: clamp(24px, 5.5vw, 34px); line-height: 1.2; }
.sub { margin: 0; font-size: clamp(18px, 3.6vw, 22px); color: var(--muted); max-width: 34ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.tag { padding: 7px 14px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, 0.03); }
.t-pulse { color: var(--pulse); } .t-splinter { color: #ff5fa3; } .t-singularity { color: var(--singularity); }
.t-phantom { color: #b39bff; } .t-heavy { color: var(--heavy); }
.jumps { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 14px; text-decoration: none; font-size: 13px;
  color: var(--pulse); border: 1px solid var(--pulse); background: rgba(60, 242, 255, 0.08);
  box-shadow: 0 0 18px rgba(60, 242, 255, 0.25); transition: background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: rgba(60, 242, 255, 0.18); box-shadow: 0 0 26px rgba(60, 242, 255, 0.45); }
.btn.alt { color: var(--splinter); border-color: var(--splinter); background: rgba(255, 46, 136, 0.08); box-shadow: 0 0 18px rgba(255, 46, 136, 0.25); }
.btn.alt { color: #ff6fae; }
.btn.alt:hover { background: rgba(255, 46, 136, 0.18); box-shadow: 0 0 26px rgba(255, 46, 136, 0.45); }

/* number tiles */
.tiles { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.tile { min-width: 56px; padding: 10px 12px; text-align: center; font-size: 22px; font-weight: 900; border-radius: 12px; border: 2px solid; background: rgba(255,255,255,0.04); }
.k1 { color: var(--pulse); border-color: var(--pulse); box-shadow: 0 0 14px rgba(60,242,255,.45); }
.k2 { color: var(--heavy); border-color: var(--heavy); box-shadow: 0 0 14px rgba(255,138,31,.45); }
.k3 { color: #ff5fa3; border-color: var(--splinter); box-shadow: 0 0 14px rgba(255,46,136,.45); }
.k4 { color: #b39bff; border-color: var(--phantom); box-shadow: 0 0 14px rgba(138,92,255,.45); }

/* panels */
main section { margin: 40px 0 0; }
.panel {
  padding: 28px 26px 24px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(53, 115, 121, 0.22), rgba(87, 44, 71, 0.28)), rgba(7, 6, 15, 0.7);
}
h2 { margin: 0 0 12px; font-weight: 900; font-size: clamp(26px, 5.5vw, 34px); line-height: 1.15; letter-spacing: 0.01em; }
.panel p { margin: 0 0 14px; }
.panel p:last-child { margin-bottom: 0; }
.cores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.core { padding: 16px 10px 12px; text-align: center; font-size: 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.03); }
.core i { display: block; width: 28px; height: 28px; margin: 0 auto 10px; border-radius: 50%; }
.c-pulse { color: var(--pulse); } .c-pulse i { background: radial-gradient(circle at 35% 35%, #fff, var(--pulse) 55%); box-shadow: 0 0 18px var(--pulse); }
.c-heavy { color: var(--heavy); } .c-heavy i { background: radial-gradient(circle at 35% 35%, #ffe2c2, var(--heavy) 60%); box-shadow: 0 0 18px var(--heavy); }
.c-splinter { color: #ff5fa3; } .c-splinter i { background: radial-gradient(circle at 35% 35%, #ffd0e4, var(--splinter) 60%); box-shadow: 0 0 18px var(--splinter); }
.c-phantom { color: #b39bff; } .c-phantom i { background: radial-gradient(circle at 35% 35%, #e1d6ff, var(--phantom) 60%); box-shadow: 0 0 18px var(--phantom); }
.c-gemini { color: var(--gemini); } .c-gemini i { background: radial-gradient(circle at 35% 35%, #d4fff9, var(--gemini) 60%); box-shadow: 0 0 18px var(--gemini); }
.c-singularity { color: var(--singularity); } .c-singularity i { background: radial-gradient(circle at 35% 35%, #fff3c9, var(--singularity) 60%); box-shadow: 0 0 18px var(--singularity); }

/* footer */
.foot { margin-top: 64px; padding: 22px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: #8c8898; font-size: 12.5px; line-height: 1.55; font-weight: 400; }
.foot p { margin: 0 0 8px; }
.foot strong { font-weight: 400; }
.foot a { color: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.foot .copy { margin: 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 40px; }
  .panel { padding: 22px 18px 18px; }
  .cores { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .tile, .core i { animation: glow 3.2s ease-in-out infinite; }
  .tile:nth-child(2n), .core:nth-child(2n) i { animation-delay: -1.2s; }
  .tile:nth-child(3n), .core:nth-child(3n) i { animation-delay: -2.1s; }
  @keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* long text sections */
h3 { margin: 22px 0 6px; font-weight: 800; font-size: 19px; line-height: 1.3; color: var(--pulse); letter-spacing: 0.01em; }
h2 + p + p + h3, h2 + p + h3 { margin-top: 20px; }
.panel strong { font-weight: 800; }
.panel p { overflow-wrap: anywhere; }
