/* ============================================
   russian-bet365.com — основной стиль
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Onest:wght@400;500;600;700&display=swap');

:root {
  --c-green-deep: #053a26;
  --c-green: #007B5B;
  --c-green-light: #14a373;
  --c-yellow: #FFCC00;
  --c-yellow-soft: #FFE066;
  --c-cream: #FFFCF5;
  --c-ink: #0d1410;
  --c-graphite: #4a544e;
  --c-mist: #e8eae6;
  --c-line: #d6dad3;
  --c-bg: #f4f3ee;

  --f-display: 'Unbounded', 'Onest', sans-serif;
  --f-body: 'Onest', 'Helvetica Neue', sans-serif;

  --shadow-soft: 0 1px 2px rgba(13,20,16,.04), 0 8px 24px rgba(13,20,16,.06);
  --shadow-card: 0 2px 4px rgba(13,20,16,.05), 0 12px 32px rgba(13,20,16,.08);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --container: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Заголовок (header) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-green-deep);
  border-bottom: 3px solid var(--c-yellow);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-cream);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--c-yellow);
  display: grid;
  place-items: center;
  color: var(--c-green-deep);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.brand__name { color: var(--c-yellow); }
.brand__name span { color: var(--c-cream); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--c-cream);
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav__link:hover { background: rgba(255,204,0,.15); color: var(--c-yellow); }
.nav__link--active { color: var(--c-yellow); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--c-yellow);
  color: var(--c-green-deep);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 8px;
  border: 2px solid var(--c-yellow);
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.cta-btn:hover { background: #ffd633; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,204,0,.3); }
.cta-btn:active { transform: translateY(0); }
.cta-btn--lg { padding: 16px 32px; font-size: 17px; }
.cta-btn--ghost {
  background: transparent;
  color: var(--c-yellow);
  border: 2px solid var(--c-yellow);
}
.cta-btn--ghost:hover { background: var(--c-yellow); color: var(--c-green-deep); }

.cta-btn__arrow {
  width: 16px; height: 16px;
  display: inline-block;
  transition: transform .2s;
}
.cta-btn:hover .cta-btn__arrow { transform: translateX(3px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255,252,245,.3);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--c-cream);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-cream);
  margin: 4px 0;
  transition: .3s;
}

/* ---------- Героический блок (hero) ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-green-deep) 0%, #0a4d34 60%, var(--c-green) 100%);
  color: var(--c-cream);
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(255,204,0,.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(20,163,115,.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 50 L100 50 M50 0 L50 100' stroke='%23ffffff' stroke-width='0.4' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255,204,0,.14);
  border: 1px solid rgba(255,204,0,.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-yellow);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero__title em {
  font-style: normal;
  color: var(--c-yellow);
  position: relative;
}

.hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  max-width: 620px;
  color: rgba(255,252,245,.85);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,252,245,.18);
  max-width: 820px;
}

.stat__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--c-yellow);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px;
  color: rgba(255,252,245,.7);
  letter-spacing: 0.02em;
}

/* ---------- Секции контента ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--c-cream); }
.section--mist { background: var(--c-mist); }
.section--dark { background: var(--c-green-deep); color: var(--c-cream); }

.section__head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 14px;
}
.section--dark .section__eyebrow { color: var(--c-yellow); }

.section__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--c-ink);
}
.section--dark .section__title { color: var(--c-cream); }

.section__lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--c-graphite);
}
.section--dark .section__lede { color: rgba(255,252,245,.78); }

/* ---------- Карточки преимуществ ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  position: relative;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-green);
}

.feature-card__num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-card__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-line);
}

.feature-card__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card__text {
  color: var(--c-graphite);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Сетка видов спорта ---------- */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.sport-tile {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: all .2s;
  cursor: default;
}
.sport-tile:hover {
  background: var(--c-green-deep);
  border-color: var(--c-green-deep);
  color: var(--c-cream);
  transform: translateY(-2px);
}

