@font-face { font-family: BR; font-weight: 900; font-display: swap; src: url(img/rubik-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: BR; font-weight: 900; font-display: swap; src: url(img/rubik-900-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --blue: #1449c4; --blue2: #2f7bff; --navy: #0a1640; --ink: #050e30;
  --gold: #ffd400; --gold2: #ffae00; --green: #59d36b; --green2: #1f9d3a; --text: #fff; --soft: #cfe0ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); overflow-x: hidden;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 17px; line-height: 1.5;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #4aa8ff 0%, #1f74ee 35%, #1449c4 65%, #0d2f8a 100%) fixed, #0d2f8a;
}
.rays { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .55;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.10) 0 6deg, rgba(255,255,255,0) 6deg 15deg);
  animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rays, .belt, .play { animation: none !important; } }

h1, h2, .tag, .btn, .brand span, .sec, .steps b, .lang { font-family: BR, system-ui, sans-serif; font-weight: 900; }
.stroke, h1, h2 { text-shadow: 0 3px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink), 2px 3px 0 var(--ink), -2px 3px 0 var(--ink); }

/* top bar */
.top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; max-width: 1180px; margin: 0 auto; z-index: 3; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; letter-spacing: .5px; }
.brand img { border-radius: 10px; border: 2px solid var(--ink); }
.lang { background: var(--navy); color: var(--gold); border: 3px solid var(--ink); border-radius: 12px; padding: 6px 14px;
  font-size: 15px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }

main { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px; min-height: min(100vh, 880px); padding: 80px 0 40px; }
.logo { width: min(440px, 100%); height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.tag { display: inline-block; margin: 4px 0 18px 12px; padding: 6px 16px; border-radius: 10px; background: #000; color: var(--gold);
  font-size: 15px; letter-spacing: 2px; transform: skewX(-8deg); }
h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 0 0 14px; }
.lead { color: var(--soft); font-size: clamp(16px, 1.6vw, 19px); max-width: 520px; margin: 0 0 26px; font-weight: 600; }
.hero-art img { width: 115%; max-width: none; height: auto; margin-left: -5%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.4)); }

/* buttons in the game's style */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; color: #fff;
  border: 4px solid var(--ink); border-radius: 18px; padding: 16px 30px; font-size: clamp(19px, 2vw, 24px); letter-spacing: .5px;
  text-shadow: 0 2px 0 #0a4a18; box-shadow: 0 7px 0 var(--ink), inset 0 6px 0 rgba(255,255,255,.35);
  transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink), inset 0 6px 0 rgba(255,255,255,.35); }
.play { background: linear-gradient(180deg, #7be88a, var(--green) 40%, var(--green2)); animation: pulse 1.8s ease-in-out infinite; }
.play svg { width: 30px; height: 30px; fill: #fff; filter: drop-shadow(0 2px 0 #0a4a18); flex: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.play:hover { filter: brightness(1.07); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { background: rgba(5,14,48,.55); border: 2px solid rgba(255,255,255,.18); border-radius: 999px; padding: 5px 14px;
  font-size: 14px; font-weight: 700; color: var(--soft); }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 10px 0 70px; }
.card { position: relative; border: 4px solid var(--ink); border-radius: 24px; padding: 120px 22px 24px; text-align: center;
  box-shadow: 0 8px 0 var(--ink), inset 0 0 0 3px rgba(255,255,255,.18); margin-top: 60px; }
.card img { position: absolute; left: 50%; top: -62px; width: 170px; height: 170px; object-fit: contain; transform: translateX(-50%);
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.card img.gem { width: 130px; height: 130px; top: -36px; }
.card h2 { font-size: 26px; margin: 0 0 8px; }
.card p { margin: 0; color: #eef4ff; font-weight: 600; }
.blue { background: linear-gradient(180deg, #3f86ff, #1b4fd0); }
.green { background: linear-gradient(180deg, #4fc45f, #1d7f33); }
.orange { background: linear-gradient(180deg, #ffa43a, #e2560f); }

.sec { text-align: center; font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 22px; }

/* hero strip */
.squad { margin: 0 -16px 70px; }
.strip { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.belt { display: flex; gap: 18px; width: max-content; animation: belt 40s linear infinite; }
.belt img { width: 130px; height: 130px; object-fit: contain; background: radial-gradient(circle at 50% 40%, #4aa8ff, #1449c4 75%);
  border: 4px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); padding: 6px; }
@keyframes belt { to { transform: translateX(calc(-50% - 9px)); } }

/* race */
.race { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(180deg, #2a62e8, #12307f);
  border: 4px solid var(--ink); border-radius: 26px; padding: 22px; box-shadow: 0 8px 0 var(--ink), inset 0 0 0 3px var(--gold); margin-bottom: 70px; }
.race img { width: 100%; border-radius: 16px; border: 3px solid var(--ink); display: block; }
.race h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 10px; color: var(--gold); }
.race p { margin: 0; color: var(--soft); font-weight: 600; }

/* steps */
.steps { text-align: center; margin-bottom: 80px; }
.steps ol { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: rgba(5,14,48,.55); border: 3px solid rgba(255,255,255,.15); border-radius: 20px; padding: 18px; display: flex;
  align-items: center; gap: 14px; text-align: left; font-weight: 700; }
.steps b { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: #3b2300;
  background: linear-gradient(180deg, #fff36b, var(--gold) 50%, var(--gold2)); border: 3px solid var(--ink); }

footer { background: rgba(5,14,48,.8); padding: 30px 16px 110px; text-align: center; color: #9fb4e6; font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 12px; }
footer a { color: #fff; font-weight: 700; }
footer p { margin: 6px auto; max-width: 720px; }

.sticky { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 5; display: none;
  animation: none; padding: 14px; }
.sticky.on { display: flex; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 64px; gap: 0; }
  .hero-art { order: -1; margin: 0 -16px; }
  .hero-art img { width: 100%; margin: 0; }
  .logo { margin: -40px auto 0; width: min(330px, 80%); position: relative; }
  .tag { margin-left: 0; }
  .lead { margin-left: auto; margin-right: auto; }
  .chips { justify-content: center; }
  .btn.play { width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 6px; margin-top: 30px; }
  .race { grid-template-columns: 1fr; text-align: center; }
  .steps ol { grid-template-columns: 1fr; }
  .belt img { width: 104px; height: 104px; }
}
@media (min-width: 861px) { .sticky.on { display: none; } }

/* policy pages */
.doc { max-width: 820px; margin: 0 auto; padding: 90px 16px 60px; }
.doc .paper { background: rgba(5,14,48,.72); border: 4px solid var(--ink); border-radius: 24px; padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 8px 0 var(--ink), inset 0 0 0 3px rgba(255,255,255,.12); }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin: 30px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #e3ecff; }
.doc a { color: var(--gold); }
.doc .upd { color: #9fb4e6; font-size: 14px; }
.doc .back { display: inline-block; margin-top: 26px; }
.note { margin: 10px 0 0; font-size: 13px; color: #a9c2f5; font-weight: 600; }
