/* Trivorax — shared theme: "northern lights" — polar night, aurora green, glacier blue, violet and ember */
:root {
  --night: #070b18;
  --night-2: #0d1428;
  --night-3: #141d38;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --edge: rgba(190, 210, 255, 0.14);
  --edge-strong: rgba(190, 210, 255, 0.28);
  --text: #e9eefb;
  --text-soft: #c3cbe3;
  --muted: #8e99b9;
  --aurora: #3ef0b0;
  --aurora-deep: #14b985;
  --glacier: #6fd3ff;
  --violet: #a184ff;
  --violet-deep: #7a5cf0;
  --ember: #ffb35c;
  --rose: #ff7a9c;
  --grad: linear-gradient(110deg, var(--aurora) 0%, var(--glacier) 45%, var(--violet) 100%);
  --glow: 0 0 0 1px var(--edge), 0 20px 50px -20px rgba(62, 240, 176, 0.25);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--night);
  background-image:
    radial-gradient(1200px 520px at 15% -10%, rgba(62, 240, 176, 0.16), transparent 60%),
    radial-gradient(900px 480px at 90% 0%, rgba(161, 132, 255, 0.18), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(111, 211, 255, 0.08), transparent 70%);
  background-attachment: fixed;
}

/* faint star field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.55), transparent 2px),
    radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, 0.35), transparent 2px),
    radial-gradient(1.5px 1.5px at 260px 170px, rgba(255, 255, 255, 0.45), transparent 2px),
    radial-gradient(1px 1px at 80px 220px, rgba(255, 255, 255, 0.3), transparent 2px);
  background-size: 320px 260px;
  opacity: 0.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--glacier);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--aurora);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
}

strong {
  color: #fff;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* Aurora ribbon at the top of every page */
.aurora-bar {
  height: 4px;
  background: var(--grad);
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-bar {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-tld {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--aurora);
  color: #04261a;
  box-shadow: 0 10px 30px -10px rgba(62, 240, 176, 0.65);
}

.btn-primary:hover {
  color: #04261a;
  background: #6ff5c6;
  box-shadow: 0 14px 36px -10px rgba(62, 240, 176, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--edge-strong);
}

.btn-outline:hover {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--glacier);
}

.btn-violet {
  background: var(--violet);
  color: #12082e;
}

.btn-violet:hover {
  background: #b9a2ff;
  color: #12082e;
}

:focus-visible {
  outline: 2px solid var(--glacier);
  outline-offset: 3px;
}

/* ---------- Header / nav (home) ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
}

.masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  flex-wrap: wrap;
}

.nav-btn {
  display: none;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
}

.nav-drawer ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-drawer a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 500;
  text-decoration: none;
}

.nav-drawer a:hover {
  color: #fff;
  background: var(--surface-2);
}

.age-chip {
  display: inline-block;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(62, 240, 176, 0.4);
  background: rgba(62, 240, 176, 0.08);
  color: var(--aurora);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .nav-btn {
    display: inline-flex;
    align-items: center;
  }
  .nav-drawer {
    display: none;
    width: 100%;
    padding-bottom: 16px;
  }
  .nav-drawer.open {
    display: block;
  }
  .nav-drawer ul {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-drawer a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .age-chip {
    margin: 8px 0 0;
    text-align: center;
  }
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

.tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--aurora);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.intro {
  max-width: 720px;
  margin-bottom: 44px;
}

.intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.intro p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.hero .lede {
  max-width: 56ch;
  margin: 0 0 30px;
  font-size: 1.12rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-facts li::before {
  content: "✓ ";
  color: var(--aurora);
  font-weight: 700;
}

/* "sky console" preview card */
.sky-console {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(20, 29, 56, 0.9), rgba(13, 20, 40, 0.9));
  box-shadow: var(--glow);
  overflow: hidden;
}

.sky-console::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgba(62, 240, 176, 0.35), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(161, 132, 255, 0.35), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.console-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

.console-head b {
  color: var(--aurora);
  font-family: var(--font-head);
}

.console-reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.console-reels span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--edge);
}

.console-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.console-stats div {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.console-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
}