.sport-tile__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0,123,91,.1);
  border-radius: 8px;
  color: var(--c-green);
  transition: background .2s, color .2s;
}
.sport-tile:hover .sport-tile__icon {
  background: var(--c-yellow);
  color: var(--c-green-deep);
}

.sport-tile__name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.sport-tile__count {
  font-size: 12px;
  color: var(--c-graphite);
  transition: color .2s;
}
.sport-tile:hover .sport-tile__count { color: rgba(255,252,245,.7); }

/* ---------- Двухколоночный блок ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.split--reverse .split__media { order: -1; }

.split__visual {
  background: var(--c-green-deep);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.split__visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,0,.18) 0%, transparent 70%);
}

.split__caption {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.split__big {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.split__big em { font-style: normal; color: var(--c-yellow); }

.split__list {
  list-style: none;
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.split__list li {
  padding: 12px 0;
  border-top: 1px solid rgba(255,252,245,.15);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.split__list li:last-child { border-bottom: 1px solid rgba(255,252,245,.15); }
.split__list strong { color: var(--c-yellow); font-weight: 600; }

/* ---------- Список с маркерами ---------- */
.bullet-list { list-style: none; }
.bullet-list li {
  position: relative;
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 22px; height: 2px;
  background: var(--c-yellow);
}
.bullet-list strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
}

/* ---------- FAQ-аккордеон (без JS) ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item summary {
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--c-green);
  transition: transform .2s;
  line-height: 1;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item[open] summary { color: var(--c-green); }
.faq__answer {
  padding: 0 28px 24px;
  color: var(--c-graphite);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Призыв к действию (CTA) ---------- */
.cta-band {
  background: var(--c-green-deep);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,204,0,.08);
}
.cta-band__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
  position: relative;
}
.cta-band__sub { color: rgba(255,252,245,.78); font-size: 1rem; position: relative; }

/* ---------- Таблица ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-cream);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.table th, .table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.table thead th {
  background: var(--c-green-deep);
  color: var(--c-yellow);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--c-bg); }

/* ---------- Шаги (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--c-yellow);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
  -webkit-text-stroke: 1px var(--c-green);
  color: transparent;
}
.step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--c-graphite); font-size: 15px; }

/* ---------- Подвал (footer) ---------- */
.site-footer {
  background: var(--c-green-deep);
  color: rgba(255,252,245,.7);
  padding: 64px 0 0;
  margin-top: 80px;
}
.site-footer--no-margin { margin-top: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-yellow);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--c-yellow); }
.footer-col p { font-size: 14px; line-height: 1.65; }

.footer-bottom {
  border-top: 1px solid rgba(255,252,245,.12);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1.5px solid var(--c-yellow);
  color: var(--c-yellow);
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--f-display);
}

/* ---------- Хлебные крошки ---------- */
.crumbs {
  padding: 20px 0;
  font-size: 14px;
  color: var(--c-graphite);
}
.crumbs a { color: var(--c-green); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--c-graphite); margin: 0 8px; }

/* ---------- Текстовые блоки ---------- */
.prose { max-width: 760px; }
.prose h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.prose h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.prose p { margin-bottom: 16px; color: var(--c-ink); line-height: 1.7; }
.prose ul, .prose ol { margin: 16px 0 16px 24px; }
.prose li { margin-bottom: 8px; line-height: 1.65; }
.prose strong { color: var(--c-green-deep); }

.callout {
  background: rgba(255,204,0,.12);
  border-left: 3px solid var(--c-yellow);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-size: 15px;
}
.callout strong { color: var(--c-green-deep); }

/* ---------- Адаптивность ---------- */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-green-deep); flex-direction: column; align-items: stretch;
    padding: 12px; border-top: 1px solid rgba(255,252,245,.1);
    box-shadow: 0 12px 24px rgba(0,0,0,.2); }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 16px; }
  .menu-toggle { display: block; }
  .header-cta-desktop { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; text-align: left; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .cta-btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .split__visual { padding: 32px 28px; min-height: auto; }
  .feature-card, .step { padding: 24px; }
  .cta-band { padding: 32px 24px; }
}
