/* Soliton Burst — press kit.
   Palette is lifted verbatim from the game's src/Visual/UiPalette.cs so the
   page reads as the game's own neon brand, not a generic template. */

:root {
  --bg-void:   #0a0f1a;   /* UiPalette.BgVoid */
  --bg-deep:   #060912;   /* UiPalette.BgDeep */
  --panel:     rgba(15, 28, 38, 0.92);   /* BgPanel */
  --panel-soft:rgba(18, 36, 50, 0.55);   /* BgPanelSoft */

  --fg1: #e8f5ff;   /* primary, near-white-blue */
  --fg2: #bfd4e6;   /* secondary */
  --fg3: #8fa6bd;   /* tertiary / labels */
  --fg4: #5a6e85;   /* dim */

  /* Seam neons — one per topological feature */
  --torus:      #5cf2ff;   /* cyan */
  --mobius:     #ff5cd9;   /* magenta */
  --wormhole:   #5aff86;   /* green */
  --hyperbolic: #ff9b3d;   /* orange */
  --pinch:      #b48cff;   /* violet */
  --klein:      #c46cff;   /* deep purple */

  --enemy:  #ff4d5e;   /* role red */
  --gold:   #ffe39e;   /* ScoreTint warm gold */

  --maxw: 1100px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(1200px 700px at 50% -10%, #11203a 0%, var(--bg-void) 55%, var(--bg-deep) 100%);
  color: var(--fg2);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--torus); text-decoration: none; }
a:hover { text-decoration: underline; }

.muted { color: var(--fg3); font-size: 0.92rem; }

/* ───────────────────────── HERO ───────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(92, 242, 255, 0.18);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("./assets/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.22;
  filter: saturate(1.1);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 92%);
}
.hero__inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero__lockup {
  width: min(560px, 88vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(92, 242, 255, 0.35));
}
.hero__tagline {
  margin: 1.2rem 0 0.4rem;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fg1);
  text-shadow: 0 0 18px rgba(255, 92, 217, 0.25);
}
.hero__sub {
  margin: 0.6rem auto 1.6rem;
  max-width: 620px;
  color: var(--fg2);
}
.hero__cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--steam {
  background: linear-gradient(180deg, #6cf6ff, #2bb6d8);
  color: #04212b;
  box-shadow: 0 0 22px rgba(92, 242, 255, 0.4);
}
.btn--ghost {
  border: 1px solid rgba(180, 140, 255, 0.55);
  color: var(--fg1);
}
.btn--ghost:hover { box-shadow: 0 0 18px rgba(180, 140, 255, 0.35); }

/* ───────────────────────── LAYOUT ───────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem 1rem;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 820px) {
  .wrap { grid-template-columns: 1fr; }
}

/* ───────────────────────── FACTSHEET ───────────────────────── */
.factsheet {
  position: sticky;
  top: 1.5rem;
  background: var(--panel);
  border: 1px solid rgba(92, 242, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1rem;
  backdrop-filter: blur(6px);
}
@media (max-width: 820px) { .factsheet { position: static; } }
.factsheet__title {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--torus);
}
.factsheet dl { margin: 0; display: grid; gap: 0.55rem; }
.factsheet dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg4);
}
.factsheet dd { margin: 0.1rem 0 0; color: var(--fg1); font-size: 0.95rem; }

/* ───────────────────────── SECTIONS ───────────────────────── */
.content { min-width: 0; }
.section { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section--fine { opacity: 0.85; }
.section__title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--fg1);
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--torus);
}
.section__title[data-seam="torus"]      { border-color: var(--torus); }
.section__title[data-seam="mobius"]      { border-color: var(--mobius); }
.section__title[data-seam="hyperbolic"]  { border-color: var(--hyperbolic); }
.section__title[data-seam="wormhole"]    { border-color: var(--wormhole); }
.section__title[data-seam="pinch"]       { border-color: var(--pinch); }
.section__title[data-seam="klein"]       { border-color: var(--klein); }

.content h3 {
  color: var(--gold);
  font-size: 1.05rem;
  margin: 1.6rem 0 0.4rem;
  letter-spacing: 0.01em;
}
.content p { margin: 0.5rem 0; }

.shapes { list-style: none; padding: 0; margin: 0.4rem 0; }
.shapes li {
  padding: 0.45rem 0 0.45rem 1.1rem;
  border-bottom: 1px solid rgba(143, 166, 189, 0.12);
  position: relative;
}
.shapes li::before {
  content: "";
  position: absolute; left: 0; top: 1.05rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--torus);
  box-shadow: 0 0 8px var(--torus);
}
.shapes li b { color: var(--fg1); }

/* ───────────────────────── VIDEO ───────────────────────── */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(92, 242, 255, 0.2);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ───────────────────────── GALLERY ───────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.8rem;
}
.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(143, 166, 189, 0.18);
  line-height: 0;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.gallery a:hover {
  transform: translateY(-3px);
  border-color: rgba(92, 242, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 18px rgba(92,242,255,0.2);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ───────────────────────── GIFS ───────────────────────── */
.gifs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.gifs figure { margin: 0; }
.gifs img {
  width: 100%; border-radius: 10px; display: block;
  border: 1px solid rgba(143, 166, 189, 0.18);
}
.gifs figcaption { color: var(--fg3); font-size: 0.85rem; margin-top: 0.4rem; }

/* ───────────────────────── BRAND DOWNLOADS ───────────────────────── */
.brand-dl { display: flex; gap: 1rem; flex-wrap: wrap; align-items: stretch; }
.brand-dl__item {
  flex: 1 1 240px;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  padding: 1.4rem;
  background: var(--panel-soft);
  border: 1px solid rgba(180, 140, 255, 0.22);
  border-radius: var(--radius);
  color: var(--fg2);
}
.brand-dl__item:hover { text-decoration: none; border-color: rgba(180,140,255,0.55); }
.brand-dl__item img { max-width: 100%; max-height: 90px; object-fit: contain; }
.brand-dl__item--icon img { max-height: 110px; }

/* ───────────────────────── CONTACT ───────────────────────── */
.contact { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.2rem; margin: 0; }
.contact dt { color: var(--fg4); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; padding-top: 0.15rem; }
.contact dd { margin: 0; color: var(--fg1); }
.permission {
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: rgba(90, 255, 134, 0.07);
  border: 1px solid rgba(90, 255, 134, 0.25);
  border-radius: 10px;
  color: var(--fg1);
}
.permission b { color: var(--wormhole); }

/* ───────────────────────── FOOTER ───────────────────────── */
.foot {
  text-align: center;
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid rgba(143, 166, 189, 0.12);
  margin-top: 2rem;
}
.foot p { margin: 0.3rem 0; }
