:root {
  --bg-0: #060913;
  --bg-1: #0d1325;
  --bg-2: #111a30;
  --line: rgba(142, 160, 200, 0.28);
  --text: #edf3ff;
  --muted: #b0bedb;
  --gold: #d8b373;
  --emerald: #24c8a7;
  --shadow: 0 26px 62px rgba(2, 7, 19, 0.55);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 8% -8%, #445fd144, transparent 60%),
    radial-gradient(1000px 640px at 94% -4%, #23948b52, transparent 62%),
    radial-gradient(800px 620px at 50% 112%, #7e5ce033, transparent 64%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(138, 156, 198, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 156, 198, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 22%, black 15%, transparent 72%);
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 82px 0; }
.alt { background: linear-gradient(180deg, rgba(18, 28, 46, 0.64), transparent); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(7, 10, 20, 0.74), rgba(10, 17, 31, 0.8));
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.header.scrolled {
  border-bottom-color: var(--line);
  background: linear-gradient(90deg, rgba(7, 10, 20, 0.94), rgba(10, 17, 31, 0.96));
}
.nav { min-height: 74px; display: flex; align-items: center; gap: 14px; }

.brand { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px;
  display: grid; place-items: center; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em;
  background: linear-gradient(145deg, var(--gold), #c7862b); color: #1d1210;
}
.brand-text { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: 0.03em; }
.brand-text span { color: var(--gold); }

.menu { display: flex; gap: 8px; margin-left: auto; }
.menu a {
  text-decoration: none; color: var(--muted); font-weight: 600;
  padding: 8px 11px; border-radius: 9px; transition: .2s ease;
}
.menu a:hover { color: var(--text); background: rgba(84, 106, 164, 0.22); }

.actions { display: flex; gap: 8px; }
.lang {
  border: 1px solid var(--line);
  background: rgba(20, 31, 50, 0.66);
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
}

.btn {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 10px 15px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(19, 30, 50, 0.64); }
.btn.primary { background: linear-gradient(145deg, #37dfca, #1ea994); color: #03241f; }
.btn.secondary { border-color: #455d8a; color: var(--text); background: rgba(22, 34, 55, 0.64); }
.btn.small { display: inline-block; margin-top: 8px; padding: 8px 12px; background: #223658; color: var(--text); border-color: #385382; }
.block { display: block; text-align: center; }

.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--text); margin: 4px 0; }

.legal {
  text-align: center;
  padding: 6px 10px 8px;
  border-top: 1px solid rgba(107, 128, 172, 0.24);
  color: #9ebae3;
  font-size: 0.76rem;
}

.hero { padding-top: 62px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 20px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: #7edace; letter-spacing: 0.17em; font-size: 0.74rem; font-weight: 700; }
h1, h2, h3, h4 { margin: 0; font-family: 'Sora', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(1.95rem, 4.2vw, 3.2rem); }
.hero-copy p { margin: 14px 0 0; color: var(--muted); max-width: 64ch; line-height: 1.62; }
.hero-cta { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero-tags span {
  border: 1px solid #425987;
  border-radius: 999px;
  padding: 4px 10px;
  color: #b8cdf4;
  font-size: 0.78rem;
}

.hero-board {
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 410px;
  background: linear-gradient(160deg, rgba(20, 32, 55, 0.86), rgba(14, 23, 39, 0.9));
  box-shadow: var(--shadow);
  padding: 14px;
}
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.board-head strong { font-family: 'Sora', sans-serif; }
.board-head span { color: #9ab3e2; font-size: 0.82rem; }
.match-row {
  border: 1px solid rgba(146, 165, 208, 0.32);
  border-radius: 12px;
  background: rgba(21, 33, 54, 0.72);
  padding: 10px;
  margin-top: 10px;
}
.match-row p { margin: 0; color: #9fb6e3; font-size: 0.78rem; }
.match-row h3 { margin-top: 4px; font-size: 0.96rem; }
.odds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.odds button {
  border: 1px solid rgba(141, 161, 205, 0.38);
  background: #1b2b46;
  color: #dce8ff;
  border-radius: 9px;
  padding: 7px 10px;
  font-weight: 700;
}
.odds b { color: #ffd089; margin-left: 6px; }
.board-foot { margin-top: 12px; display: flex; justify-content: space-between; color: #a9bfe7; font-size: 0.86rem; }
.board-foot a { color: #8ce7db; text-decoration: none; font-weight: 700; }

.ticker-wrap { padding: 8px 0 16px; }
.ticker {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(17, 26, 44, 0.68);
  padding: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tick {
  border: 1px solid rgba(141, 161, 204, 0.34);
  background: rgba(27, 40, 65, 0.68);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  color: #b7cbf2;
}

.head h2 { margin-top: 6px; font-size: clamp(1.45rem, 3vw, 2.35rem); }

.live-grid, .sports-grid, .casino-grid, .features-grid, .steps-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sports-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.casino-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.live-card, .sport-card, .casino-card, .feature, .step-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 25, 42, 0.74);
  padding: 12px;
  transition: .22s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.live-card:hover, .sport-card:hover, .casino-card:hover, .feature:hover { border-color: #79a7f8; }

.live-card p { margin: 0; color: #9fb6e3; font-size: 0.78rem; }
.live-card h3 { margin-top: 4px; font-size: 0.96rem; }
.line { margin-top: 8px; display: flex; justify-content: space-between; color: #b7c9ee; font-size: 0.88rem; }
.line b { color: #ffd089; }

.sport-card { text-decoration: none; color: var(--text); }
.sport-card h3 { font-size: 0.98rem; }
.sport-card p { margin-top: 6px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

.thumb {
  height: 126px;
  border-radius: 10px;
  border: 1px solid rgba(147, 167, 209, 0.34);
  margin-bottom: 10px;
}
.t1 { background: linear-gradient(145deg, #6f4f2f, #3c2a1b); }
.t2 { background: linear-gradient(145deg, #2a5a73, #173341); }
.t3 { background: linear-gradient(145deg, #3f2c69, #24193f); }
.t4 { background: linear-gradient(145deg, #194c64, #113145); }
.casino-card h3 { font-size: 0.99rem; }
.casino-card p { margin: 6px 0; color: var(--muted); font-size: 0.87rem; }

.feature h3 { font-size: 1rem; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

.responsible { background: linear-gradient(180deg, rgba(14, 35, 44, 0.88), rgba(11, 23, 34, 0.86)); }
.responsible-box {
  border: 1px solid #46758d;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 43, 55, 0.9), rgba(14, 30, 43, 0.88));
  padding: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
}
.responsible-box p { margin-top: 10px; color: #c2d8e8; line-height: 1.55; }
.r18 { color: #ffcb83; font-weight: 700; }
.responsible-actions { display: grid; gap: 10px; align-content: start; }

.step-card span {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, #415faa, #283c72);
  color: #dce8ff; font-size: 0.76rem; font-weight: 800;
}
.step-card h3 { margin-top: 10px; font-size: 1rem; }
.step-card p { margin-top: 6px; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

.faq-list { margin-top: 18px; display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 24, 39, 0.74);
  padding: 4px 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 10px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 12px; color: var(--muted); }

.cta-final {
  border: 1px solid #5c7db7;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(29, 46, 75, 0.86), rgba(23, 36, 60, 0.88));
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}
.cta-final p { margin-top: 10px; color: #c2d5f1; line-height: 1.55; }
.cta-actions { display: grid; align-content: center; gap: 10px; }

.footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0a1222, #08101d);
  padding-top: 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr; gap: 14px; }
.footer-grid h4 { margin: 0 0 8px; font-size: 0.94rem; }
.footer-grid a {
  display: block;
  color: #a8bee8;
  margin: 5px 0;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-grid a:hover { color: #dbedff; }
.footer-grid p { margin: 7px 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.f18 { color: #ffcb83; font-weight: 700; }
.footer-bottom {
  margin-top: 12px;
  border-top: 1px solid rgba(103, 126, 173, 0.28);
  padding: 10px 0 14px;
  color: #9db2d9;
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .menu { display: none; }
  .menu-toggle { display: inline-block; }
  .menu.open {
    display: grid;
    position: absolute;
    top: 74px;
    left: 1rem;
    right: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #131d31;
    padding: 10px;
  }
  .hero-grid,
  .cta-final,
  .responsible-box { grid-template-columns: 1fr; }
  .live-grid,
  .sports-grid,
  .casino-grid,
  .features-grid,
  .steps-grid,
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .header .btn,
  .lang { display: none; }
  .live-grid,
  .sports-grid,
  .casino-grid,
  .features-grid,
  .steps-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .section { padding: 62px 0; }
}
