:root {
  color-scheme: dark;
  --bg: #07100c;
  --surface: #0d1712;
  --surface-2: #122018;
  --surface-soft: rgba(255, 255, 255, 0.08);
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --soft: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.14);
  --brand: #ffe100;
  --brand-2: #0b8d3d;
  --accent: #e52f2f;
  --cta: #ffe100;
  --cta-ink: #10140b;
  --radius: 8px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  font-family: Inter, Arial, "Helvetica Neue", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at top, color-mix(in srgb, var(--brand-2) 30%, #020403), #030504 48%, #010201);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site {
  position: relative;
  width: min(100%, 460px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 90px rgba(0, 0, 0, 0.45);
  padding-bottom: 84px;
}

.shell {
  width: calc(100% - 24px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1;
}

.mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand-2) 68%, #fff));
  color: var(--cta-ink);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--brand) 28%, transparent);
  font-size: 15px;
}

.brand small {
  display: block;
  max-width: 150px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links,
.btn.ghost {
  display: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(180deg, #fff6a6, var(--cta));
  color: var(--cta-ink);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--cta) 28%, transparent);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 474px;
  padding: 24px 0 18px;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 74%, transparent) 44%, transparent),
    linear-gradient(180deg, transparent 0%, var(--bg) 98%),
    var(--hero-image, none) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero .shell {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-2) 24%, transparent);
  color: var(--brand);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 950;
}

.hero h1 {
  max-width: 330px;
  margin: 18px 0 0;
  color: var(--hero-title, var(--ink));
  font-size: 39px;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 strong {
  display: block;
  color: var(--brand);
}

.hero p {
  max-width: 312px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  margin: 0 auto 12px;
}

.trust-item {
  min-height: 74px;
  background: color-mix(in srgb, var(--surface) 92%, #fff);
  padding: 10px 6px;
  text-align: center;
}

.trust-item b {
  display: block;
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

section {
  padding: 12px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-head h2,
.section-title h2 {
  margin: 0;
  color: var(--section-title, var(--brand));
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-head a {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.section-title {
  margin-bottom: 10px;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  padding: 12px 8px;
}

.quick-link {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--ink);
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
}

.quick-link img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--brand) 34%, transparent);
}

.panel,
.card,
.feature,
.offer-card,
.faq details,
.download-card {
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, #fff), var(--surface));
  box-shadow: var(--shadow);
}

.promo-hero {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  padding: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand-2) 58%, #101010), transparent),
    var(--promo-image, var(--hero-image)) center / cover no-repeat;
}

.promo-hero h3,
.feature h3,
.card h3,
.offer-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.promo-hero b,
.offer-card b,
.number-big {
  display: block;
  color: var(--brand);
  font-size: 42px;
  font-weight: 1000;
  line-height: 1;
}

.promo-hero span,
.offer-card span,
.card p,
.feature p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.48;
}

.live-grid,
.cards,
.offer,
.game-grid {
  display: grid;
  gap: 10px;
}

.live-grid.two {
  grid-template-columns: 1fr 1fr;
}

.feature,
.card,
.offer-card {
  padding: 14px;
}

.feature {
  overflow: hidden;
}

.feature img {
  width: 100%;
  height: 104px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  object-fit: cover;
}

.score-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  text-align: center;
}

.score-card .teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.score-card .time {
  color: var(--brand);
  font-size: 24px;
  font-weight: 1000;
}

.ball-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ball {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 22%, #fff, var(--accent) 35%, color-mix(in srgb, var(--accent) 55%, #000));
  color: #fff;
  font-weight: 1000;
}

.download-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
}

.download-card img {
  width: 92px;
  height: 126px;
  border-radius: 8px;
  object-fit: cover;
}

.download-card h2 {
  margin: 0;
  color: var(--brand);
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.steps {
  padding: 4px 14px;
}

.step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.step:last-child {
  border-bottom: 0;
}

.step::before {
  content: counter(step);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--cta-ink);
  font-weight: 1000;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.faq details {
  padding: 13px 14px;
}

.faq details + details {
  margin-top: 8px;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer {
  padding: 18px 0 96px;
  color: var(--soft);
  font-size: 12px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.seo-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 460px);
  transform: translateX(50%);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, #000);
  box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.28);
}

.bottom-nav a {
  display: grid;
  min-height: 66px;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.bottom-nav a:first-child,
.bottom-nav a.active {
  color: var(--brand);
}

.bottom-nav b {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.template-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.template-link {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
}

.template-link strong {
  color: var(--brand);
}

.template-link span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .site {
    margin-top: 22px;
    margin-bottom: 22px;
    border-radius: 8px;
  }
}
