:root {
  color-scheme: dark;
  --ink: #eefbff;
  --field: #041209;
  --field-soft: #071a12;
  --field-deep: #020806;
  --panel: rgba(4, 22, 16, 0.88);
  --panel-soft: rgba(6, 30, 23, 0.76);
  --line: rgba(82, 240, 255, 0.22);
  --line-hot: rgba(255, 135, 64, 0.58);
  --muted: #a8bcc0;
  --cyan: #52f0ff;
  --orange: #ff8740;
  --gold: #ffd28a;
  --black: #030506;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--field);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 135, 64, 0.12) 0, transparent 280px),
    linear-gradient(180deg, #071712 0, var(--field) 48%, var(--field-deep) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(82, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 135, 64, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body[dir="rtl"] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 18px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--black);
  background: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 18px;
}

.site-header,
.site-footer,
.hero,
.section-block,
.legal-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: static;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-hot);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, var(--black) 0 13%, transparent 14%),
    radial-gradient(circle at 50% 50%, transparent 0 34%, var(--orange) 35% 39%, transparent 40%),
    conic-gradient(from 210deg, transparent 0 22%, var(--orange) 23% 30%, transparent 31% 65%, var(--cyan) 66% 72%, transparent 73%),
    #07130d;
  box-shadow: 0 0 22px rgba(255, 135, 64, 0.26);
}

.brand-mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 135, 64, 0.9);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #d2e7eb;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.language-control select {
  max-width: 154px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(5, 20, 16, 0.9);
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 28px 0 72px;
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--orange);
  font-size: 72px;
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(255, 135, 64, 0.34);
}

h2 {
  margin: 0;
  color: var(--cyan);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(82, 240, 255, 0.2);
}

h3 {
  margin: 0 0 8px;
  color: #dffcff;
  font-size: 21px;
  line-height: 1.15;
}

p,
li {
  font-size: 17px;
}

ul {
  padding-left: 22px;
}

body[dir="rtl"] ul {
  padding-right: 22px;
  padding-left: 0;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #c5d6da;
  font-size: 22px;
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border-color: var(--orange);
  color: var(--black);
  background: var(--orange);
  box-shadow: 0 0 24px rgba(255, 135, 64, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: rgba(7, 25, 20, 0.72);
}

.button.inert {
  cursor: default;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 42px 0 0;
}

.trust-strip div {
  border-top: 2px solid var(--orange);
  padding-top: 12px;
}

.trust-strip dt {
  font-size: 13px;
  font-weight: 900;
}

.trust-strip dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.game-visual {
  justify-self: center;
  width: min(100%, 390px);
}

.phone-shell {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  padding: 14px;
  background: #050607;
  box-shadow: var(--shadow);
}

.phone-shell::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 78px;
  height: 5px;
  border-radius: 99px;
  content: "";
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.14);
}

.eye-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(82, 240, 255, 0.12);
  border-radius: 21px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(82, 240, 255, 0.12) 49% 51%, transparent 51%),
    linear-gradient(180deg, #06180f 0, #031008 100%);
}

.eye-stage::before {
  position: absolute;
  inset: 9% 10%;
  border: 1px solid rgba(82, 240, 255, 0.12);
  border-radius: 18px;
  content: "";
}

.eye-title {
  position: absolute;
  top: 17%;
  left: 0;
  right: 0;
  color: var(--orange);
  font-size: 34px;
  font-weight: 950;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 135, 64, 0.62);
}

.eye-ring {
  position: absolute;
  top: 36%;
  left: 50%;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, var(--black) 0 14%, transparent 15%),
    radial-gradient(circle, transparent 0 38%, var(--orange) 39% 43%, transparent 44%),
    conic-gradient(from 230deg, transparent 0 22%, var(--orange) 23% 29%, transparent 30% 64%, var(--cyan) 65% 72%, transparent 73%),
    rgba(255, 135, 64, 0.08);
  box-shadow: 0 0 38px rgba(255, 135, 64, 0.26);
}

.hit-zone {
  position: absolute;
  left: 50%;
  bottom: 16%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(82, 240, 255, 0.16);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hit-zone::before,
.hit-zone::after {
  position: absolute;
  inset: 35px;
  border-radius: 50%;
  content: "";
}

.hit-zone::before {
  border: 2px solid rgba(255, 135, 64, 0.72);
}

.hit-zone::after {
  inset: 74px;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(82, 240, 255, 0.68);
}

.pulse-line {
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: 9%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--orange), transparent);
}

.timing-demo {
  position: absolute;
  left: 50%;
  bottom: 3.8%;
  z-index: 3;
  display: grid;
  gap: 2px;
  place-items: center;
  width: min(72%, 220px);
  min-height: 52px;
  border: 1px solid rgba(82, 240, 255, 0.34);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(3, 12, 9, 0.82);
  box-shadow: 0 0 28px rgba(82, 240, 255, 0.12);
  cursor: pointer;
  font: inherit;
  transform: translateX(-50%);
}

