:root {
  color-scheme: dark;
  --bg: #040713;
  --panel: rgba(7, 14, 32, 0.78);
  --panel-strong: rgba(10, 20, 45, 0.94);
  --line: rgba(80, 225, 255, 0.38);
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #f6fbff;
  --muted: #b9c8da;
  --cyan: #2fe6ff;
  --magenta: #ff53d7;
  --gold: #f7cf5b;
  --green: #4ef2aa;
  --red: #ff5f78;
  --shadow: rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

main {
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: #02131a;
  border-radius: 0.5rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 7, 19, 0.84);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 4.75rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
}

.brand span {
  font-size: 1.05rem;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.site-nav a,
.language-select {
  border: 1px solid transparent;
  border-radius: 0.55rem;
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.language-select:focus-visible {
  border-color: var(--line);
  color: var(--text);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.language-select {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  max-width: 10rem;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 7rem 0 5rem;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 18, 0.92) 0%, rgba(2, 5, 18, 0.72) 44%, rgba(2, 5, 18, 0.34) 100%),
    linear-gradient(0deg, rgba(4, 7, 19, 1) 0%, rgba(4, 7, 19, 0) 36%),
    url("../media/feature_graphic_1024x500.jpg");
  background-size: cover;
  background-position: center;
}

.hero.page-hero {
  min-height: 410px;
  align-items: center;
  padding: 6rem 0 4rem;
  background-image:
    linear-gradient(90deg, rgba(2, 5, 18, 0.94) 0%, rgba(2, 5, 18, 0.76) 56%, rgba(2, 5, 18, 0.56) 100%),
    url("../media/game_cover_1920x1080.jpg");
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-copy {
  max-width: 690px;
  min-width: 0;
}

.kicker {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  font-size: 4.6rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 680px;
  margin-top: 1.2rem;
  color: #d5e7f7;
  font-size: 1.16rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.62rem;
  padding: 0.85rem 1.1rem;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(47, 230, 255, 0.65);
  background: linear-gradient(135deg, #27d8ff, #91fbff);
  color: #03121a;
  box-shadow: 0 0 1.9rem rgba(47, 230, 255, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.gold {
  border-color: rgba(247, 207, 91, 0.65);
  background: linear-gradient(135deg, #f1bb37, #ffe58f);
  color: #170f02;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
  filter: brightness(1.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 660px;
  margin-top: 2rem;
}

.hero-facts span,
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 0.8rem;
  background: rgba(8, 18, 42, 0.72);
  color: #d9f8ff;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    #071020;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-header p {
  max-width: 520px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 0.5rem;
  padding: 1.15rem;
  background: var(--panel);
  box-shadow: 0 1.2rem 3rem var(--shadow);
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p,
.card li {
  color: var(--muted);
}

.step-number {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  background: linear-gradient(135deg, rgba(47, 230, 255, 0.92), rgba(255, 83, 215, 0.82));
  color: #06111e;
  font-weight: 900;
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 2.4rem;
  align-items: center;
}

.phone-stack {
  position: relative;
  min-height: 650px;
}

.phone-shot {
  position: absolute;
  width: 55%;
  border-radius: 1.2rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.58);
}

.phone-shot.one {
  top: 0;
  left: 0;
  z-index: 2;
}

.phone-shot.two {
  right: 0;
  top: 5rem;
  z-index: 1;
}

.phone-shot.three {
  left: 22%;
  bottom: 0;
  z-index: 3;
}

.preview-video {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #02050f;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.55);
}

.preview-video video {
  width: 100%;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.2rem;
  background: var(--cyan);
  box-shadow: 0 0 1rem rgba(47, 230, 255, 0.5);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(270px, 0.28fr);
  gap: 2rem;
  align-items: start;
}

.policy-main {
  display: grid;
  gap: 1rem;
}

.policy-card {
  border-left: 4px solid var(--cyan);
}

.policy-card.warn {
  border-left-color: var(--gold);
}

.policy-card.danger {
  border-left-color: var(--red);
}

.policy-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.side-panel {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 0.8rem;
}

.side-panel .card {
  background: var(--panel-strong);
}

.mail-link {
  color: var(--cyan);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.4rem 0;
  background: #030610;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (min-width: 860px) {
  .site-nav {
    display: flex;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.55rem;
  }

  .grid.four,
  .grid.three,
  .grid.two,
  .media-band,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 560px;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(var(--max), calc(100% - 1rem));
  }

  .brand span {
    display: none;
  }

  .hero,
  .hero.page-hero {
    min-height: auto;
    padding: 5.6rem 0 3.4rem;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header,
  .footer-inner {
    display: grid;
  }

  .button,
  .language-select {
    width: 100%;
  }

  .language-select {
    max-width: 8.5rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .phone-stack {
    min-height: 450px;
  }

  .phone-shot {
    width: 62%;
  }
}

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

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
