:root {
  --navy-950: #061633;
  --navy-900: #0b1f4d;
  --blue-600: #2563eb;
  --red-600: #c62828;
  --red-500: #dc2626;
  --white: #ffffff;
  --off-white: #f8fafc;
  --muted: #dbeafe;
  --gold: #f5c542;
  --line: rgba(255,255,255,.22);
  --shadow: 0 30px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: linear-gradient(120deg, rgba(185,28,28,.20), transparent 34rem),
              radial-gradient(circle at top right, rgba(37,99,235,.32), transparent 38rem),
              var(--navy-950);
  line-height: 1.55;
}

a { color: inherit; }
img, iframe, video { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 9999;
}
.skip-link:focus { left: 8px; }

.hj-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hj-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 22, 51, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.hj-header-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.hj-logo {
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .045em;
  text-decoration: none;
}
.hj-logo span { color: var(--gold); }

.hj-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hj-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
}
.hj-nav a:hover { color: #fff; }

.hj-main { min-height: 70vh; }

.hj-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--off-white);
}
.hj-footer p { margin: 0; }

.hero {
  padding: 76px 0 46px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.06) 0 10%, transparent 10% 18%, rgba(255,255,255,.04) 18% 26%, transparent 26%),
              repeating-linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,.02) 1px, transparent 1px, transparent 22px);
  opacity: .55;
  pointer-events: none;
}

.hero-grid, .split {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.12);
  border: 1px solid var(--line);
  color: var(--off-white);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 900;
}

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .14em;
  margin: 20px 0 10px;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.06em;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  max-width: 720px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--red-600);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 32px rgba(198,40,40,.30);
  text-decoration: none;
  font-weight: 950;
  cursor: pointer;
}
.button:hover { background: var(--red-500); }
.button.secondary {
  background: rgba(255,255,255,.10);
  box-shadow: none;
  border: 2px solid rgba(255,255,255,.42);
}
.button.light {
  background: var(--white);
  color: var(--navy-900);
}

.section { padding: 68px 0; }

.section.light {
  background: var(--off-white);
  color: var(--navy-950);
}
.section.light .lead,
.section.light p,
.section.light li,
.section.light .help { color: #334155; }

.card-grid, .hero-stats, .video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-stats { margin-top: 30px; gap: 14px; }

.stat, .card, .progress-panel, .form-card, .launch-card, .faq-item, .game-panel {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.11);
  border-radius: 24px;
  padding: 24px;
}

.launch-card {
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
}

.stat strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}

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

.section.light .card,
.section.light .faq-item,
.section.light .game-panel {
  background: var(--white);
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 35px rgba(15,23,42,.08);
}

.game-image-link {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.game-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.game-placeholder {
  aspect-ratio: 16 / 10;
  border: 10px solid rgba(2,6,23,.85);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(185,28,28,.74), rgba(255,255,255,.12), rgba(29,78,216,.82));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.play {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #b91c1c;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  font-weight: 950;
}

.progress-item + .progress-item { margin-top: 22px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 950;
  margin-bottom: 8px;
}
.progress-track {
  height: 18px;
  background: rgba(255,255,255,.16);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
}
.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-600), var(--white), var(--blue-600));
}

form.form-card {
  max-width: 780px;
  margin: 0 auto;
}
label {
  display: block;
  margin: 18px 0 7px;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 14px;
  background: rgba(2,6,23,.66);
  color: var(--white);
  padding: 12px 14px;
  font: inherit;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red-600);
  color: #fff;
  font-weight: 950;
  font-size: 1.35rem;
}

.video-grid { grid-template-columns: repeat(2, 1fr); }
.video-box {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(198,40,40,.20), rgba(29,78,216,.22)), #fff;
  border: 1px dashed #93c5fd;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: #334155;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 16px;
}

@media (max-width: 860px) {
  .hj-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .hero-grid, .split, .card-grid, .hero-stats, .video-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 46px 0 30px; }
  .step { grid-template-columns: 1fr; }
}
