:root {
  color-scheme: dark;
  --bg: #08070a;
  --panel: rgba(18, 17, 22, 0.88);
  --panel-strong: #151318;
  --line: rgba(255, 255, 255, 0.12);
  --text: #fffaf4;
  --muted: #bbb1aa;
  --gold: #ffc75a;
  --hot: #ff4f46;
  --rose: #ff6f9b;
  --green: #33e6a0;
  --blue: #6ecbff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(8, 7, 10, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.telegram-link,
.header-cta,
.primary-cta,
.secondary-cta,
.bonus-card a,
.sticky-cta a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.brand {
  justify-self: start;
  gap: 10px;
  text-transform: uppercase;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 24px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 199, 90, 0.8);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 250, 244, 0.72);
  text-transform: uppercase;
}

nav a:hover {
  color: var(--gold);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.telegram-link {
  width: 42px;
  border: 1px solid rgba(110, 203, 255, 0.42);
  border-radius: 8px;
  background: rgba(110, 203, 255, 0.12);
  color: var(--blue);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.telegram-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.telegram-link:hover {
  border-color: rgba(110, 203, 255, 0.9);
  background: rgba(110, 203, 255, 0.2);
  transform: translateY(-1px);
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 199, 90, 0.42);
  border-radius: 8px;
  background: rgba(255, 199, 90, 0.12);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 84px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 7, 10, 0.98) 0%, rgba(8, 7, 10, 0.78) 38%, rgba(8, 7, 10, 0.35) 100%),
    linear-gradient(0deg, rgba(8, 7, 10, 1) 0%, rgba(8, 7, 10, 0.2) 52%, rgba(8, 7, 10, 0.4) 100%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(51, 230, 160, 0.9);
}

h1,
h2 {
  margin: 0;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  max-width: 720px;
  font-size: clamp(58px, 9vw, 124px);
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.hero p {
  max-width: 650px;
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-cta,
.secondary-cta,
.bonus-card a {
  border-radius: 8px;
  padding: 0 22px;
}

.primary-cta {
  background: linear-gradient(135deg, var(--hot), var(--gold));
  color: #160a08;
  box-shadow: 0 12px 42px rgba(255, 79, 70, 0.34);
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(8, 7, 10, 0.52);
  color: rgba(255, 250, 244, 0.88);
  font-weight: 900;
}

.section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin-top: 10px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bonus-card,
.calculation,
.leaderboard,
.race-panel,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.bonus-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.bonus-card.featured {
  background:
    linear-gradient(160deg, rgba(255, 79, 70, 0.24), rgba(255, 199, 90, 0.11)),
    var(--panel-strong);
  border-color: rgba(255, 199, 90, 0.38);
}

.bonus-topline {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.bonus-card strong {
  display: block;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 64px;
  line-height: 0.9;
  text-transform: uppercase;
}

.bonus-card a {
  margin-top: auto;
  background: rgba(51, 230, 160, 0.14);
  color: var(--green);
  border: 1px solid rgba(51, 230, 160, 0.38);
}

.example-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.example-copy h2,
.race-panel h2,
.final-cta h2 {
  margin-top: 10px;
  margin-bottom: 16px;
}

.muted {
  margin-top: 12px;
  color: rgba(187, 177, 170, 0.72);
  font-size: 14px;
}

.calculation {
  padding: 18px;
}

.calculation div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.calculation div:last-child {
  border-bottom: 0;
}

.calculation span {
  color: var(--muted);
  font-weight: 800;
}

.calculation strong {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 36px;
}

.race-section {
  padding-top: 40px;
}

.race-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(110, 203, 255, 0.14), rgba(255, 79, 70, 0.12)),
    var(--panel);
}

.race-prize {
  min-width: 220px;
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.race-prize span,
.race-prize small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.race-prize strong {
  display: block;
  margin: 8px 0;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 76px;
  line-height: 0.9;
  color: var(--gold);
}

.leaderboard {
  margin-top: 14px;
  overflow: hidden;
}

.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr 120px;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
}

.leaderboard-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.leaderboard-row {
  border-top: 1px solid var(--line);
  color: rgba(255, 250, 244, 0.86);
  font-weight: 800;
}

.leaderboard-row.podium {
  color: var(--gold);
}

.final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 40px clamp(18px, 5vw, 72px) 80px;
  padding: 24px;
}

.final-cta img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

footer {
  padding: 28px clamp(18px, 5vw, 72px) 96px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--text);
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 28px;
  text-transform: uppercase;
}

footer p {
  max-width: 920px;
  margin-top: 8px;
  font-size: 13px;
}

.sticky-cta {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 199, 90, 0.4);
  border-radius: 8px;
  padding: 10px 10px 10px 16px;
  background: rgba(15, 13, 16, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.sticky-cta span {
  color: rgba(255, 250, 244, 0.86);
  font-weight: 800;
}

.sticky-cta a {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--gold);
  color: #130d06;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .example-section,
  .race-panel,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta .primary-cta {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .telegram-link {
    width: 38px;
    min-height: 38px;
  }

  .hero {
    min-height: 88vh;
    padding: 320px 18px 58px;
  }

  .hero-bg {
    bottom: auto;
    height: 55%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 7, 10, 0.08) 0%, rgba(8, 7, 10, 0.12) 34%, rgba(8, 7, 10, 0.88) 58%, rgba(8, 7, 10, 1) 100%),
      linear-gradient(90deg, rgba(8, 7, 10, 0.18), rgba(8, 7, 10, 0.08));
  }

  h1 {
    max-width: 420px;
    font-size: clamp(54px, 17vw, 82px);
  }

  .section {
    padding: 54px 18px;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-head,
  .leaderboard-row {
    grid-template-columns: 58px 1fr 74px;
  }

  .leaderboard-head span:nth-child(3),
  .leaderboard-row span:nth-child(3) {
    display: none;
  }

  .race-prize {
    min-width: 0;
  }

  .final-cta {
    margin: 20px 18px 92px;
  }

  .sticky-cta {
    align-items: stretch;
    flex-direction: column;
  }
}
