:root {
  color-scheme: dark;
  --bg: #110c18;
  --panel: #1b1325;
  --ink: #fbf6ff;
  --muted: #c6b9d1;
  --light-purple: #ceb1ff;
  --purple: #ac78fa;
  --yellow: #ffe34e;
  --line: #3f2d50;
  --font: Inter, Arial, Helvetica, sans-serif;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
::selection { background: var(--yellow); color: var(--bg); }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--yellow); }
a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { line-height: 1.62; }
[hidden] { display: none !important; }
.shell { width: min(100% - 104px, 1264px); margin-inline: auto; }
.sr-only, .honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 14px; background: var(--yellow); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; color: var(--bg); }

.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  background: rgb(17 12 24 / 96%);
  border-bottom: 1px solid #31253e;
  backdrop-filter: blur(18px);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 77px; }
.logotype { display: inline-flex; justify-self: start; text-decoration: none; }
.logotype img { display: block; width: clamp(106px, 8.8vw, 125px); height: auto; }
.header-inner nav { display: flex; gap: clamp(21px, 3.6vw, 52px); align-items: center; }
.header-inner nav a, .login { text-decoration: none; font-size: .91rem; font-weight: 680; white-space: nowrap; }
.header-inner nav a { color: #ddd0e6; padding-block: 12px; }
.header-inner nav a:hover { color: var(--yellow); }
.login { justify-self: end; display: inline-flex; align-items: center; justify-content: center; min-width: 90px; min-height: 43px; padding-inline: 16px; border: 1px solid #675177; border-radius: 8px; }
.login:hover { border-color: var(--yellow); }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(560px, 47vw, 760px); overflow: hidden; background: #130b1a; }
.hero-visual { position: absolute; inset: 0; z-index: -2; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right 47%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #130b1a 0%, rgb(19 11 26 / 92%) 22%, rgb(19 11 26 / 40%) 47%, transparent 69%); }
.hero-content { padding-block: 70px 77px; }
.hero-copy { width: min(100%, 645px); }
.status { display: inline-flex; align-items: center; gap: 9px; color: #ebddff; font-size: .81rem; font-weight: 700; letter-spacing: .105em; margin-bottom: 20px; text-transform: uppercase; }
.status span { width: 7px; height: 7px; border-radius: 99px; background: var(--yellow); }
h1 { text-wrap: wrap; font-size: clamp(3rem, 5.55vw, 6rem); font-weight: 650; line-height: .98; letter-spacing: -.048em; }
h1 em { display: inline-block; margin-top: .04em; color: #e2bafd; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; }
.hero-intro { margin-top: 28px; max-width: 490px; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 53px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font: 750 .95rem/1.35 var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.primary { background: var(--yellow); color: #1b1322; }
.primary:hover { background: #fff08d; color: #1b1322; }
.hero-trailer { gap: 10px; }
.hero-trailer::before { content: ""; width: 0; height: 0; flex: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.secondary { border-color: #675177; color: var(--ink); background: #1a1222; }
.secondary:hover { color: var(--yellow); border-color: var(--yellow); }
.section-edge { border-top: 1px solid var(--line); }
.wizard-section { padding-block: 84px 90px; background: #181020; }
.section-heading { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 48px; margin-bottom: 40px; }
.section-heading > p { color: var(--muted); max-width: 460px; justify-self: end; padding-bottom: 2px; }
.eyebrow { margin-bottom: 10px; color: var(--light-purple); font-size: .82rem; text-transform: uppercase; font-weight: 780; letter-spacing: .11em; }
h2 { font-size: clamp(2.15rem, 3.7vw, 3.65rem); letter-spacing: -.048em; line-height: 1.08; font-weight: 650; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps article { border-top: 1px solid #523965; padding-top: 22px; }
.step-line { display: block; width: 36px; height: 3px; margin-bottom: 18px; background: var(--purple); border-radius: 6px; }
.steps h3, .game-caption h3 { font-size: clamp(1.15rem, 2.2vw, 1.52rem); font-weight: 650; letter-spacing: -.034em; line-height: 1.15; }
.steps p { margin-top: 9px; color: var(--muted); }
.market-note, .format-list { margin-top: 34px; background: #21172d; border: 1px solid #49345d; border-radius: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 19px; }
summary:hover { color: var(--yellow); }
.market-note p, .format-list > p { color: var(--muted); margin: 0 19px 17px; max-width: 750px; }

.games-section { padding-block: 85px 95px; }
.game-grid { display: grid; grid-auto-flow: column; grid-auto-columns: max(148px, calc((100% - 64px) / 5)); gap: 16px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x proximity; scrollbar-color: #644783 #21152c; scrollbar-width: thin; }
.game-card { display: block; min-width: 0; scroll-snap-align: start; border-radius: 9px; text-decoration: none; }
.game-card:focus-visible { outline-offset: -2px; }
.game-cover { width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid #4e3b5b; border-radius: 9px; background: #21152b; transition: border-color .2s; }
.game-card:hover .game-cover, .game-card:focus-visible .game-cover { border-color: var(--yellow); }
.game-art { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-caption { padding: 12px 0 2px; }
.game-caption span { display: block; margin-bottom: 4px; color: var(--light-purple); font-size: .9rem; }
.game-caption h3 { color: var(--ink); font-size: clamp(1.08rem, 1.6vw, 1.27rem); }
.game-caption .game-cta { margin-top: 7px; color: var(--yellow); font-weight: 650; }
.game-card:hover .game-cta, .game-card:focus-visible .game-cta { text-decoration: underline; }
.trailer-dialog, .updates-dialog { width: min(850px, calc(100% - 36px)); max-height: calc(100% - 24px); padding: 20px; border: 1px solid #664c7c; border-radius: 12px; overflow: auto; background: #1a1223; color: var(--ink); }
.trailer-dialog::backdrop, .updates-dialog::backdrop { background: rgb(13 7 19 / 88%); }
.trailer-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 12px; }
.trailer-heading h2 { font-size: 1.45rem; }
.close-trailer { min-width: 44px; min-height: 44px; font: 400 1.65rem/1 var(--font); border: 1px solid #624f73; border-radius: 6px; color: var(--ink); background: #251933; cursor: pointer; }
.trailer-video { display: block; width: 100%; min-height: 160px; max-height: 66svh; border-radius: 6px; background: #0c0811; object-fit: contain; }
.trailer-access { display: inline-block; padding: 12px 0 3px; color: var(--yellow); font-size: .94rem; }
.format-list { background: #1a1224; }
.format-groups { display: grid; grid-template-columns: repeat(3, 1fr); padding: 2px 20px 10px; gap: 18px; }
.format-groups h3 { font-size: 1rem; color: var(--light-purple); }
.format-groups ul { margin: 8px 0 6px; padding-left: 19px; color: var(--muted); line-height: 1.7; }

.beta-section { padding-block: 90px 100px; background: radial-gradient(ellipse at 15% 20%, #34204a, #1a1124 67%); }
.beta-grid { display: grid; grid-template-columns: .76fr 1.24fr; align-items: start; gap: clamp(26px, 6.4vw, 94px); }
.beta-copy { padding-top: 30px; }
.beta-copy h2 { color: var(--yellow); }
.beta-copy p:last-child { margin-top: 20px; color: #dfcfe9; max-width: 370px; font-size: 1.06rem; }
.beta-form { min-width: 0; background: #1a1223; border: 1px solid #583e6e; border-radius: 16px; padding: clamp(20px, 3.2vw, 40px); box-shadow: 0 15px 55px rgb(10 5 15 / 28%); }
.beta-form > h3 { font-size: 1.4rem; letter-spacing: -.03em; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; }
.field { display: block; color: var(--ink); font-weight: 670; font-size: .9rem; }
.field > span:not(.optional) { color: var(--light-purple); }
.optional { color: var(--muted); font-size: .85rem; font-weight: 500; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border-radius: 6px; border: 1px solid #5a436c; min-height: 45px; color: var(--ink); background: #100b17; font: 400 1rem/1.35 var(--font); }
.field input::placeholder, .field textarea::placeholder { color: #aea0b8; }
.field select { appearance: none; padding-right: 32px; background: linear-gradient(45deg, transparent 51%, #c7afd9 52%) calc(100% - 16px) 51% / 5px 5px no-repeat, linear-gradient(135deg, #c7afd9 51%, transparent 52%) calc(100% - 11px) 51% / 5px 5px no-repeat, #100b17; }
.field textarea { resize: vertical; min-height: 88px; }
fieldset { border: 0; padding: 0; min-width: 0; margin: 0; }
.interests { margin-block: 15px; }
.interests > legend { padding: 0; color: var(--ink); font-size: .9rem; font-weight: 650; }
.interest-dropdown { margin-top: 7px; border: 1px solid #5a436c; border-radius: 6px; background: #100b17; }
.interest-dropdown > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 13px; font-weight: 400; list-style: none; }
.interest-dropdown > summary::-webkit-details-marker { display: none; }
.interest-dropdown > summary::after { content: ""; width: 8px; height: 8px; margin-right: 3px; flex: none; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; color: var(--light-purple); transform: translateY(-2px) rotate(45deg); }
.interest-dropdown[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.interest-options { max-height: 280px; max-height: min(280px, 40svh); overflow: auto; overscroll-behavior: contain; padding: 12px; border-top: 1px solid #493456; background: #1c1325; }
.interests-group + .interests-group { margin-top: 12px; }
.interests-group legend { padding: 0 6px; color: var(--light-purple); font-size: .88rem; font-weight: 650; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2px; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 42px; font-size: .9rem; border-radius: 5px; padding: 4px 6px; color: var(--ink); cursor: pointer; }
.choice:hover { background: #2b1e38; }
.choice input, .permission input { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--yellow); }
.permission { display: flex; align-items: center; gap: 9px; min-height: 44px; width: fit-content; color: #e7daee; font-size: .91rem; cursor: pointer; }
.beta-preferences { margin-block: 7px 12px; }
.submit { width: 100%; }
.submit:disabled { color: #57503b; background: #ddcb71; cursor: wait; }
.form-privacy { margin-top: 9px; color: var(--muted); font-size: .82rem; }
.updates-dialog { width: min(490px, calc(100% - 36px)); padding: clamp(20px, 4vw, 30px); }
.updates-dialog h2 { margin-bottom: 10px; font-size: clamp(1.5rem, 4vw, 2rem); }
.updates-dialog p { color: var(--muted); }
.updates-dialog .updates-contact { margin-top: 7px; font-size: .88rem; }
.updates-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.form-status { padding: 11px 13px; margin-top: 13px; border: 1px solid #8e4c63; border-radius: 7px; color: #ffd9e2; background: #341d2d; }
.beta-confirmation > h3 { margin-bottom: 12px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.beta-confirmation > p { max-width: 450px; color: var(--muted); }
.beta-confirmation > p + p { margin-top: 8px; }
.beta-confirmation p a { color: var(--yellow); font-weight: 650; }
.beta-confirmation .button { margin-top: 23px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 23px; }
.footer-inner { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: var(--muted); font-size: .93rem; }
.footer-inner .logotype img { width: 78px; }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner nav a { text-decoration: none; padding: 8px 0; }

.legal-main { width: min(100% - 44px, 780px); padding-block: clamp(42px, 6vw, 85px); min-height: 70vh; }
.legal-main h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); margin-bottom: 24px; }
.legal-main h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal-main p { color: var(--muted); margin-bottom: 11px; }
.legal-main a { color: var(--light-purple); }

@media (max-width: 975px) {
  .shell { width: min(100% - 64px, 850px); }
  .hero { min-height: 545px; }
  .hero-copy { max-width: 480px; }
  .section-heading { gap: 24px; }
  .beta-grid { gap: 24px; grid-template-columns: .72fr 1.28fr; }
}
@media (max-width: 760px) {
  :root { scroll-padding-top: 116px; }
  .shell { width: min(100% - 40px, 540px); }
  .header-inner { min-height: auto; grid-template-columns: 1fr auto; gap: 4px 12px; padding-block: 10px 3px; }
  .header-inner .logotype img { width: 85px; }
  .header-inner nav { grid-area: 2 / 1 / 3 / 3; justify-content: space-between; gap: 10px; }
  .header-inner nav a { font-size: .82rem; padding-block: 9px; }
  .login { min-height: 38px; min-width: 72px; font-size: .85rem; }
  .hero { min-height: 0; }
  .hero-visual { top: auto; height: min(84vw, 430px); }
  .hero-visual img { object-position: 50% 45%; }
  .hero::before { background: linear-gradient(180deg, #130b1a 40%, rgb(19 11 26 / 90%) 48%, transparent 64%); }
  .hero-content { padding-block: 34px min(70vw, 355px); }
  h1 { font-size: clamp(2.75rem, 9.4vw, 4.5rem); }
  .status { margin-bottom: 16px; }
  .hero-intro { margin-top: 18px; }
  .hero-actions { margin-top: 21px; }
  .wizard-section, .games-section, .beta-section { padding-block: 48px 54px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 27px; }
  .section-heading > p { justify-self: start; }
  .steps { grid-template-columns: 1fr; gap: 17px; }
  .steps article { padding-top: 16px; }
  .step-line { margin-bottom: 11px; }
  .game-grid { grid-auto-columns: clamp(142px, 43vw, 192px); gap: 12px; }
  .game-caption { padding-top: 9px; }
  .format-groups { grid-template-columns: 1fr; gap: 9px; }
  .beta-grid { grid-template-columns: 1fr; }
  .beta-copy { padding-top: 0; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 32px); }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 12px; font-size: .84rem; }
  .form-grid { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
