:root {
  color-scheme: dark;
  --canvas: #030715;
  --canvas-soft: #070d22;
  --panel: rgba(10, 18, 43, 0.78);
  --panel-solid: #0b1430;
  --ink: #f8faff;
  --muted: #9ca9c3;
  --soft: #cfd7ea;
  --line: rgba(161, 183, 231, 0.16);
  --cyan: #25d8ff;
  --cyan-soft: #80ecff;
  --violet: #8b42ff;
  --gold: #ffb936;
  --coral: #ff5e7a;
  --display: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  --body: "Avenir Next", "SF Pro Text", system-ui, -apple-system, sans-serif;
  font-family: var(--body);
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 9%, rgba(120, 44, 255, 0.19), transparent 27rem),
    radial-gradient(circle at 12% 30%, rgba(0, 191, 255, 0.11), transparent 32rem),
    linear-gradient(180deg, #05091a 0%, #030715 42%, #05091a 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: #03101a;
  background: var(--cyan);
  font-weight: 850;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.aurora {
  position: fixed;
  z-index: -1;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .13;
  pointer-events: none;
}
.aurora-one { background: var(--cyan); top: 18%; left: -27rem; }
.aurora-two { background: var(--violet); right: -27rem; top: 48%; }

.site-header,
footer,
main {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  z-index: 20;
  top: 14px;
  height: 72px;
  margin-top: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(175, 197, 246, .13);
  border-radius: 22px;
  background: rgba(5, 10, 26, .72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(24px) saturate(135%);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font: 850 .79rem/1 var(--display);
  letter-spacing: .14em;
}
.brand img {
  width: 39px;
  height: 39px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(68, 205, 255, .25);
}
.site-header nav,
footer div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-header nav a,
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 720;
  text-decoration: none;
  transition: color .2s ease;
}
.site-header nav a:hover,
footer a:hover { color: white; }
.site-header nav a[aria-current="page"] { color: white; }
.site-header nav a[aria-current="page"]::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.locale-switch {
  min-width: 46px;
  height: 40px;
  border: 1px solid rgba(128, 236, 255, .26);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(37, 216, 255, .08);
  font: 850 .76rem/1 var(--display);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.locale-switch:hover { border-color: var(--cyan); background: rgba(37, 216, 255, .14); transform: translateY(-1px); }

.page-home { display: block; }
.js .page-home { display: none; }
.js .page-home.is-active { display: block; }
.js .landing-hero.is-active { display: grid; }
.js .legal-page,
.js .support-page { display: none; }
.js .legal-page.is-active,
.js .support-page.is-active { display: block; }
.js [data-route]:not(.is-active) { display: none !important; }

.landing-hero {
  min-height: min(850px, calc(100vh - 70px));
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
  align-items: center;
  gap: clamp(30px, 5vw, 78px);
  padding: 54px 0 72px;
}
.hero-copy { position: relative; z-index: 4; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font: 850 .7rem/1.4 var(--display);
  letter-spacing: .23em;
}
.hero-copy h1,
.legal-page h1,
.support-page h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.1rem, 7.1vw, 7.2rem);
  font-weight: 860;
  line-height: .86;
  letter-spacing: -.072em;
}
.hero-copy h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.25px rgba(194, 214, 255, .78);
  text-shadow: 0 0 50px rgba(100, 76, 255, .18);
}
.hero-text,
.lead {
  max-width: 610px;
  margin: 30px 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.72;
}
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.primary-link,
.secondary-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border-radius: 16px;
  font: 830 .88rem/1 var(--display);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.primary-link {
  color: #03111a;
  background: linear-gradient(135deg, #9af4ff 0%, var(--cyan) 52%, #46a9ff 100%);
  box-shadow: 0 14px 36px rgba(37, 216, 255, .2), inset 0 1px rgba(255,255,255,.6);
}
.secondary-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,.035);
}
.primary-link:hover,
.secondary-link:hover { transform: translateY(-2px); }
.secondary-link:hover { border-color: rgba(128,236,255,.46); }
.test-status {
  width: fit-content;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
}
.test-status i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255,185,54,.09), 0 0 20px rgba(255,185,54,.65);
  animation: signal-pulse 2.4s ease-in-out infinite;
}
.test-status span { display: flex; flex-direction: column; gap: 4px; }
.test-status small { color: var(--gold); font: 850 .58rem/1 var(--display); letter-spacing: .15em; }
.test-status strong { color: var(--muted); font-size: .78rem; font-weight: 600; }

