:root {
  color-scheme: dark;
  --bg: #08090d;
  --text: #fff8ea;
  --muted: #d7cfc0;
  --line: rgba(255, 221, 155, 0.2);
  --gold: #f6c45c;
  --orange: #f0782f;
  --green: #28a977;
  --panel: rgba(255, 255, 255, 0.06);
  --shadow: rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 35%, rgba(96, 38, 180, 0.3), transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(0, 130, 255, 0.2), transparent 40%),
    linear-gradient(180deg, #070616 0%, #0b0820 45%, #050510 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 74%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 16px 20px;
}

.top-bar {
  display: grid;
  position: relative;
  z-index: 4;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f9e7bd;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--green));
  box-shadow: 0 0 22px rgba(246, 196, 92, 0.78);
}

.language-control {
  grid-column: 2;
  justify-self: center;
}

.language-control select {
  min-width: 68px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(8, 9, 13, 0.84);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.corner-arrow {
  position: fixed;
  z-index: 50;
  top: 6px;
  right: -26px;
  width: 112px;
  height: auto;
  pointer-events: none;
  transform-origin: center;
  animation: pointUp 1.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 52px);
  padding: 50px 0 0;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.lead {
  max-width: 34rem;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.48;
}

.steps {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.3;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #171006;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-weight: 950;
}

.tournament-note {
  max-width: 90%;
  margin: 16px auto 0;
  color: #ffe1a2;
  text-align: center;
}

.wm-badge-wrap {
  text-align: center;
}

.tournament-note__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 12px auto 14px;
  padding: 7px 10px;
  border: 1px solid rgba(125, 92, 255, 0.38);
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(96, 38, 180, 0.34), rgba(0, 130, 255, 0.2)),
    rgba(8, 8, 22, 0.32);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.tournament-note p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.4;
}

.hero-phone-wrap {
  display: flex;
  position: relative;
  justify-content: center;
  margin: 16px auto 0;
  background: transparent;
}

.hero-phone-wrap::before {
  position: absolute;
  right: 10%;
  bottom: 10%;
  left: 10%;
  height: 38%;
  border-radius: 999px;
  content: "";
  background: rgba(246, 196, 92, 0.18);
  filter: blur(34px);
}

.hero-phone {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 42px rgba(80, 42, 180, 0.22));
}

.language-control select:focus-visible {
  outline: 3px solid rgba(255, 225, 154, 0.9);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes pointUp {
  0%,
  100% {
    opacity: 0.9;
    transform: translateY(0) rotate(-90deg) scale(1);
  }

  45% {
    opacity: 1;
    transform: translateY(-8px) rotate(-90deg) scale(1.05);
  }
}

@media (min-width: 540px) {
  .page-shell {
    padding: 20px 22px 28px;
  }

  .hero {
    padding-top: 64px;
  }

  .corner-arrow {
    right: -26px;
  }

  .hero-phone-wrap {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-phone {
    width: 100%;
  }
}
