:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --ink: #242034;
  --muted: #625c70;
  --line: #d9d0de;
  --white: #fffcff;
  --wrap: min(1120px, calc(100% - 92px));
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #b976db;
  outline-offset: 5px;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip, .sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
.skip:focus {
  left: 24px; top: 20px; clip-path: none; width: auto; height: auto;
  background: var(--paper); padding: 12px; z-index: 10;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: clamp(640px, calc(100svh - 24px), 1100px);
  margin: 12px;
  overflow: hidden;
  border-radius: 16px;
  background: #34254d;
  color: var(--white);
}
.hero-art, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, #180f36a6, transparent 25%, transparent 71%, #130d33b5),
              radial-gradient(ellipse at center, #1e103a96, #27174835 65%, #24113c10);
}
.hero-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  width: min(770px, calc(100% - 72px));
  margin: 25px auto 0;
  font-size: 14px;
  font-weight: 650;
}
.hero-nav nav, .nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.nav-end { justify-content: flex-start; }
.hero-nav nav a:hover, .nav-play:hover { text-decoration: underline; text-underline-offset: 5px; }
.mark { display: inline-flex; padding: 2px; }
.mark img { width: 44px; height: 44px; filter: drop-shadow(0 4px 13px #27154487); }
.account { position: relative; }
.sign-in, .profile summary {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 8px 11px; white-space: nowrap; border: 1px solid #e8d8ff73; border-radius: 999px;
}
.sign-in:hover, .profile summary:hover { background: #f7efff26; }
.profile summary { list-style: none; max-width: 145px; overflow: hidden; text-overflow: ellipsis; }
.profile summary::-webkit-details-marker { display: none; }
.profile form {
  position: absolute; right: 0; top: calc(100% + 7px); z-index: 3;
  padding: 5px; border-radius: 8px; background: #2d2343; min-width: 125px;
}
.profile button { background: transparent; border: 0; width: 100%; padding: 8px 10px; text-align: left; }
.profile button:hover { background: #45345d; }
.hero-copy {
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: 22px 14px 44px;
  text-shadow: 0 2px 28px #1a0c31b0;
}
.hero-kicker {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 760;
}
.hero h1 {
  margin: 0;
  color: #fff8ff;
  font-weight: 820;
  font-size: clamp(52px, 6.2vw, 104px);
  line-height: .97;
  letter-spacing: -.055em;
}
.hero-lead { margin: 22px 0 26px; font-size: 18px; line-height: 1.5; color: #fff7ff; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 45px; padding: 10px 19px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; line-height: 1.1; font-weight: 730; white-space: nowrap;
  text-shadow: none; transition: background .18s, border-color .18s;
}
.button-primary { color: #291d3c; background: #f1defb; border-color: #f1defb; }
.button-primary:hover { background: #fff6ff; border-color: #fff6ff; }
.button-glass { color: #fff9ff; background: #23183469; border-color: #f0e2ff98; }
.button-glass:hover { background: #4e3b6ca6; border-color: #fff9ff; }
.copy-icon { width: 12px; height: 12px; position: relative; flex: none; border: 1px solid currentColor; border-radius: 2px; margin-left: 2px; }
.copy-icon::before {
  content: ""; position: absolute; inset: -4px 2px 2px -4px; border: 1px solid currentColor;
  border-radius: 2px; border-bottom-color: transparent; border-right-color: transparent;
}
.hero-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 0 31px 22px;
}
.online-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  background: #190e3294; border: 1px solid #e6d7ff45; border-radius: 99px;
  padding: 7px 11px; font-size: 12px; white-space: nowrap;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c0aacb; }
[data-state=online] .status-dot { background: #a1ebb3; box-shadow: 0 0 10px #9cf0bc95; }
[data-state=offline] .status-dot { background: #fac0bf; }
.scroll-link {
  display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e6d7ff55;
  border-radius: 50%; font-size: 16px; color: #f5e6fb;
}
.scroll-link:hover { background: #efe1fa2d; }
.hero-version {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px;
  font: 11px ui-monospace, monospace; letter-spacing: .06em; color: #fff2fc; white-space: nowrap;
}
.hero-version i { width: 4px; height: 4px; background: #e9c9f6; transform: rotate(45deg); }
.notice { margin-block: 20px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #f9f4fd; }

.section { padding-top: clamp(64px, 8vw, 110px); scroll-margin-top: 12px; }
.section-heading {
  display: grid; grid-template-columns: 1fr .72fr; gap: 28px; align-items: end;
  margin-bottom: 26px;
}
.section h2 { margin: 0; font-size: clamp(37px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; }
.section-heading p, .play-intro > p {
  margin: 0; max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.56;
}
.world-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.world-card img { width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; border-radius: 8px; }
.world-card > div { padding: 15px 3px 0; }
.world-card h3, .steps h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: -.025em; }
.world-card p, .steps p, .faq-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.62; }
.play-panel {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(27px, 7vw, 95px);
  background: #211b33; color: #fff8ff; padding: clamp(24px, 5vw, 67px); border-radius: 12px;
}
.play-intro > p { margin-top: 15px; color: #d5cada; max-width: 280px; font-size: 15px; }
.address { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.address > span { width: 100%; color: #d5cada; font-size: 12px; }
.address code { color: #f3dffb; font-size: 14px; }
.address .button { min-height: 34px; padding: 7px 10px; font-size: 12px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid #554769; counter-increment: step; }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border: 0; padding-bottom: 0; }
.steps li::before { content: counter(step) "."; color: #dfbeff; flex: none; font: 14px ui-monospace,monospace; padding-top: 4px; }
.steps p { color: #d5cada; }
.steps a { display: inline-block; margin-top: 6px; font-size: 13px; color: #eacaff; font-weight: 700; }
.steps a:hover { text-decoration: underline; }
.faq-section {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px;
  padding-bottom: clamp(64px, 8vw, 105px);
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 15px 24px 15px 0; cursor: pointer; list-style: none; font-weight: 680; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1px; color: #7446ac; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 15px 16px 0; }
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 13px;
  min-height: 67px; border-top: 1px solid var(--line); font-size: 13px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 720; }
.footer > a:last-child:hover { text-decoration: underline; }

@media (max-width: 720px) {
  :root { --wrap: calc(100% - 38px); }
  .hero { min-height: max(530px, calc(100svh - 12px)); margin: 6px; border-radius: 11px; }
  .hero-art img { object-position: 53% center; }
  .hero-nav { width: calc(100% - 31px); gap: 10px; margin-top: 16px; font-size: 12px; }
  .hero-nav nav { justify-content: flex-start; gap: 12px; }
  .nav-end { justify-content: flex-end; }
  .nav-play { display: none; }
  .mark img { width: 36px; height: 36px; }
  .sign-in, .profile summary { padding: 7px 9px; }
  .hero-copy { padding: 18px 10px 28px; }
  .hero-kicker { margin-bottom: 14px; font-size: 9px; }
  .hero h1 { font-size: clamp(37px, 9.8vw, 65px); }
  .hero-lead { margin: 14px 0 22px; font-size: 15px; }
  .hero-actions { gap: 7px; }
  .button { min-height: 42px; padding-inline: 12px; font-size: 12px; }
  .hero-footer { padding: 0 13px 14px; }
  .online-pill { font-size: 10px; padding: 6px 7px; }
  .hero-version { font-size: 9px; gap: 5px; }
  .section-heading, .play-panel, .faq-section { grid-template-columns: 1fr; gap: 16px; }
  .world-grid { grid-template-columns: 1fr; gap: 27px; }
  .world-card img { aspect-ratio: 1.5; }
  .play-panel { gap: 29px; }
}
@media (max-width: 360px) {
  .hero-footer { grid-template-columns: 1fr 1fr; }
  .scroll-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