.signal-stage {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1200px;
}
.stage-halo {
  position: absolute;
  z-index: -4;
  width: 560px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 35, 255, .36), rgba(10, 216, 255, .1) 37%, transparent 70%);
  filter: blur(10px);
}
.stage-ring {
  position: absolute;
  z-index: -3;
  border: 1px solid rgba(119, 198, 255, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 42px rgba(113, 54, 255, .08);
}
.stage-ring-one { width: 520px; height: 520px; animation: orbit 18s linear infinite; }
.stage-ring-two { width: 610px; height: 280px; transform: rotate(-21deg); animation: orbit-wide 24s linear infinite reverse; }
.signal-rosette {
  position: absolute;
  z-index: -2;
  top: 28px;
  right: -34px;
  width: 365px;
  height: 365px;
  object-fit: contain;
  filter: drop-shadow(0 35px 55px rgba(67, 32, 255, .3));
  animation: rosette-float 6s ease-in-out infinite;
}
.device {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 368 / 800;
  padding: 8px;
  border: 2px solid rgba(204, 218, 255, .42);
  border-radius: 15.2% / 7%;
  background: #02040a;
  box-shadow:
    0 46px 90px rgba(0,0,0,.58),
    0 0 0 5px rgba(3,6,16,.92),
    0 0 0 6px rgba(174,198,255,.11),
    inset 0 1px rgba(255,255,255,.22);
}
.device::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 13.5% / 6.3%;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.1), transparent 23%, transparent 68%, rgba(78,217,255,.055));
  mix-blend-mode: screen;
}
.device img { width: 100%; height: 100%; border-radius: 13.5% / 6.3%; object-fit: cover; }
.device-speaker {
  position: absolute;
  z-index: 2;
  top: 2.1%;
  left: 50%;
  width: 27%;
  height: 2.55%;
  border-radius: 999px;
  background: #030409;
  transform: translateX(-50%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}
.device-hero {
  width: 312px;
  transform: rotateY(-8deg) rotateZ(2.2deg);
  animation: device-float 6.5s ease-in-out infinite;
}
.game-preview-panel {
  position: relative;
  z-index: 4;
  width: min(82vw, 330px);
  min-height: 500px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(143, 111, 255, .54);
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 5%, rgba(37,216,255,.16), transparent 28%),
    linear-gradient(155deg, rgba(20,16,66,.97), rgba(3,9,28,.98));
  box-shadow: 0 44px 100px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.1);
  transform: rotateY(-7deg) rotateZ(1.5deg);
  animation: device-float 6.5s ease-in-out infinite;
}
.preview-topline { display: flex; align-items: center; justify-content: space-between; color: var(--gold); font: 850 .66rem/1 var(--display); letter-spacing: .13em; }
.preview-topline strong { width: 54px; height: 54px; display: grid; place-items: center; border: 5px solid var(--violet); border-radius: 50%; color: white; font-size: 1.1rem; letter-spacing: 0; }
.preview-question { min-height: 176px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(96, 224, 255, .22); border-radius: 25px; background: rgba(4,9,32,.74); }
.preview-question small { color: var(--cyan); font: 800 .58rem/1 var(--display); letter-spacing: .12em; }
.preview-question strong { max-width: 250px; font: 850 1.8rem/1.06 var(--display); letter-spacing: -.045em; }
.preview-answer { min-height: 62px; padding: 10px 14px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(178,196,239,.18); border-radius: 18px; color: var(--soft); background: rgba(7,13,37,.82); font-size: .84rem; font-weight: 760; }
.preview-answer b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: rgba(139,66,255,.42); }
.preview-answer i { color: #051a18; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); font-style: normal; }
.preview-answer-selected { border-color: rgba(37,216,255,.72); box-shadow: 0 0 30px rgba(37,216,255,.1); }
.preview-progress { margin-top: auto; display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.preview-progress span { height: 5px; border-radius: 999px; background: rgba(189,205,240,.22); }
.preview-progress span:nth-child(-n+3) { background: var(--cyan); }
.preview-progress .is-current { background: var(--gold); }
.signal-chip {
  position: absolute;
  z-index: 5;
  min-width: 124px;
  min-height: 72px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(180, 205, 255, .22);
  border-radius: 19px;
  background: rgba(7, 14, 37, .82);
  box-shadow: 0 22px 60px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}
.signal-chip b { color: var(--gold); font: 900 1.7rem/1 var(--display); letter-spacing: -.07em; }
.signal-chip small { max-width: 62px; color: var(--soft); font: 820 .56rem/1.25 var(--display); letter-spacing: .1em; }
.signal-chip-time { left: 1%; top: 27%; transform: rotate(-5deg); }
.signal-chip-mode { right: -1%; bottom: 21%; transform: rotate(4deg); }
.signal-chip-mode b { color: var(--cyan); }

.rules-section,
.showcase-section,
.trust-section { scroll-margin-top: 105px; }
.rules-section {
  padding: 118px 0 128px;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2,
.trust-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.section-heading > p:last-child,
.trust-copy > p:last-child {
  max-width: 630px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rule-grid article {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(16,27,59,.84), rgba(7,13,32,.84));
  box-shadow: inset 0 1px rgba(255,255,255,.045);
}
.rule-grid article::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .07;
  filter: blur(18px);
}
.rule-grid article:nth-child(2)::after { background: var(--violet); }
.rule-grid article:nth-child(3)::after { background: var(--gold); }
.rule-grid article > b { color: rgba(192,210,242,.45); font: 820 .68rem/1 var(--display); letter-spacing: .16em; }
.rule-grid article > span {
  width: 62px;
  height: 62px;
  margin: 38px 0 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(128,236,255,.24);
  border-radius: 19px;
  color: var(--cyan);
  background: rgba(37,216,255,.075);
  font: 900 1.2rem/1 var(--display);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.rule-grid article:nth-child(2) > span { color: #b78cff; border-color: rgba(183,140,255,.24); background: rgba(139,66,255,.09); }
.rule-grid article:nth-child(3) > span { color: var(--gold); border-color: rgba(255,185,54,.25); background: rgba(255,185,54,.08); }
.rule-grid h3 { margin: 0 0 10px; font: 800 1.2rem/1.2 var(--display); letter-spacing: -.025em; }
.rule-grid p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.6; }

.showcase-section {
  position: relative;
  padding: 118px 0 130px;
  border-top: 1px solid var(--line);
}
.showcase-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6% -18vw 2%;
  background:
    radial-gradient(circle at 48% 35%, rgba(114,53,255,.16), transparent 35%),
    radial-gradient(circle at 74% 55%, rgba(20,203,255,.1), transparent 26%);
}
.showcase-heading { margin-inline: auto; text-align: center; }
.showcase-heading > p:last-child { margin-inline: auto; }
.device-gallery {
  min-height: 765px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(18px, 4vw, 58px);
  padding-top: 22px;
  perspective: 1400px;
}
.device-card { width: min(27vw, 285px); margin: 0; }
.device-card .device { width: 100%; transition: transform .38s ease, filter .38s ease; }
.device-card:hover .device { transform: translateY(-10px) rotateZ(0); filter: saturate(1.08); }
.device-card-home { transform: translateY(70px) rotate(-4deg); }
.device-card-game { position: relative; z-index: 2; }
.device-card-result { transform: translateY(70px) rotate(4deg); }
.device-card figcaption { margin-top: 30px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.device-card figcaption strong { font: 800 1rem/1.2 var(--display); }
.device-card figcaption span { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.gallery-locale-note {
  width: fit-content;
  margin: -16px auto 48px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(128,236,255,.22);
  border-radius: 999px;
  color: var(--cyan-soft);
  background: rgba(37,216,255,.055);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}
.gallery-locale-note span { font-size: 1rem; }
.gallery-locale-note strong { color: var(--soft); font-size: .72rem; font-weight: 720; }
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.2vw, 28px);
  padding: 12px 0 56px;
}
.screenshot-card {
  --lift: 0px;
  --tilt: 0deg;
  min-width: 0;
  margin: 0;
  transform: translateY(var(--lift)) rotate(var(--tilt));
  transform-origin: 50% 30%;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), filter .38s ease;
}
.screenshot-card-home { --lift: 44px; --tilt: -1.8deg; }
.screenshot-card-result { --lift: 44px; --tilt: 1.8deg; }
.screenshot-card:hover { transform: translateY(calc(var(--lift) - 12px)) rotate(0deg); filter: saturate(1.08); }
.screenshot-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 720 / 1564;
  border: 1px solid rgba(193,211,255,.28);
  border-radius: 34px;
  background: #070b20;
  box-shadow:
    0 44px 100px rgba(0,0,0,.48),
    0 0 0 5px rgba(5,9,25,.72),
    0 0 0 6px rgba(150,180,255,.09),
    inset 0 1px rgba(255,255,255,.14);
}
.screenshot-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.09), transparent 16%, transparent 74%, rgba(37,216,255,.035));
  mix-blend-mode: screen;
}
.screenshot-visual img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-card figcaption {
  min-height: 110px;
  margin-top: 25px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.screenshot-card figcaption > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(128,236,255,.24);
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(37,216,255,.07);
  font: 850 .66rem/1 var(--display);
  letter-spacing: .08em;
}
.screenshot-card-game figcaption > span { color: #c5a4ff; border-color: rgba(197,164,255,.25); background: rgba(139,66,255,.09); }
.screenshot-card-result figcaption > span { color: var(--gold); border-color: rgba(255,185,54,.26); background: rgba(255,185,54,.08); }
.screenshot-card figcaption strong { font: 820 1.06rem/1.2 var(--display); letter-spacing: -.02em; }
.screenshot-card figcaption p { margin: 7px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }

.trust-section {
  margin-bottom: 92px;
  padding: clamp(34px, 5vw, 66px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  border: 1px solid rgba(163,190,241,.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 95% 0, rgba(37,216,255,.12), transparent 34%),
    linear-gradient(140deg, rgba(15,27,60,.92), rgba(7,13,32,.94));
  box-shadow: 0 32px 90px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.06);
}
.trust-copy h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.trust-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; align-content: center; }
.trust-list li {
  min-height: 52px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255,255,255,.028);
}
.trust-list li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #05202a; background: var(--cyan); font-weight: 900; }
.trust-list li strong { font-size: .86rem; }
.review-links {
  grid-column: 1 / -1;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.review-links a {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255,255,255,.025);
  font-size: .78rem;
  font-weight: 730;
  text-decoration: none;
}
.review-links a:hover { border-color: rgba(128,236,255,.5); color: white; }

