:root {
  --bg: #0b1d33;
  --bg2: #071322;
  --card: #10263f;
  --text: #e8f1f8;
  --muted: #9fb3c8;
  --accent: #ffb454;
  --accent2: #4fd1c5;
  --line: #1d3a5c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.langs { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; }

.langs a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.langs a:hover { color: var(--text); }
.langs a[aria-current="page"] { color: var(--accent); }

main { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

section { padding: 3rem 0; }

.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-top: 2rem;
}

.hero-text { flex: 1 1 24rem; }

h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.cta-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #23150a;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 180, 84, 0.35);
}

.cta-note { color: var(--muted); font-size: 0.9rem; }

.hero-watch {
  width: min(340px, 80vw);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.benefit img {
  width: min(300px, 70vw);
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid var(--line);
}

.benefit.flip { flex-direction: row-reverse; }

.benefit-text { flex: 1 1 24rem; }

.kicker {
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}

h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.75rem; }

.benefit p, .watch p { color: var(--muted); }

.watch, .features, .faq {
  border-top: 1px solid var(--line);
}

.watch p { max-width: 46rem; }

.watch-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1rem;
  margin-top: 2rem;
}

.watch-row img {
  width: min(240px, 42vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.features ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.75rem 2rem;
  margin-top: 1rem;
}

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

.features li::before {
  content: "🐟";
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  color: var(--accent2);
  font-size: 1.2rem;
}

.faq details[open] summary::after { content: "–"; }

.faq details p { color: var(--muted); padding-top: 0.6rem; max-width: 46rem; }

.bottom-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}

.bottom-cta .cta-note { display: block; margin-top: 0.9rem; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .langs { justify-content: center; margin-bottom: 0.9rem; }

footer a { color: var(--muted); }

/* Листикл */
main.article { max-width: 46rem; }
.article h1 { margin-top: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1rem; }
.note {
  color: var(--muted);
  font-size: 0.95rem;
  border-left: 3px solid var(--accent2);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.games { list-style: none; }
.game {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.game-text { flex: 1 1 20rem; }
.game h2 { margin-bottom: 0.25rem; }
.game-text > p { color: var(--muted); }
.game-text > p + p { margin-top: 0.75rem; }
.game .game-meta { color: var(--accent2); font-size: 0.85rem; font-weight: 600; }
.game-text a:not(.cta) { color: var(--accent2); }
.game img {
  width: min(220px, 50vw);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}
.checked {
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.text { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.text p { color: var(--muted); }
.text p + p { margin-top: 0.75rem; }
.guides { list-style: none; }
.guides li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.guides a { color: var(--text); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.guides a:hover { color: var(--accent); }
.guides p { color: var(--muted); margin-top: 0.35rem; }

/* Страница политики */
.doc { max-width: 46rem; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
.doc h1 { margin: 1.5rem 0 1rem; }
.doc h2 { margin: 1.75rem 0 0.5rem; font-size: 1.25rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.4rem; margin: 0.5rem 0; }
.doc a { color: var(--accent2); }

@media (max-width: 720px) {
  .hero, .benefit, .benefit.flip {
    flex-direction: column;
    text-align: left;
    gap: 1.75rem;
  }
  /* в колонке flex-basis 24rem стал бы высотой блока */
  .hero-text, .benefit-text, .game-text { flex-basis: auto; }
  .game { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  section { padding: 2.25rem 0; }
}