.console-stats small {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- About / intent panel ---------- */
.intent {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.intent h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.intent-body p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Games ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.game-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.game-tile:hover {
  transform: translateY(-4px);
  border-color: var(--edge-strong);
  background: var(--surface-2);
}

.game-tile .glyph {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 20px;
  font-size: 2.2rem;
}

.glyph.g-aurora {
  background: linear-gradient(135deg, rgba(62, 240, 176, 0.3), rgba(111, 211, 255, 0.12));
}

.glyph.g-violet {
  background: linear-gradient(135deg, rgba(161, 132, 255, 0.35), rgba(255, 122, 156, 0.12));
}

.glyph.g-ember {
  background: linear-gradient(135deg, rgba(255, 179, 92, 0.32), rgba(255, 122, 156, 0.12));
}

.game-tile .type {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-tile h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.game-tile p {
  flex: 1;
  margin: 0 0 24px;
  color: var(--text-soft);
}

.game-tile .btn {
  align-self: flex-start;
}

/* ---------- Concept shop ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bundle {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
  text-align: center;
}

.bundle.spotlight {
  background: linear-gradient(170deg, rgba(62, 240, 176, 0.14), rgba(161, 132, 255, 0.1));
  border-color: rgba(62, 240, 176, 0.5);
  box-shadow: 0 20px 50px -24px rgba(62, 240, 176, 0.6);
}

.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--aurora);
  color: #04261a;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bundle .bundle-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
}

.bundle h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.bundle .amount {
  margin: 0;
  color: var(--aurora);
  font-weight: 700;
}

.bundle .price {
  margin: 10px 0 6px;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}

.bundle .blurb {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--edge-strong);
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-note p {
  margin: 0 0 6px;
}

.shop-note p:last-child {
  margin: 0;
}

/* ---------- Timeline (how it works) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.tl-step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.tl-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tl-step h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.tl-step p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Numbers + perks ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  overflow: hidden;
}

.numbers div {
  padding: 26px 20px;
  text-align: center;
  background: var(--surface);
}

.numbers div + div {
  border-left: 1px solid var(--edge);
}

.numbers b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  line-height: 1.1;
}

.numbers span {
  color: var(--muted);
  font-size: 0.9rem;
}

.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.perk {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.perk .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 1.4rem;
}

.perk h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.perk p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- Commitments ---------- */
.pledges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pledge {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.pledge::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--aurora);
}

.pledge:nth-child(3n + 2)::before {
  background: var(--glacier);
}

.pledge:nth-child(3n)::before {
  background: var(--violet);
}

.pledge h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.pledge p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.help-strip {
  margin-top: 40px;
  padding: 32px;
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(122, 92, 240, 0.28), rgba(20, 185, 133, 0.18));
  border: 1px solid var(--edge-strong);
}

.help-strip h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.help-strip p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.5);
  border: 1px solid var(--edge-strong);
  color: #fff;
  font-size: 0.92rem;
  text-decoration: none;
}

.help-links a:hover {
  border-color: var(--aurora);
  color: var(--aurora);
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--edge);
}

.faq-list details:first-child {
  border-top: 1px solid var(--edge);
}

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--aurora);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-list details p {
  margin: 0 0 20px;
  color: var(--text-soft);
}

.disclaimer {
  margin-top: 56px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: rgba(255, 179, 92, 0.06);
  border: 1px solid rgba(255, 179, 92, 0.35);
}

.disclaimer h3 {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 1.15rem;
}

.disclaimer p {
  margin: 0 0 12px;
  color: var(--text-soft);
}

.disclaimer p:last-child {
  margin: 0;
}

/* ---------- Footer (home) ---------- */
.foot {
  padding: 64px 0 28px;
  border-top: 1px solid var(--edge);
  background: rgba(0, 0, 0, 0.2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.foot p {
  color: var(--muted);
}

.foot h4 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li {
  margin-bottom: 8px;
}

.foot ul a {
  color: var(--text-soft);
  text-decoration: none;
}

.foot ul a:hover {
  color: var(--aurora);
}

.legal-line {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Inner pages ---------- */
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--edge);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--edge-strong);
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
}

.back-link:hover {
  border-color: var(--aurora);
  color: var(--aurora);
}