.legal-page,
.support-page {
  max-width: 900px;
  min-height: 72vh;
  padding: 112px 0 130px;
}
.legal-page h1,
.support-page h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); }
.updated { margin: 22px 0 64px; color: var(--muted); }
.legal-copy { border-top: 1px solid var(--line); }
.legal-copy h2 { margin: 44px 0 12px; font: 800 1.12rem/1.3 var(--display); }
.legal-copy p,
.footnote { color: var(--muted); font-size: .97rem; line-height: 1.82; }
.support-card {
  min-height: 112px;
  margin: 48px 0;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(37,216,255,.28);
  border-radius: 22px;
  color: var(--ink);
  background: rgba(37,216,255,.07);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.support-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.support-card span { display: flex; flex-direction: column; gap: 8px; }
.support-card small { color: var(--cyan); font: 850 .65rem/1 var(--display); letter-spacing: .16em; }
.support-card strong { font-size: 1.35rem; }
.support-card > b { color: var(--cyan); font-size: 1.6rem; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faq-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.faq-grid h2 { margin: 0 0 12px; font: 780 1rem/1.45 var(--display); }
.faq-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.66; }
.steps { margin: 50px 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.steps li {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255,255,255,.02);
}
.steps b { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #d8c8ff; background: rgba(139,66,255,.18); }
.footnote { margin-top: 35px; font-size: .85rem; }

.duel-invite-page { position: relative; isolation: isolate; }
.duel-invite-orbit {
  width: 132px;
  height: 132px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37,216,255,.48);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(139,66,255,.38), inset 0 0 26px rgba(37,216,255,.12);
  background: radial-gradient(circle, rgba(139,66,255,.38), rgba(7,13,37,.9) 66%);
}
.duel-invite-orbit::before,
.duel-invite-orbit::after { content: ""; position: absolute; width: 158px; height: 158px; border: 1px dashed rgba(139,66,255,.45); border-radius: 50%; animation: orbit 14s linear infinite; }
.duel-invite-orbit::after { width: 106px; height: 106px; border-color: rgba(37,216,255,.35); animation-direction: reverse; animation-duration: 9s; }
.duel-invite-orbit span { font: 950 2.2rem/1 var(--display); color: white; text-shadow: 0 0 24px rgba(37,216,255,.8); }
.duel-invite-ticket {
  max-width: 640px;
  margin-top: 44px;
  padding: 30px;
  border: 1px solid rgba(139,66,255,.55);
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(13,4,52,.4);
  background: linear-gradient(145deg, rgba(139,66,255,.2), rgba(5,11,34,.92) 58%, rgba(37,216,255,.08));
}
.duel-invite-ticket small { display: block; color: var(--cyan); font: 850 .67rem/1 var(--display); letter-spacing: .18em; }
.duel-invite-ticket strong { display: block; margin: 16px 0 26px; font: 920 clamp(2.2rem, 9vw, 4.4rem)/1 var(--display); letter-spacing: .16em; }
.duel-invite-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.duel-invite-actions .secondary-link { cursor: pointer; }

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #75819b;
  font-size: .76rem;
}

