:root {
  color-scheme: dark;
  --bg: #07080c;
  --panel: #10131b;
  --panel-soft: rgba(16, 19, 27, 0.78);
  --text: #f5f7fb;
  --muted: #b6bfcc;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #2ce7f2;
  --lime: #c7ff5e;
  --rose: #ff477e;
  --gold: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    padding 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.84);
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 6px;
  color: #061018;
  display: inline-flex;
  font-size: 0.78rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nav-links a,
.header-cta {
  color: rgba(245, 247, 251, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--text);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.language-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-flex;
  padding: 3px;
}

.language-toggle button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: rgba(245, 247, 251, 0.68);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 30px;
  min-width: 38px;
}

.language-toggle button.is-active {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #061018;
}

.hero {
  align-items: center;
  display: flex;
  isolation: isolate;
  min-height: 92vh;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 76px) 8vh;
  position: relative;
}

.hero-art {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  z-index: -3;
}

.hero::after {
  background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 12, 0) 26%);
  content: "";
  inset: auto 0 0;
  height: 42%;
  position: absolute;
  z-index: -1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 12, 0.95) 0%, rgba(7, 8, 12, 0.72) 36%, rgba(7, 8, 12, 0.14) 72%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.78) 0%, rgba(7, 8, 12, 0.05) 45%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-content {
  max-width: 690px;
  padding-top: 4vh;
}

.eyebrow {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.82;
  margin-bottom: 28px;
  max-width: 760px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 620px;
}

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

.button {
  align-items: center;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 18px 44px rgba(44, 231, 242, 0.22);
  color: #061018;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.hero-stats > span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  display: grid;
  gap: 2px;
  min-width: 118px;
  padding: 14px 16px;
}

.hero-stats strong {
  color: var(--text);
  font-size: 1.45rem;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 820px;
}

.feature-band {
  background: #0a0d13;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
}

.feature-card p,
.mode-copy p,
.rank-panel p {
  color: var(--muted);
}

.icon-shell {
  align-items: center;
  border: 1px solid rgba(44, 231, 242, 0.36);
  border-radius: 7px;
  color: var(--cyan);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 28px;
  width: 50px;
}

.split-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.mode-copy {
  max-width: 760px;
}

.mode-list {
  border-top: 1px solid var(--line);
}

.mode-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 74px;
}

.mode-row span {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 800;
}

.mode-row strong {
  color: var(--gold);
}

.games-section {
  background: #07080c;
}

.games-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: clamp(22px, 3vw, 32px);
}

.game-logo-wrap {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  height: 92px;
  justify-content: center;
  overflow: hidden;
  width: 92px;
}

.game-logo {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.game-logo-fallback {
  color: var(--cyan);
  font-size: 1.2rem;
  font-weight: 950;
}

.game-card.featured {
  background:
    linear-gradient(135deg, rgba(44, 231, 242, 0.14), rgba(255, 71, 126, 0.1)),
    var(--panel);
}

.game-status {
  border: 1px solid rgba(199, 255, 94, 0.38);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  justify-self: start;
  padding: 6px 10px;
  width: fit-content;
}

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

.game-card a {
  color: var(--cyan);
  font-weight: 900;
  margin-top: auto;
}

.rank-section {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 71, 126, 0.18), rgba(44, 231, 242, 0.12)),
    #0a0b0f;
  display: grid;
  gap: clamp(26px, 6vw, 76px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
}

.rank-panel {
  max-width: 720px;
}

.rank-meters {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.meter {
  display: grid;
  gap: 10px;
}

.meter span {
  color: var(--muted);
  font-weight: 800;
}

.meter div {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.meter i {
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--cyan));
  display: block;
  height: 100%;
}

.signup-section {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.7fr);
  padding: clamp(64px, 9vw, 104px) clamp(18px, 5vw, 76px);
}

.signup-form {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup-form input {
  background: #11141b;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
}

.form-note {
  color: var(--lime);
  font-size: 0.92rem;
  grid-column: 1 / -1;
  min-height: 1.4em;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.trailer-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.76);
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 40;
}

.trailer-modal:not([hidden]) {
  display: flex;
}

.trailer-card {
  background: #0d1017;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 860px;
  padding: clamp(20px, 3vw, 34px);
  position: relative;
  width: min(100%, 860px);
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.8rem;
  height: 42px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
}

.video-placeholder {
  align-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(44, 231, 242, 0.18), rgba(255, 71, 126, 0.16)),
    #05070a;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.video-placeholder span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 900;
  padding: 12px 18px;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 34px clamp(18px, 5vw, 76px);
}

.site-footer p {
  color: var(--muted);
  margin: 14px 0 0;
  max-width: 440px;
}

.footer-brand {
  width: fit-content;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}

.footer-links a,
.policy-page a {
  color: var(--cyan);
  font-weight: 800;
}

.footer-links a:hover,
.policy-page a:hover {
  color: var(--lime);
}

.policy-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 76px);
}

.policy-page {
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 40px);
}

.policy-page h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 18px;
  max-width: 900px;
}

.policy-date {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 44px;
}

.policy-section {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.policy-section h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 1.02rem;
}

.policy-section ul {
  margin: 0;
  padding-left: 22px;
}

.policy-link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-link-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
}

.policy-link-grid span {
  color: var(--muted);
  font-weight: 500;
}

.policy-footer {
  justify-content: center;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 12, 0.96) 0%, rgba(7, 8, 12, 0.72) 58%, rgba(7, 8, 12, 0.28) 100%),
      linear-gradient(180deg, rgba(7, 8, 12, 0.62), rgba(7, 8, 12, 0.2));
  }

  .feature-grid,
  .games-grid,
  .split-section,
  .rank-section,
  .signup-section,
  .policy-link-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    font-size: 0.82rem;
    padding: 9px 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-toggle button {
    min-width: 32px;
  }

  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: 4rem;
  }

  .hero-actions,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .button,
  .signup-form button {
    width: 100%;
  }

.hero-stats > span {
    flex: 1 1 130px;
  }

  .policy-header {
    padding-inline: 14px;
  }

  .policy-page h1 {
    font-size: 3rem;
  }
}
