:root {
  color-scheme: dark;
  --night: #090b1d;
  --night-soft: #10152d;
  --surface: rgba(20, 27, 58, 0.78);
  --surface-strong: #161d3d;
  --ink: #f8f7ff;
  --muted: #bdc5df;
  --faint: #8994b7;
  --line: rgba(199, 214, 255, 0.16);
  --mint: #80f6cc;
  --lime: #dcff72;
  --violet: #b58cff;
  --blue: #76d9ff;
  --rose: #ff91cc;
  --shadow: 0 28px 80px rgba(2, 4, 16, 0.38);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, rgba(118, 217, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 94% 20%, rgba(181, 140, 255, 0.22), transparent 32rem),
    linear-gradient(155deg, #090b1d 0%, #111735 54%, #0a0e25 100%);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(141, 176, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141, 176, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #d8f7ff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px 15px 18px 18px;
  background:
    radial-gradient(circle at 33% 26%, rgba(255,255,255,0.9) 0 5%, transparent 6%),
    radial-gradient(circle at 34% 50%, #10152d 0 5%, transparent 6%),
    radial-gradient(circle at 67% 50%, #10152d 0 5%, transparent 6%),
    linear-gradient(145deg, var(--mint), #71a7ff 47%, var(--violet));
  box-shadow: inset 0 1px rgba(255,255,255,0.55), 0 10px 28px rgba(108, 157, 255, 0.24);
  transform: rotate(-3deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 8px;
  width: 14px;
  height: 6px;
  border-bottom: 2px solid #10152d;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 70px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.gradient-word {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--mint), var(--blue) 48%, #d6adff);
  background-clip: text;
  -webkit-background-clip: text;
}

.lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.3vw, 21px);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid rgba(128, 246, 204, 0.5);
  border-radius: 14px;
  color: #081b1b;
  background: linear-gradient(135deg, var(--mint), #a9f5ff);
  box-shadow: 0 14px 34px rgba(89, 226, 205, 0.18);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button:hover {
  color: #071614;
  filter: brightness(1.06);
}

.button--secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(22, 29, 61, 0.72);
  box-shadow: none;
}

.button--secondary:hover {
  color: var(--ink);
  background: rgba(32, 41, 82, 0.9);
}

.game-vignette {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(199, 214, 255, 0.2);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(16, 21, 45, 0.1), rgba(10, 13, 34, 0.84)),
    repeating-conic-gradient(from 45deg at 50% 58%, rgba(128, 246, 204, 0.24) 0deg 11deg, rgba(93, 113, 255, 0.14) 11deg 22deg),
    #161d3d;
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.08);
  isolation: isolate;
}

.game-vignette::before {
  content: "";
  position: absolute;
  inset: 10% 8% 12%;
  z-index: -1;
  border: 2px solid rgba(128, 246, 204, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(118, 217, 255, 0.06),
    0 0 0 76px rgba(181, 140, 255, 0.06);
  transform: perspective(480px) rotateX(64deg);
}

.vignette-label {
  position: absolute;
  top: 26px;
  left: 28px;
  right: 28px;
}

.vignette-label strong {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.vignette-label span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.big-jelly {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: 150px;
  aspect-ratio: 1.08;
  border: 2px solid rgba(255,255,255,0.68);
  border-radius: 54px 54px 65px 65px;
  background:
    radial-gradient(circle at 31% 22%, rgba(255,255,255,0.88) 0 5%, transparent 6%),
    radial-gradient(circle at 34% 49%, #11162f 0 5%, transparent 6%),
    radial-gradient(circle at 66% 49%, #11162f 0 5%, transparent 6%),
    linear-gradient(145deg, #86f4ff, #708cff 45%, #bc70ff);
  box-shadow: inset 0 4px rgba(255,255,255,0.4), 0 26px 70px rgba(107, 127, 255, 0.45);
  transform: translateX(-50%) rotate(-4deg);
}

.big-jelly::after {
  content: "";
  position: absolute;
  left: 54px;
  bottom: 28px;
  width: 42px;
  height: 16px;
  border-bottom: 5px solid #11162f;
  border-radius: 50%;
}

.coin {
  position: absolute;
  width: 32px;
  aspect-ratio: 1;
  border: 5px solid #fff08c;
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 232, 112, 0.65), inset 0 0 8px rgba(255, 169, 71, 0.6);
}

.coin--one { left: 21%; top: 45%; }
.coin--two { right: 18%; top: 38%; transform: scale(0.72); }
.coin--three { right: 25%; bottom: 17%; transform: scale(0.54); }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -40px 0 92px;
}

.feature {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(28, 37, 76, 0.78), rgba(17, 23, 50, 0.7));
  box-shadow: inset 0 1px rgba(255,255,255,0.07);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.page-intro {
  max-width: 860px;
  padding: 72px 0 34px;
}

.page-intro h1 {
  font-size: clamp(42px, 7vw, 70px);
}

.page-intro .lede {
  font-size: 18px;
}

.meta-line {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.summary-card {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(34, 45, 91, 0.76), rgba(20, 27, 58, 0.68));
}

.summary-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 15px;
}

.summary-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.content-card {
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}

.content-card section + section {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.content-card h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -0.018em;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.content-card p {
  margin: 10px 0 0;
}

.content-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.content-card li + li {
  margin-top: 7px;
}

.callout {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(128, 246, 204, 0.24);
  border-radius: 16px;
  background: rgba(65, 159, 139, 0.11);
}

.contact-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(118, 217, 255, 0.45);
  border-radius: 12px;
  background: rgba(62, 153, 210, 0.14);
  font-weight: 800;
  text-decoration: none;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 80px;
}

.support-aside {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(34, 45, 91, 0.72), rgba(20, 27, 58, 0.7));
}

.support-aside h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.support-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.support-aside p + p {
  margin-top: 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .game-vignette {
    min-height: 420px;
  }

  .feature-strip,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: 0;
  }

  .feature,
  .summary-card {
    min-height: auto;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    border-radius: 13px 13px 15px 15px;
  }

  .brand-mark::after {
    left: 12px;
    bottom: 7px;
    width: 12px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-nav .nav-home {
    display: none;
  }

  .hero {
    gap: 44px;
    padding: 52px 0 68px;
  }

  .game-vignette {
    min-height: 370px;
    border-radius: 30px;
  }

  .big-jelly {
    width: 126px;
    bottom: 54px;
  }

  .big-jelly::after {
    left: 45px;
    bottom: 23px;
    width: 36px;
  }

  .page-intro {
    padding-top: 50px;
  }

  .content-card {
    border-radius: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