@keyframes signal-pulse {
  0%, 100% { transform: scale(.88); opacity: .75; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes rosette-float {
  0%, 100% { transform: translate3d(0,0,0) rotate(-5deg); }
  50% { transform: translate3d(0,-13px,0) rotate(1deg); }
}
@keyframes device-float {
  0%, 100% { transform: rotateY(-8deg) rotateZ(2.2deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateZ(1.4deg) translateY(-10px); }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbit-wide { to { transform: rotate(339deg); } }

@media (max-width: 1000px) {
  .site-header,
  footer,
  main { width: min(100% - 40px, 820px); }
  .landing-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 92px; }
  .hero-copy { max-width: 720px; }
  .signal-stage { min-height: 680px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-grid article { min-height: 0; }
  .rule-grid article > span { margin: 28px 0 20px; }
  .device-gallery { min-height: 680px; gap: 24px; }
  .device-card { width: min(29vw, 240px); }
  .screenshot-gallery {
    width: calc(100vw - 20px);
    margin-left: calc((100vw - min(100vw - 40px, 820px)) / -2);
    padding: 18px 20px 54px;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .screenshot-gallery::-webkit-scrollbar { display: none; }
  .screenshot-card,
  .screenshot-card-home,
  .screenshot-card-result { --lift: 0px; --tilt: 0deg; flex: 0 0 min(72vw, 340px); scroll-snap-align: center; }
  .trust-section { grid-template-columns: 1fr; }
  .review-links { grid-column: auto; }
}

@media (max-width: 720px) {
  .site-header,
  footer,
  main { width: min(100% - 24px, 620px); }
  .site-header { top: 8px; height: 66px; margin-top: 8px; padding: 0 12px; border-radius: 19px; }
  .brand span { display: none; }
  .brand img { width: 38px; height: 38px; }
  .site-header nav { gap: 7px; }
  .site-header nav a { padding-inline: 5px; font-size: .7rem; }
  .landing-hero { padding: 72px 0 56px; gap: 18px; }
  .hero-copy h1 { font-size: clamp(3.6rem, 18vw, 5.6rem); }
  .hero-text { margin: 24px 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-link,
  .secondary-link { width: 100%; }
  .test-status { align-items: flex-start; }
  .signal-stage { min-height: 590px; margin-top: 18px; }
  .stage-halo { width: 420px; }
  .stage-ring-one { width: 400px; height: 400px; }
  .stage-ring-two { width: 470px; height: 220px; }
  .signal-rosette { top: 5px; right: -54px; width: 285px; height: 285px; }
  .device-hero { width: min(68vw, 270px); }
  .game-preview-panel { width: min(76vw, 310px); min-height: 470px; padding: 24px 20px; }
  .signal-chip { min-width: 104px; min-height: 62px; padding: 10px 12px; }
  .signal-chip b { font-size: 1.45rem; }
  .signal-chip-time { left: 0; top: 27%; }
  .signal-chip-mode { right: 0; bottom: 18%; }
  .rules-section,
  .showcase-section { padding: 88px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .trust-copy h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .device-gallery {
    min-height: 0;
    width: calc(100vw - 12px);
    margin-left: calc((100vw - min(100vw - 24px, 620px)) / -2);
    padding: 22px 18px 30px;
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .device-gallery::-webkit-scrollbar { display: none; }
  .device-card,
  .device-card-home,
  .device-card-result { flex: 0 0 min(73vw, 285px); width: min(73vw, 285px); transform: none; scroll-snap-align: center; }
  .gallery-locale-note { margin: -10px auto 28px; text-align: left; }
  .screenshot-gallery {
    width: calc(100vw - 4px);
    margin-left: calc((100vw - min(100vw - 24px, 620px)) / -2);
    padding-inline: 18px;
  }
  .screenshot-card,
  .screenshot-card-home,
  .screenshot-card-result { flex-basis: min(78vw, 326px); }
  .screenshot-card figcaption { min-height: 96px; }
  .trust-section { margin-bottom: 64px; padding: 30px 22px; gap: 30px; border-radius: 26px; }
  .review-links { gap: 8px; }
  .review-links a { flex: 1 0 calc(50% - 8px); justify-content: center; }
  .legal-page,
  .support-page { padding: 82px 0 100px; }
  .legal-page h1,
  .support-page h1 { font-size: clamp(3rem, 15vw, 4.8rem); overflow-wrap: anywhere; }
  .faq-grid { grid-template-columns: 1fr; }
  .duel-invite-ticket { padding: 24px 18px; }
  .duel-invite-ticket strong { letter-spacing: .1em; }
  .duel-invite-actions { align-items: stretch; flex-direction: column; }
  footer { padding: 30px 0; align-items: flex-start; gap: 24px; }
  footer div { flex-direction: column; align-items: flex-end; gap: 4px; }
}

@media (max-width: 430px) {
  .site-header nav a:nth-child(1) { display: none; }
  .signal-stage { min-height: 540px; }
  .signal-chip-mode { bottom: 13%; }
  .support-card { padding: 22px 18px; }
  .support-card strong { font-size: 1rem; overflow-wrap: anywhere; }
  .steps li { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
