:root {
  --bg: #050b10;
  --bg-2: #0a161d;
  --ink: #e8f4f1;
  --ink-soft: rgba(232, 244, 241, 0.72);
  --ink-faint: rgba(232, 244, 241, 0.5);
  --glow: #8ff5df;
  --gold: #ffd28a;
  --line: rgba(143, 245, 223, 0.18);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--glow); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--glow); opacity: 0.85; }

/* header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1280px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: none; }
@media (max-width: 720px) { .nav { display: none; } }

/* hero */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  background: url("assets/hero.jpg") center 40% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(5, 11, 16, 0.15), rgba(5, 11, 16, 0.55) 70%),
    linear-gradient(to bottom, rgba(5, 11, 16, 0.55), rgba(5, 11, 16, 0) 30%, rgba(5, 11, 16, 0) 60%, var(--bg));
}
.hero-content { position: relative; z-index: 1; text-align: center; width: 100%; padding: 120px 24px 80px; }
.hero h1 {
  font-size: clamp(56px, 10vw, 120px); letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(143, 245, 223, 0.55), 0 0 90px rgba(143, 245, 223, 0.25);
}
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--ink-soft); margin: 10px 0 14px; }
.hero-note { font-size: 14px; letter-spacing: 0.04em; color: var(--ink-faint); margin: 0 0 30px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font: 600 16px/1 var(--sans); color: #04110d;
  background: var(--glow); box-shadow: 0 0 30px rgba(143, 245, 223, 0.45);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(143, 245, 223, 0.5); }
.store-note { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

/* sections */
section { padding: 96px 0; }
section.alt { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 18%, var(--bg-2) 82%, var(--bg)); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); margin: 12px 0 14px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.trailer video {
  width: 100%; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(143, 245, 223, 0.08);
  background: #000; aspect-ratio: 1920 / 886;
}

.intro { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 25px); line-height: 1.55; color: var(--ink); }
.intro em { color: var(--gold); font-style: italic; }

/* worlds */
.worlds { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.world { background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.world img { width: 100%; aspect-ratio: 2.17 / 1; object-fit: cover; }
.world-body { padding: 16px 18px 20px; }
.world h3 { font-size: 22px; margin-bottom: 4px; }
.world .n { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--glow); opacity: 0.8; }
.world p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }

/* features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(143, 245, 223, 0.03); }
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 14px var(--glow); margin-bottom: 14px; }
.feature:nth-child(3n+2) .dot { background: var(--gold); box-shadow: 0 0 14px var(--gold); }

/* story */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.story img { border-radius: 16px; border: 1px solid var(--line); }
.story h2 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 16px; }
.story p { color: var(--ink-soft); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { aspect-ratio: 2.17 / 1; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* press */
.press { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.facts { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.facts dt { color: var(--ink-faint); }
.facts dd { margin: 0; }
.press-dl p { color: var(--ink-soft); }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }

/* prose pages (privacy, support) */
.page-hero { padding: 130px 0 30px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(143, 245, 223, 0.12), transparent 60%); }
.page-hero h1 { font-size: clamp(40px, 6vw, 60px); }
.prose { max-width: 760px; margin: 0 auto; padding: 30px 24px 90px; }
.prose h2 { font-size: 28px; margin: 40px 0 10px; }
.prose h3 { font-size: 21px; margin: 28px 0 6px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.todo { color: var(--gold); font-weight: 600; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--ink-faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--ink-soft); }

/* guide */
.crumbs { font-size: 14px; color: var(--ink-faint); margin: 0 0 14px; }
.crumbs a { color: var(--ink-soft); }
.page-hero .lede { max-width: 640px; margin: 14px auto 0; padding: 0 24px; color: var(--ink-soft); font-family: var(--serif); font-size: 19px; }
.prose figure { margin: 26px 0; }
.prose figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-faint); text-align: center; }
.prose ol li, .prose ul li { margin: 4px 0; }
.prose dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.prose dt { color: var(--ink); font-weight: 600; }
.prose dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.tip { border-left: 3px solid var(--gold); background: rgba(255, 210, 138, 0.06); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 20px 0; }
.tip p { margin: 0; }
.tip strong { color: var(--gold); }
details.spoiler { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 16px 0; background: rgba(143, 245, 223, 0.03); }
details.spoiler summary { cursor: pointer; color: var(--glow); font-weight: 600; }
details.spoiler[open] summary { margin-bottom: 8px; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 24px 0; }
.guide-card { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.025); color: var(--ink); }
.guide-card:hover { text-decoration: none; border-color: rgba(143, 245, 223, 0.5); }
.guide-card img { width: 100%; aspect-ratio: 2.17 / 1; object-fit: cover; }
.guide-card div { padding: 14px 16px 18px; }
.guide-card h3 { font-size: 21px; margin: 4px 0 4px; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.guide-card .n { font: 600 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--glow); opacity: 0.8; }
.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; }
.pager a { color: var(--glow); }
.section-more { text-align: center; margin: 34px 0 0; font-size: 16px; }
.world { position: relative; transition: border-color 0.2s ease; }
.world h3 a { color: inherit; }
.world h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.world h3 a:hover { text-decoration: none; }
.world h3 a:focus-visible::after { outline: 2px solid var(--glow); outline-offset: 2px; }
.world:hover { border-color: rgba(143, 245, 223, 0.5); }
.world-more { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--glow); }