.article {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.article-head {
  margin-bottom: 44px;
}

.article-head h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.article-head .lede {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.article h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.article h3 {
  margin: 24px 0 10px;
  font-size: 1.12rem;
}

.article p,
.article li {
  color: var(--text-soft);
}

.article ul {
  padding-left: 1.3em;
}

.article li {
  margin-bottom: 6px;
}

.article li::marker {
  color: var(--aurora);
}

.clause {
  padding: 28px 0;
  border-top: 1px solid var(--edge);
}

.clause:first-of-type {
  border-top: 0;
}

.clause p:last-child {
  margin-bottom: 0;
}

.jump {
  margin-bottom: 40px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.jump h2 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jump ol {
  margin: 0;
  padding-left: 1.3em;
}

.jump li {
  margin-bottom: 4px;
}

.chapter {
  margin-bottom: 56px;
  scroll-margin-top: 24px;
}

.step-box {
  margin: 18px 0;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.step-box h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 2px;
  background: var(--aurora);
}

.step-box h3 {
  margin-top: 0;
}

.step-box p:last-child,
.step-box ul:last-child {
  margin-bottom: 0;
}

.alert {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 122, 156, 0.08);
  border: 1px solid rgba(255, 122, 156, 0.45);
}

.alert p {
  margin: 0 0 10px;
}

.alert p:last-child {
  margin: 0;
}

.resource {
  margin: 16px 0;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
  scroll-margin-top: 24px;
}

.resource h3 {
  margin-top: 0;
}

.resource p {
  margin: 0 0 8px;
}

.note-box {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: rgba(111, 211, 255, 0.07);
  border: 1px solid rgba(111, 211, 255, 0.35);
  color: var(--text-soft);
}

.page-foot {
  padding: 30px 16px 40px;
  border-top: 1px solid var(--edge);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-foot p {
  margin: 6px 0;
}

.page-foot a {
  color: var(--text-soft);
}

/* ---------- Help & support ---------- */
.support {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.support-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.support-head h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.support-head p {
  margin: 0;
  color: var(--text-soft);
}

.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.support-col {
  display: grid;
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--edge);
}

.card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.mail-tag {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(62, 240, 176, 0.1);
  color: var(--aurora);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea,
.chat-compose input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--edge-strong);
  background: rgba(7, 11, 24, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.form-row select option {
  background: var(--night-2);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.chat-compose input:focus {
  outline: none;
  border-color: var(--aurora);
  box-shadow: 0 0 0 3px rgba(62, 240, 176, 0.2);
}

.tick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.tick input {
  margin-top: 5px;
  accent-color: var(--aurora);
}

.small-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qa {
  padding: 14px 0;
  border-top: 1px solid var(--edge);
}

.qa:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.qa h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.qa p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.qa code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-size: 0.88em;
}

.card.calm {
  background: linear-gradient(160deg, rgba(161, 132, 255, 0.14), rgba(7, 11, 24, 0.2));
}

.card.calm > p {
  color: var(--text-soft);
}

.lifeline {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 24, 0.55);
  border: 1px solid rgba(255, 122, 156, 0.4);
}

.lifeline h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--rose);
}

.lifeline p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.lifeline p:last-child {
  margin: 0;
}

/* Chat widget */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--grad);
  color: #04261a;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 14px 34px -10px rgba(62, 240, 176, 0.7);
  transition: transform 0.2s ease;
}

.chat-fab:hover {
  transform: scale(1.06);
}

.chat-box {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(370px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 130px));
  border-radius: 22px;
  background: var(--night-2);
  border: 1px solid var(--edge-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(110deg, rgba(62, 240, 176, 0.18), rgba(161, 132, 255, 0.18));
  border-bottom: 1px solid var(--edge);
}

.chat-top strong {
  display: block;
  font-family: var(--font-head);
}

.chat-top span {
  color: var(--muted);
  font-size: 0.8rem;
}

.chat-x {
  width: 36px;
  height: 36px;
  border: 1px solid var(--edge-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.5;
}

.bubble.bot {
  align-self: flex-start;
  background: var(--surface-2);
  border-bottom-left-radius: 4px;
}

.bubble.me {
  align-self: flex-end;
  background: var(--aurora);
  color: #04261a;
  border-bottom-right-radius: 4px;
}

.chat-compose {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--edge);
}

.chat-compose .btn {
  min-height: 44px;
  padding: 10px 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
}

@media (max-width: 880px) {
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 64px 0;
  }
  .hero-layout,
  .intent,
  .faq-layout,
  .support-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .game-grid,
  .timeline,
  .pledges {
    grid-template-columns: 1fr;
  }
  .perks {
    grid-template-columns: 1fr;
  }
  .numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .numbers div:nth-child(3) {
    border-left: 0;
  }
  .numbers div:nth-child(n + 3) {
    border-top: 1px solid var(--edge);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .help-strip,
  .disclaimer {
    padding: 24px 20px;
  }
  .card {
    padding: 22px 18px;
  }
  .page-head .brand-tld {
    display: none;
  }
}