.timing-demo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.timing-demo:hover {
  border-color: var(--orange);
}

.timing-demo[data-outcome="perfect"] {
  border-color: var(--gold);
  box-shadow: 0 0 34px rgba(255, 210, 138, 0.34);
}

.timing-demo[data-outcome="good"] {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(82, 240, 255, 0.24);
}

.timing-demo[data-outcome="miss"] {
  border-color: rgba(255, 135, 64, 0.7);
}

.demo-kicker,
.demo-score {
  line-height: 1;
  letter-spacing: 0;
}

.demo-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-score {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 950;
  text-shadow: 0 0 16px rgba(82, 240, 255, 0.4);
}

.timing-demo[data-outcome="perfect"] .demo-score {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 210, 138, 0.56);
}

.section-block {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
}

.section-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c6d7db;
}

.feature-grid,
.proof-list,
.policy-grid,
.mode-grid {
  display: grid;
  gap: 16px;
}

.feature-grid,
.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.feature-grid article,
.policy-grid article,
.panel,
.translation-note,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid article,
.policy-grid article {
  min-height: 230px;
  padding: 24px;
}

.visual-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mode-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.mode-grid article {
  min-height: 240px;
  padding: 24px;
  border-top: 2px solid var(--orange);
  background: linear-gradient(180deg, rgba(255, 135, 64, 0.12), rgba(6, 30, 23, 0.72));
}

.mode-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.screenshot-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 1fr);
  gap: 44px;
  align-items: center;
}

.screenshot-copy {
  max-width: 660px;
}

.screenshot-copy p {
  color: #c6d7db;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
  align-items: center;
}

.game-shot {
  margin: 0;
}

.game-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 375 / 812;
  object-fit: cover;
  border: 1px solid var(--line-hot);
  border-radius: 14px;
  background: var(--field-deep);
  box-shadow: var(--shadow);
}

.game-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.featured-shot {
  grid-row: span 2;
  transform: translateY(18px);
}

.screenshot-gallery .game-shot:not(.featured-shot) {
  width: min(100%, 210px);
}

.feature-grid p,
.policy-grid p,
.proof-list p,
.mode-grid p {
  color: #c6d7db;
}

.premium-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: var(--panel-soft);
}

body[dir="rtl"] .proof-list p {
  border-right: 4px solid var(--orange);
  border-left: 0;
}

.legal-page {
  background: var(--field);
}

.legal-shell {
  padding: 58px 0 86px;
}

.legal-shell h1 {
  max-width: none;
  font-size: 64px;
}

.legal-date {
  margin: 18px 0 0;
  color: var(--muted);
}

.translation-note {
  margin: 24px 0 34px;
  padding: 14px 16px;
  color: #d8e9ed;
}

.panel,
.legal-shell section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.panel {
  margin: 18px 0;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.legal-shell section:first-of-type {
  border-top: 0;
}

.legal-shell h2 {
  font-size: 32px;
}

.legal-shell p {
  color: #d2e2e6;
}

.legal-shell a,
.panel a {
  color: var(--cyan);
  font-weight: 800;
  text-underline-offset: 4px;
}

.support-card {
  display: inline-flex;
  margin: 26px 0 8px;
  padding: 18px 22px;
}

.legal-lede {
  max-width: 720px;
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-weight: 750;
}

@media (prefers-reduced-motion: no-preference) {
  .eye-ring {
    animation: eyeSweep 3.4s ease-in-out infinite;
  }

  .hit-zone::after {
    animation: targetPulse 2.6s ease-in-out infinite;
  }

  .timing-demo.timing-hit {
    animation: timingPress 280ms ease-out;
  }
}

@keyframes eyeSweep {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(24deg);
  }
}

@keyframes targetPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }
  50% {
    transform: scale(0.72);
    opacity: 1;
  }
}

@keyframes timingPress {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(0.96);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .premium-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 34px;
    padding-top: 20px;
  }

  h1 {
    font-size: 56px;
  }

  .game-visual {
    width: min(100%, 340px);
  }

  .feature-grid,
  .policy-grid,
  .mode-grid,
  .screenshot-section {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .featured-shot {
    grid-row: auto;
    transform: none;
  }

  .screenshot-gallery .game-shot:not(.featured-shot) {
    width: 100%;
  }

  .mode-grid article {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  .hero,
  .section-block,
  .legal-shell {
    width: min(100% - 24px, 1120px);
  }

  .language-control {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
    overflow-x: visible;
  }

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

  .language-control select {
    max-width: 58%;
  }

  h1,
  .legal-shell h1 {
    font-size: 42px;
  }

  h2,
  .legal-shell h2 {
    font-size: 28px;
  }

  .lede {
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .game-shot {
    width: min(100%, 295px);
    margin: 0 auto;
  }

  .screenshot-gallery .game-shot:not(.featured-shot) {
    width: min(100%, 295px);
  }

  .section-block {
    padding: 56px 0;
  }

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