:root {
  --red: #ff294c;
  --red-2: #ff756d;
  --green: #35f17d;
  --gold: #ffd26a;
  --ink: #f7f7f7;
  --muted: rgba(247, 247, 247, 0.72);
  --line: rgba(255, 255, 255, 0.17);
  --glass: rgba(18, 24, 31, 0.72);
  --glass-strong: rgba(20, 25, 32, 0.86);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #091017;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: #091017;
}

.hero__video,
.hero__veil,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: -4;
  filter: saturate(1.05) contrast(1.05);
}

.hero__veil {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.94) 0, rgba(7, 12, 18, 0.36) 24%, rgba(7, 12, 18, 0.4) 58%, #081018 100%),
    radial-gradient(circle at 50% 36%, rgba(255, 41, 76, 0.18), transparent 39%),
    radial-gradient(circle at 83% 52%, rgba(53, 241, 125, 0.12), transparent 31%);
}

.hero__grid {
  z-index: -2;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent 0, #000 26%, #000 72%, transparent 100%);
}

.site-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
  width: min(1360px, calc(100% - 48px));
  min-height: 106px;
  margin: 0 auto;
  padding: 16px 0;
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 108px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0.93), rgba(8, 13, 20, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  width: 52px;
  color: var(--red);
  filter: drop-shadow(0 0 16px rgba(255, 41, 76, 0.42));
}

.brand__mark svg {
  width: 100%;
  height: auto;
}

.brand__text {
  display: grid;
  gap: 1px;
  line-height: 0.92;
}

.brand__text strong {
  font-size: clamp(35px, 3.2vw, 54px);
  font-weight: 900;
  letter-spacing: 0;
}

.brand__text span {
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: 0.07em;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 1.7vw, 30px);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  position: relative;
  padding: 12px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 106, 0.8);
  border-radius: 10px;
  padding: 0 26px;
  color: #fff7ed;
  background: rgba(255, 41, 76, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 41, 76, 0.34) inset,
    0 0 26px rgba(255, 41, 76, 0.38),
    0 0 24px rgba(255, 210, 106, 0.18) inset;
  font-size: clamp(13px, 1.05vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
}

.header-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, transparent, rgba(53, 241, 125, 0.28), transparent);
  transform: translateX(-100%);
  animation: ctaSweep 3.4s ease-in-out infinite;
}

.header-cta span {
  position: relative;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(18px, 1fr)
    minmax(0, 340px)
    minmax(420px, 760px)
    minmax(0, 320px)
    minmax(18px, 1fr);
  grid-template-rows: minmax(56px, 9vh) auto auto;
  gap: clamp(18px, 2.1vw, 34px);
  align-items: end;
  width: 100%;
  min-height: calc(100svh - 106px);
  padding-bottom: clamp(26px, 5vh, 64px);
}

.hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.48;
}

.drake-figure {
  position: relative;
  z-index: 3;
  grid-column: 1 / 4;
  grid-row: 2 / 4;
  align-self: end;
  justify-self: center;
  width: clamp(330px, 30vw, 470px);
  aspect-ratio: 1725 / 4000;
  margin: 0 0 clamp(120px, 10vh, 180px) clamp(28px, 4vw, 82px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.48));
}

.drake-figure img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
}

.dashboard {
  position: relative;
  z-index: 2;
  grid-column: 3 / 5;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 240px;
  grid-template-rows: 48px 1fr 118px;
  gap: 14px;
  min-height: 486px;
  padding: 74px 20px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    rgba(22, 28, 35, 0.72);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  backdrop-filter: blur(13px);
}

.dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 41, 76, 0.22), transparent 22%),
    radial-gradient(circle at 82% 38%, rgba(53, 241, 125, 0.18), transparent 28%);
}

.dashboard__chrome {
  position: absolute;
  top: 18px;
  left: 22px;
  display: flex;
  gap: 9px;
}

.dashboard__chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dashboard__chrome span:nth-child(1) {
  background: #ff6d5e;
}

.dashboard__chrome span:nth-child(2) {
  background: #ffce55;
}

.dashboard__chrome span:nth-child(3) {
  background: #52da77;
}

.dashboard__side {
  position: relative;
  z-index: 1;
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: -74px 0 -20px -20px;
  padding: 42px 18px 20px;
  border-radius: 18px 0 0 18px;
  background: rgba(11, 16, 23, 0.52);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 900;
}

.mini-logo__mark {
  width: 18px;
  height: 18px;
  border: 4px solid var(--red);
  border-radius: 42% 42% 48% 48%;
  rotate: 45deg;
}

.side-item {
  min-height: 32px;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 700;
}

.side-item--active {
  color: #fff;
  background: rgba(255, 41, 76, 0.18);
}

.dashboard__topbar {
  position: relative;
  z-index: 1;
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search {
  flex: 1;
  min-width: 120px;
  height: 34px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
}

.dashboard__topbar button,
.bet-row button {
  height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 41, 76, 0.32);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.top-dot {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.top-dot--hot {
  position: relative;
}

.top-dot--hot::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.17);
}

.panel strong {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel--chart {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  padding: 18px;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.panel__head span,
.panel__head small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
}

.chart {
  position: absolute;
  inset: 66px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    rgba(4, 9, 12, 0.22);
  background-size: 48px 38px;
}

.chart svg {
  width: 100%;
  height: 100%;
}

.chart__fill {
  fill: url("#chartFill");
}

.chart__line {
  fill: none;
  stroke-width: 3.5;
  vector-effect: non-scaling-stroke;
}

.chart__line--green {
  stroke: var(--green);
  filter: drop-shadow(0 0 7px rgba(53, 241, 125, 0.45));
}

.chart__line--red {
  stroke: var(--red);
  filter: drop-shadow(0 0 7px rgba(255, 41, 76, 0.35));
}

.panel--wins {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  padding: 18px;
}

.win-box {
  display: grid;
  min-height: 86px;
  place-items: center;
  margin: 14px 0;
  border: 1px solid rgba(53, 241, 125, 0.62);
  border-radius: 11px;
  color: var(--green);
  background: rgba(53, 241, 125, 0.12);
  box-shadow:
    0 0 24px rgba(53, 241, 125, 0.24),
    0 0 24px rgba(53, 241, 125, 0.18) inset;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metrics span {
  display: grid;
  min-height: 50px;
  align-content: center;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.metrics b {
  color: var(--green);
  font-size: 13px;
}

.metrics span:first-child b {
  color: #ff7184;
}

.metrics small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
}

.panel--bet {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  padding: 16px;
}

.bet-row {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bet-row span {
  font-size: 28px;
  font-weight: 700;
}

.panel--meter {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.meter {
  position: relative;
  width: min(170px, 100%);
  aspect-ratio: 1.4;
  border-radius: 170px 170px 0 0;
  background:
    conic-gradient(from 270deg at 50% 100%, #ff3150 0 35deg, #ff8e38 35deg 70deg, #ffe667 70deg 102deg, #2ef076 102deg 140deg, rgba(255, 255, 255, 0.15) 140deg 180deg, transparent 180deg);
}

.meter span {
  position: absolute;
  inset: 24px 24px 0;
  border-radius: inherit;
  background: rgba(18, 24, 31, 0.92);
}

.meter i {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 3px;
  height: 74%;
  border-radius: 99px;
  background: #f5f1e8;
  transform: rotate(-18deg);
  transform-origin: bottom center;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.34);
}

.win-box--wide {
  min-height: 76px;
  margin: 0;
  font-size: clamp(32px, 4.2vw, 60px);
}

.panel--stack {
  display: none;
}

.offer-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 38%),
    rgba(21, 27, 33, 0.76);
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
  backdrop-filter: blur(14px);
}

.offer-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255, 41, 76, 0.14)),
    radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.15), transparent 32%);
}

.offer-card {
  z-index: 5;
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  display: grid;
  align-self: end;
  justify-items: center;
  align-content: center;
  min-height: 330px;
  padding: 26px 24px;
  text-align: center;
  transform: translateY(clamp(-360px, -36vh, -260px));
}

.offer-card__tag {
  position: relative;
  z-index: 1;
  min-width: 110px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  padding: 7px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card__old {
  position: relative;
  z-index: 1;
  margin: 32px 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(27px, 2.35vw, 38px);
  font-weight: 900;
  white-space: nowrap;
}

.offer-card__old::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 48%;
  height: 6px;
  border-radius: 99px;
  background: var(--red);
  transform: rotate(-11deg);
  box-shadow: 0 0 13px rgba(255, 41, 76, 0.72);
}

.offer-card strong {
  position: relative;
  z-index: 1;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 210, 106, 0.48);
  font-size: clamp(47px, 4.4vw, 76px);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card small {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  font-style: italic;
  line-height: 1.08;
}

.offer-card__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 58px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 238, 218, 0.82);
  border-radius: 12px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 41, 76, 0.16);
  box-shadow:
    0 0 24px rgba(255, 41, 76, 0.48),
    0 0 18px rgba(255, 238, 218, 0.18) inset;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-row {
  position: relative;
  z-index: 5;
  grid-column: 3 / 5;
  grid-row: 2 / 4;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  transform: translateY(clamp(-360px, -36vh, -260px));
}

.feature-card {
  display: grid;
  justify-items: center;
  min-height: 330px;
  padding: 32px 28px 28px;
  text-align: center;
}

.feature-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(142px, 72%);
  aspect-ratio: 1.12;
  place-items: center;
  margin-bottom: 18px;
}

.feature-card__icon::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  transform: rotate(30deg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.feature-card__icon span {
  position: relative;
  z-index: 1;
  display: block;
}

.feature-card__icon--asset::before {
  display: none;
}

.feature-card__icon--asset img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.26));
  user-select: none;
}

.feature-card__icon--browser span {
  width: 76px;
  height: 58px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 25% 21%, #ff3150 0 4px, transparent 5px),
    radial-gradient(circle at 42% 21%, #ffce55 0 4px, transparent 5px),
    radial-gradient(circle at 59% 21%, #35f17d 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 30px rgba(255, 41, 76, 0.2);
}

.feature-card__icon--browser span::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -10px;
  width: 40px;
  height: 30px;
  border: 5px solid #66c5ff;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(102, 197, 255, 0.42);
}

.feature-card__icon--brain span {
  width: 86px;
  height: 64px;
  border: 2px solid rgba(93, 226, 255, 0.8);
  border-radius: 50% 44% 48% 48%;
  background:
    radial-gradient(circle at 36% 42%, rgba(93, 226, 255, 0.5), transparent 13px),
    radial-gradient(circle at 64% 43%, rgba(255, 49, 80, 0.42), transparent 14px),
    rgba(93, 226, 255, 0.1);
  box-shadow:
    0 0 28px rgba(93, 226, 255, 0.28),
    0 0 18px rgba(255, 49, 80, 0.22) inset;
}

.feature-card__icon--lock span {
  width: 64px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(145deg, #c6d0db, #5f6b78);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.38);
}

.feature-card__icon--lock span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: -38px;
  width: 42px;
  height: 46px;
  border: 9px solid #cad4df;
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
}

.feature-card__icon--lock span::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 23px;
  width: 8px;
  height: 20px;
  border-radius: 99px;
  background: #111821;
}

.feature-card h2 {
  position: relative;
  z-index: 1;
  margin: auto 0 10px;
  font-size: clamp(19px, 1.7vw, 29px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p {
  position: relative;
  z-index: 1;
  max-width: 270px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.25;
}

@keyframes ctaSweep {
  0%,
  38% {
    transform: translateX(-110%);
  }
  68%,
  100% {
    transform: translateX(110%);
  }
}

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

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero__content {
    grid-template-columns: minmax(18px, 1fr) minmax(0, 760px) minmax(18px, 1fr);
    grid-template-rows: auto auto auto auto;
    padding-top: 34px;
  }

  .hero-copy,
  .drake-figure,
  .dashboard,
  .offer-card,
  .feature-row {
    grid-column: 2 / 3;
  }

  .hero-copy {
    grid-row: 1 / 2;
    max-width: 720px;
    text-align: center;
    justify-self: center;
  }

  .dashboard {
    grid-row: 2 / 3;
  }

  .drake-figure {
    grid-row: 2 / 4;
    justify-self: start;
    width: min(92vw, 720px);
    margin: 0 0 230px -140px;
  }

  .offer-card {
    grid-row: 3 / 4;
    width: min(340px, 100%);
    justify-self: center;
    margin-top: 0;
    transform: none;
  }

  .feature-row {
    grid-row: 4 / 5;
    margin-top: 0;
    transform: none;
  }
}

@media (min-width: 1241px) and (max-height: 940px) {
  .offer-card,
  .feature-card {
    min-height: 278px;
    border-radius: 20px;
  }

  .offer-card {
    padding: 18px 22px;
  }

  .offer-card__tag {
    font-size: 16px;
  }

  .offer-card__old {
    margin: 22px 0 6px;
    font-size: 30px;
  }

  .offer-card strong {
    font-size: 52px;
  }

  .offer-card small {
    margin: 9px 0 16px;
    font-size: 17px;
  }

  .offer-card__button {
    min-height: 48px;
    font-size: 13px;
  }

  .feature-card {
    padding: 24px 22px 20px;
  }

  .feature-card__icon {
    width: min(118px, 64%);
    margin-bottom: 10px;
  }

  .feature-card h2 {
    font-size: 21px;
  }

  .feature-card p {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(100% - 28px, 680px);
    min-height: 92px;
    gap: 12px;
  }

  .site-header::before {
    height: 96px;
  }

  .brand__mark {
    width: 40px;
  }

  .brand__text strong {
    font-size: 31px;
  }

  .brand__text span {
    font-size: 13px;
  }

  .header-cta {
    min-height: 46px;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 11px;
  }

  .nav {
    justify-content: flex-start;
    gap: 20px;
    font-size: 12px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero__content {
    min-height: calc(100svh - 96px);
    padding-bottom: 26px;
  }

  .dashboard {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: unset;
    padding: 64px 16px 16px;
  }

  .drake-figure {
    width: min(112vw, 620px);
    margin: 0 0 260px -180px;
    opacity: 0.92;
  }

  .dashboard__side,
  .panel--bet,
  .top-dot,
  .hero-copy p:last-child {
    display: none;
  }

  .dashboard__topbar,
  .panel--chart,
  .panel--wins,
  .panel--meter {
    grid-column: 1 / 2;
  }

  .dashboard__topbar {
    grid-row: 1 / 2;
  }

  .panel--chart {
    grid-row: 2 / 3;
    min-height: 260px;
  }

  .panel--wins {
    grid-row: 3 / 4;
  }

  .panel--meter {
    grid-row: 4 / 5;
    grid-template-columns: 1fr;
  }

  .meter {
    justify-self: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .hero__video {
    object-position: center;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-cta {
    width: min(100%, 320px);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .dashboard {
    border-radius: 14px;
  }

  .drake-figure {
    width: min(140vw, 560px);
    margin: 0 0 300px -210px;
  }

  .dashboard__topbar {
    flex-wrap: wrap;
  }

  .search {
    flex-basis: 100%;
  }

  .dashboard__topbar button {
    width: 100%;
  }

  .panel--chart {
    min-height: 220px;
  }

  .chart {
    inset: 70px 12px 12px;
  }

  .win-box {
    min-height: 72px;
  }

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

  .offer-card,
  .feature-card {
    border-radius: 18px;
  }

  .offer-card small {
    font-size: 17px;
  }
}

/* Corrected stage layout: predictable layers instead of competing grid transforms. */
.hero {
  overflow-x: hidden;
}

.hero__content {
  position: relative;
  display: block;
  width: min(1460px, calc(100% - 64px));
  min-height: calc(100svh - 106px);
  margin: 0 auto;
  padding: clamp(18px, 2vh, 34px) 0 clamp(34px, 4vh, 58px);
}

.hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dashboard {
  position: absolute;
  top: clamp(84px, 12vh, 148px);
  right: 0;
  width: min(860px, 64vw);
  height: clamp(410px, 48vh, 515px);
  min-height: 0;
  z-index: 2;
}

.drake-figure {
  position: absolute;
  left: clamp(198px, 17vw, 282px);
  bottom: clamp(-150px, -13vh, -88px);
  z-index: 3;
  width: clamp(360px, 30vw, 470px);
  margin: 0;
  aspect-ratio: 1725 / 4000;
  overflow: visible;
  transform: none;
}

.drake-figure img {
  width: 100%;
  height: 100%;
}

.offer-card,
.feature-row {
  position: absolute;
  bottom: 0;
  z-index: 5;
  transform: none;
}

.offer-card {
  left: 0;
  width: min(318px, 23vw);
  min-width: 276px;
  min-height: 286px;
}

.feature-row {
  right: 0;
  width: min(1030px, 74vw);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 286px;
}

@media (min-width: 1241px) and (max-height: 940px) {
  .dashboard {
    top: clamp(74px, 10vh, 112px);
    height: clamp(390px, 47vh, 455px);
  }

  .drake-figure {
    left: clamp(206px, 17vw, 264px);
    bottom: clamp(-160px, -14vh, -108px);
    width: clamp(340px, 28vw, 430px);
  }

  .offer-card,
  .feature-card {
    min-height: 248px;
  }

  .offer-card {
    width: 288px;
  }

  .feature-row {
    width: min(1024px, 73vw);
  }
}

@media (max-width: 1240px) {
  .hero__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: min(860px, calc(100% - 36px));
    min-height: 0;
    padding: 28px 0 42px;
  }

  .dashboard,
  .drake-figure,
  .offer-card,
  .feature-row {
    position: relative;
    inset: auto;
    transform: none;
  }

  .drake-figure {
    order: 1;
    align-self: center;
    width: min(68vw, 390px);
    margin: 0 0 -88px;
  }

  .dashboard {
    order: 2;
    width: 100%;
    height: auto;
    min-height: 486px;
  }

  .offer-card {
    order: 3;
    align-self: center;
    width: min(340px, 100%);
  }

  .feature-row {
    order: 4;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(100% - 28px, 680px);
    min-height: 0;
    gap: 14px;
    padding: 16px 0;
  }

  .site-header::before {
    height: 188px;
  }

  .brand {
    order: 1;
  }

  .header-cta {
    order: 2;
    width: min(100%, 330px);
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding: 0 4px 4px;
    white-space: normal;
  }

  .hero__content {
    width: min(100% - 28px, 620px);
    padding-top: 22px;
  }

  .drake-figure {
    width: min(76vw, 330px);
    margin: 0 0 -62px -40px;
  }

  .dashboard {
    min-height: 0;
    padding: 64px 16px 16px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .feature-card {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .site-header::before {
    height: 246px;
  }

  .site-header {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    transform: scale(0.92);
  }

  .header-cta {
    flex: 0 0 calc(100vw - 28px);
    width: calc(100vw - 28px);
    max-width: none;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 8px 16px;
    justify-content: center;
    justify-items: center;
    font-size: 11px;
  }

  .nav a {
    padding: 6px 0;
  }

  .drake-figure {
    width: min(82vw, 310px);
    margin: 0 0 -54px -52px;
  }

  .dashboard {
    width: 100%;
    border-radius: 14px;
  }

  .offer-card {
    min-width: 0;
  }
}

/* Reference-matched hero composition. */
@media (min-width: 1241px) {
  .hero {
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: clamp(590px, 45vw, 690px);
    --stage-card-gap: 18px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-dashboard-left) + var(--stage-dashboard-width) - var(--stage-box-left) - var(--stage-box-gap) - var(--stage-box-gap) - var(--stage-box-gap)) / 4);
  }

  .site-header {
    width: min(1000px, calc(100% - 64px));
    min-height: 106px;
    gap: 22px;
  }

  .site-header::before {
    height: 106px;
    background: linear-gradient(180deg, rgba(8, 13, 20, 0.95), rgba(8, 13, 20, 0.8));
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 46px;
  }

  .brand__text strong {
    font-size: 38px;
  }

  .brand__text span {
    font-size: 17px;
  }

  .nav {
    gap: 20px;
    font-size: 13px;
    justify-content: center;
  }

  .header-cta {
    min-height: 52px;
    border-radius: 9px;
    padding: 0 20px;
    font-size: 13px;
  }

  .hero__video {
    object-position: center top;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(7, 12, 18, 0.9) 0, rgba(7, 12, 18, 0.23) 22%, rgba(7, 12, 18, 0.2) 62%, #071018 100%),
      radial-gradient(circle at 38% 35%, rgba(255, 41, 76, 0.13), transparent 36%),
      radial-gradient(circle at 75% 42%, rgba(53, 241, 125, 0.1), transparent 30%);
  }

  .hero__content {
    width: min(1180px, calc(100% - 48px));
    height: calc(100svh - 106px);
    min-height: 690px;
    padding: 0;
  }

  .dashboard {
    top: var(--stage-dashboard-top);
    left: var(--stage-dashboard-left);
    right: auto;
    width: var(--stage-dashboard-width);
    height: var(--stage-dashboard-height);
    grid-template-columns: 92px minmax(0, 1fr) 182px;
    grid-template-rows: 40px 1fr 102px;
    gap: 10px;
    padding: 58px 14px 14px;
    border-radius: 14px;
  }

  .dashboard__side {
    margin: -58px 0 -14px -14px;
    padding: 38px 12px 14px;
    border-radius: 14px 0 0 14px;
  }

  .mini-logo {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .side-item {
    min-height: 27px;
    padding: 7px 8px;
    font-size: 10px;
  }

  .dashboard__topbar {
    gap: 9px;
  }

  .search,
  .dashboard__topbar button,
  .bet-row button {
    height: 29px;
    font-size: 9px;
  }

  .top-dot {
    width: 24px;
    height: 24px;
  }

  .panel {
    border-radius: 8px;
  }

  .panel strong {
    font-size: 10px;
  }

  .panel--chart {
    padding: 14px;
  }

  .chart {
    inset: 54px 14px 14px;
  }

  .panel--wins,
  .panel--bet,
  .panel--meter {
    padding: 13px;
  }

  .win-box {
    min-height: 65px;
    margin: 10px 0;
    font-size: 38px;
  }

  .metrics {
    gap: 7px;
  }

  .metrics span {
    min-height: 40px;
  }

  .bet-row {
    min-height: 52px;
  }

  .bet-row span {
    font-size: 24px;
  }

  .panel--meter {
    gap: 12px;
  }

  .win-box--wide {
    min-height: 62px;
    font-size: 42px;
  }

  .drake-figure {
    top: 26px;
    bottom: auto;
    left: clamp(32px, 4.5vw, 78px);
    width: clamp(600px, 44vw, 690px);
    z-index: 4;
    filter:
      drop-shadow(0 34px 54px rgba(0, 0, 0, 0.55))
      brightness(1.08)
      saturate(1.07);
  }

  .offer-card,
  .feature-row {
    top: calc(var(--stage-dashboard-top) + var(--stage-dashboard-height) + var(--stage-card-gap));
    bottom: auto;
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
    min-width: 0;
    min-height: 270px;
    padding: 18px 18px;
    border-radius: 20px;
  }

  .offer-card__tag {
    min-width: 92px;
    padding: 6px 13px;
    font-size: 15px;
  }

  .offer-card__old {
    margin: 24px 0 6px;
    font-size: 27px;
  }

  .offer-card strong {
    font-size: 52px;
  }

  .offer-card small {
    margin: 9px 0 18px;
    font-size: 16px;
  }

  .offer-card__button {
    min-height: 46px;
    border-radius: 9px;
    font-size: 12px;
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    right: auto;
    width: calc(var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-gap) + var(--stage-box-gap));
    grid-template-columns: repeat(3, minmax(0, var(--stage-box-width)));
    gap: var(--stage-box-gap);
  }

  .feature-card {
    min-height: 270px;
    align-content: center;
    gap: 8px;
    padding: 20px 17px;
    border-radius: 20px;
  }

  .feature-card__icon {
    width: min(124px, 74%);
    margin-bottom: 2px;
  }

  .feature-card h2 {
    margin: 0 0 4px;
    font-size: 18px;
  }

  .feature-card p {
    font-size: 11px;
    line-height: 1.18;
  }
}

/* Keep desktop proportions, shift the whole stage into the header lane. */
@media (min-width: 1241px) {
  .hero {
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: clamp(590px, 45vw, 690px);
    --stage-card-gap: 16px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-dashboard-left) + var(--stage-dashboard-width) - var(--stage-box-left) - var(--stage-box-gap) - var(--stage-box-gap) - var(--stage-box-gap)) / 4);
  }

  .hero__content {
    width: min(1180px, calc(100% - 48px));
    transform: translateX(clamp(-170px, -10vw, -96px));
  }

  .dashboard {
    left: var(--stage-dashboard-left);
    width: var(--stage-dashboard-width);
  }

  .drake-figure {
    top: 18px;
    left: clamp(148px, 11vw, 178px);
    width: clamp(500px, 39vw, 590px);
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-gap) + var(--stage-box-gap));
    grid-template-columns: repeat(3, minmax(0, var(--stage-box-width)));
    gap: var(--stage-box-gap);
  }
}

/* Right-edge aware stage: dashboard and cards fill the header CTA lane. */
@media (min-width: 1241px) {
  .hero {
    --header-lane-width: min(1000px, calc(100vw - 64px));
    --stage-width: min(1180px, calc(100vw - 48px));
    --stage-shift: clamp(-170px, -10vw, -96px);
    --stage-right: calc(((100vw + var(--header-lane-width)) / 2) - (((100vw - var(--stage-width)) / 2) + var(--stage-shift)));
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: calc(var(--stage-right) - var(--stage-dashboard-left));
    --stage-card-gap: 16px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-right) - var(--stage-box-left) - var(--stage-box-gap) * 3) / 4);
  }

  .hero__content {
    width: var(--stage-width);
    transform: translateX(var(--stage-shift));
  }

  .dashboard {
    left: var(--stage-dashboard-left);
    width: var(--stage-dashboard-width);
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) * 3 + var(--stage-box-gap) * 2);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--stage-box-gap);
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final tablet portrait polish for the 821-900px range. */
@media (min-width: 821px) and (max-width: 900px) {
  .nav {
    justify-content: center;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(176px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "drake dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    width: min(760px, calc(100% - 28px));
    gap: 14px;
  }

  .dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(178px, 0.82fr);
    grid-template-rows: 40px minmax(166px, 1fr) 100px;
    gap: 10px;
    min-height: 0;
    padding: 58px 14px 14px;
  }

  .dashboard__side,
  .top-dot {
    display: none;
  }

  .dashboard__topbar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    gap: 9px;
  }

  .panel--chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .panel--wins {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .panel--meter {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .panel--bet {
    display: block;
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .chart {
    inset: 62px 14px 14px;
  }

  .panel--chart .panel__head {
    display: block;
  }

  .panel--chart .panel__head small {
    display: none;
  }

  .offer-card {
    grid-area: offer;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-height: 0;
  }

  .feature-card:nth-child(1) {
    grid-area: feat1;
  }

  .feature-card:nth-child(2) {
    grid-area: feat2;
  }

  .feature-card:nth-child(3) {
    grid-area: feat3;
  }

  .feature-card {
    min-height: 0;
    height: 100%;
    align-content: center;
    padding: 18px 22px;
  }

  .feature-card__icon {
    width: min(118px, 40%);
    margin-bottom: 6px;
  }
}

/* Intermediate portrait/tablet layout: balanced dashboard and stacked feature rail. */
@media (min-width: 821px) and (max-width: 900px) {
  .nav {
    justify-content: center;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(176px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "drake dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    width: min(760px, calc(100% - 28px));
    gap: 14px;
  }

  .dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(178px, 0.82fr);
    grid-template-rows: 40px minmax(166px, 1fr) 100px;
    gap: 10px;
    min-height: 0;
    padding: 58px 14px 14px;
  }

  .dashboard__side,
  .top-dot {
    display: none;
  }

  .dashboard__topbar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    gap: 9px;
  }

  .panel--chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .panel--wins {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .panel--meter {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .panel--bet {
    display: block;
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .chart {
    inset: 62px 14px 14px;
  }

  .panel--chart .panel__head {
    display: block;
  }

  .panel--chart .panel__head small {
    display: none;
  }

  .offer-card {
    grid-area: offer;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-height: 0;
  }

  .feature-card:nth-child(1) {
    grid-area: feat1;
  }

  .feature-card:nth-child(2) {
    grid-area: feat2;
  }

  .feature-card:nth-child(3) {
    grid-area: feat3;
  }

  .feature-card {
    min-height: 0;
    height: 100%;
    align-content: center;
    padding: 18px 22px;
  }

  .feature-card__icon {
    width: min(118px, 40%);
    margin-bottom: 6px;
  }
}

/* Final desktop correction: shift the full-size stage left without squeezing cards. */
@media (min-width: 1241px) {
  .hero {
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: clamp(590px, 45vw, 690px);
    --stage-card-gap: 16px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-dashboard-left) + var(--stage-dashboard-width) - var(--stage-box-left) - var(--stage-box-gap) - var(--stage-box-gap) - var(--stage-box-gap)) / 4);
  }

  .hero__content {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    transform: translateX(clamp(-170px, -10vw, -96px));
  }

  .dashboard {
    left: var(--stage-dashboard-left);
    width: var(--stage-dashboard-width);
  }

  .drake-figure {
    top: 18px;
    left: clamp(148px, 11vw, 178px);
    width: clamp(500px, 39vw, 590px);
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-gap) + var(--stage-box-gap));
    grid-template-columns: repeat(3, minmax(0, var(--stage-box-width)));
    gap: var(--stage-box-gap);
  }
}

/* Final desktop correction: shift the full-size stage left without squeezing cards. */
@media (min-width: 1241px) {
  .hero {
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: clamp(590px, 45vw, 690px);
    --stage-card-gap: 16px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-dashboard-left) + var(--stage-dashboard-width) - var(--stage-box-left) - var(--stage-box-gap) - var(--stage-box-gap) - var(--stage-box-gap)) / 4);
  }

  .hero__content {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    transform: translateX(clamp(-170px, -10vw, -96px));
  }

  .dashboard {
    left: var(--stage-dashboard-left);
    width: var(--stage-dashboard-width);
  }

  .drake-figure {
    top: 18px;
    left: clamp(148px, 11vw, 178px);
    width: clamp(500px, 39vw, 590px);
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-width) + var(--stage-box-gap) + var(--stage-box-gap));
    grid-template-columns: repeat(3, minmax(0, var(--stage-box-width)));
    gap: var(--stage-box-gap);
  }
}

/* Responsive layout: stop shrinking the desktop scene and switch to real grids. */
@media (max-width: 1240px) {
  .hero {
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "drake dashboard dashboard dashboard"
      "offer feat1 feat2 feat3";
    gap: 18px 16px;
    width: min(1080px, calc(100% - 32px));
    min-height: 0;
    padding: 24px 0 44px;
    align-items: start;
  }

  .drake-figure,
  .dashboard,
  .offer-card,
  .feature-card {
    position: relative;
    inset: auto;
    transform: none;
  }

  .drake-figure {
    grid-area: drake;
    justify-self: end;
    align-self: start;
    width: min(33vw, 310px);
    height: clamp(360px, 43vh, 430px);
    aspect-ratio: auto;
    margin: 0 -22px 0 0;
    overflow: hidden;
  }

  .drake-figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .dashboard {
    grid-area: dashboard;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 420px;
  }

  .offer-card {
    grid-area: offer;
    width: 100%;
    min-width: 0;
    min-height: 258px;
    justify-self: stretch;
  }

  .feature-row {
    display: contents;
  }

  .feature-card:nth-child(1) {
    grid-area: feat1;
  }

  .feature-card:nth-child(2) {
    grid-area: feat2;
  }

  .feature-card:nth-child(3) {
    grid-area: feat3;
  }

  .feature-card {
    min-height: 258px;
    padding: 22px 18px;
  }

  .feature-card__icon {
    width: min(118px, 68%);
    margin-bottom: 8px;
  }

  .feature-card h2 {
    font-size: clamp(17px, 2.1vw, 21px);
  }

  .feature-card p {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: min(100% - 28px, 720px);
    min-height: 0;
    gap: 10px 16px;
    padding: 14px 0 12px;
  }

  .site-header::before {
    height: 150px;
  }

  .brand {
    order: 1;
  }

  .header-cta {
    order: 2;
    width: min(330px, 48vw);
    min-height: 44px;
    padding: 0 14px;
    font-size: 11px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;
    overflow-x: auto;
    padding: 0 4px 4px;
    font-size: 11px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero__content {
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "drake dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    width: min(760px, calc(100% - 28px));
    gap: 14px;
    padding-top: 16px;
  }

  .drake-figure {
    justify-self: end;
    width: min(32vw, 230px);
    height: clamp(260px, 34vh, 330px);
    margin: 0 -18px 0 0;
  }

  .dashboard {
    grid-template-columns: minmax(0, 1fr) minmax(178px, 0.82fr);
    grid-template-rows: 40px minmax(166px, 1fr) 100px;
    gap: 10px;
    min-height: 0;
    padding: 58px 14px 14px;
  }

  .dashboard__side {
    display: none;
  }

  .dashboard__topbar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    gap: 9px;
  }

  .panel--chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .panel--wins {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .panel--meter {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .panel--bet {
    display: block;
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .search,
  .dashboard__topbar button,
  .bet-row button {
    height: 32px;
    font-size: 9px;
  }

  .top-dot {
    display: none;
  }

  .chart {
    inset: 62px 14px 14px;
  }

  .win-box {
    min-height: 78px;
    font-size: clamp(34px, 7vw, 50px);
  }

  .win-box--wide {
    min-height: 70px;
  }

  .metrics {
    gap: 8px;
  }

  .metrics span {
    min-height: 42px;
  }

  .bet-row {
    min-height: 58px;
  }

  .offer-card,
  .feature-card {
    min-height: 196px;
    border-radius: 18px;
  }

  .offer-card {
    min-height: 616px;
  }

  .feature-card {
    align-content: center;
  }

  .feature-card__icon {
    width: min(118px, 40%);
    margin-bottom: 6px;
  }

  .feature-card h2 {
    font-size: clamp(19px, 3vw, 24px);
  }

  .feature-card p {
    max-width: 330px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "drake"
      "dashboard"
      "offer"
      "feat1"
      "feat2"
      "feat3";
    width: calc(100vw - 24px);
    max-width: 430px;
    gap: 12px;
    padding-top: 12px;
  }

  .drake-figure {
    justify-self: center;
    width: min(62vw, 250px);
    height: clamp(210px, 30vh, 260px);
    margin: 0 0 -22px;
  }

  .dashboard {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: 100%;
    gap: 8px;
    padding: 10px 12px 8px;
  }

  .site-header::before {
    height: 156px;
  }

  .brand {
    transform: scale(0.86);
  }

  .header-cta {
    flex: 0 0 calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-width: none;
    min-height: 42px;
  }

  .nav {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0 2px 4px;
    font-size: 9px;
  }

  .nav a {
    padding: 5px 0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "drake"
      "dashboard"
      "offer"
      "feat1"
      "feat2"
      "feat3";
    width: calc(100vw - 24px);
    max-width: 420px;
    gap: 10px;
    padding-top: 8px;
  }

  .drake-figure {
    width: min(58vw, 220px);
    height: clamp(176px, 24vh, 210px);
    margin: 0 0 -24px;
  }

  .dashboard {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    padding: 56px 12px 12px;
  }

  .offer-card,
  .feature-card {
    min-height: 238px;
  }

  .feature-card__icon {
    width: min(132px, 54%);
  }
}

/* Real logo asset. */
.brand {
  --brand-width: clamp(118px, 14vw, 170px);
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: var(--brand-width);
  min-width: 0;
  aspect-ratio: 800 / 295;
  overflow: visible;
  transform: none;
}

.brand__logo {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  user-select: none;
}

@media (min-width: 1241px) {
  .brand {
    --brand-width: clamp(136px, 10.5vw, 170px);
  }
}

@media (max-width: 560px) {
  .brand {
    --brand-width: 116px;
  }
}

/* Full-body Drake layering: never crop the character, let cards overlap him. */
body {
  overflow-x: hidden;
}

.hero,
.hero__content,
.drake-figure {
  overflow: visible;
}

.drake-figure {
  aspect-ratio: 1725 / 4000;
  height: auto;
  z-index: 6;
}

.drake-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}

.offer-card {
  z-index: 7;
}

.feature-row,
.feature-card {
  z-index: 7;
}

@media (min-width: 1241px) {
  .drake-figure {
    top: 18px;
    left: clamp(148px, 11vw, 178px);
    width: clamp(470px, 37vw, 560px);
  }
}

@media (max-width: 1240px) {
  .drake-figure {
    justify-self: start;
    width: min(40vw, 380px);
    height: auto;
    margin: 0 0 -172px;
  }

  .offer-card {
    position: relative;
  }
}

@media (max-width: 900px) {
  .drake-figure {
    justify-self: start;
    width: min(38vw, 292px);
    height: auto;
    margin: 0 0 -124px;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding-top: 76px;
  }

  .drake-figure {
    position: absolute;
    top: 6px;
    right: 8px;
    width: min(42vw, 170px);
    height: auto;
    margin: 0;
  }
}

@media (max-width: 560px) {
  .hero__content {
    padding-top: 76px;
  }

  .drake-figure {
    top: 6px;
    right: 6px;
    width: min(42vw, 160px);
    height: auto;
    margin: 0;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .hero {
    --stage-dashboard-top: clamp(44px, 5vh, 64px);
    --stage-dashboard-height: clamp(430px, 46vh, 535px);
    --stage-dashboard-left: clamp(270px, 26vw, 320px);
    --stage-card-gap: 16px;
    --stage-box-left: clamp(24px, 4.5vw, 58px);
    --stage-box-gap: clamp(12px, 1.3vw, 16px);
    --stage-box-width: calc((100% - var(--stage-box-left) - var(--stage-box-gap) * 3) / 4);
  }

  .hero__content {
    position: relative;
    display: block;
    width: min(1160px, calc(100% - 48px));
    min-height: calc(var(--stage-dashboard-top) + var(--stage-dashboard-height) + var(--stage-card-gap) + 282px + 42px);
    padding: 0;
  }

  .dashboard {
    position: absolute;
    top: var(--stage-dashboard-top);
    left: var(--stage-dashboard-left);
    width: calc(100% - var(--stage-dashboard-left));
    height: var(--stage-dashboard-height);
    min-height: 0;
  }

  .drake-figure {
    position: absolute;
    top: calc(var(--stage-dashboard-top) - 6px);
    left: clamp(-8px, 1vw, 18px);
    width: clamp(500px, 46vw, 585px);
    margin: 0;
  }

  .offer-card,
  .feature-row {
    position: absolute;
    top: calc(var(--stage-dashboard-top) + var(--stage-dashboard-height) + var(--stage-card-gap));
    bottom: auto;
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
    min-height: 282px;
  }

  .feature-row {
    display: grid;
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) * 3 + var(--stage-box-gap) * 2);
    grid-template-columns: repeat(3, minmax(0, var(--stage-box-width)));
    gap: var(--stage-box-gap);
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    grid-area: auto;
  }

  .feature-card {
    min-height: 282px;
  }
}

/* Promo card typography scales with the card width, not the viewport. */
.offer-card {
  container-type: inline-size;
  gap: clamp(6px, 3cqw, 12px);
  padding: clamp(16px, 8cqw, 24px) clamp(12px, 7cqw, 20px);
}

.offer-card__tag,
.offer-card__old,
.offer-card strong,
.offer-card small,
.offer-card__button {
  max-width: 100%;
}

.offer-card__tag {
  min-width: min(92px, 72cqw);
  padding: clamp(5px, 2.7cqw, 7px) clamp(10px, 5.6cqw, 15px);
  font-size: clamp(13px, 6.4cqw, 16px);
}

.offer-card__old {
  width: 100%;
  margin: clamp(12px, 8cqw, 24px) 0 0;
  font-size: clamp(19px, 10.6cqw, 28px);
  line-height: 1;
}

.offer-card__old::after {
  left: clamp(8px, 7cqw, 16px);
  right: clamp(8px, 7cqw, 16px);
  height: clamp(4px, 2.6cqw, 6px);
}

.offer-card strong {
  display: block;
  width: 100%;
  font-size: clamp(36px, 22cqw, 58px);
  line-height: 0.88;
  white-space: nowrap;
}

.offer-card small {
  width: min(100%, 245px);
  margin: clamp(6px, 4cqw, 12px) 0 clamp(12px, 7cqw, 20px);
  font-size: clamp(13px, 7.2cqw, 17px);
}

.offer-card__button {
  min-width: 0;
  min-height: clamp(42px, 20cqw, 52px);
  padding: 0 clamp(8px, 5cqw, 14px);
  font-size: clamp(9px, 5cqw, 13px);
  line-height: 1;
  white-space: nowrap;
}

/* Right-edge aware stage: dashboard and cards fill the header CTA lane. */
@media (min-width: 1241px) {
  .hero {
    --header-lane-width: min(1000px, calc(100vw - 64px));
    --stage-width: min(1180px, calc(100vw - 48px));
    --stage-shift: clamp(-170px, -10vw, -96px);
    --stage-right: calc(((100vw + var(--header-lane-width)) / 2) - (((100vw - var(--stage-width)) / 2) + var(--stage-shift)));
    --stage-dashboard-top: 96px;
    --stage-dashboard-height: clamp(340px, 40vh, 410px);
    --stage-dashboard-left: clamp(520px, 39vw, 575px);
    --stage-dashboard-width: calc(var(--stage-right) - var(--stage-dashboard-left));
    --stage-card-gap: 16px;
    --stage-box-left: clamp(260px, 22vw, 320px);
    --stage-box-gap: clamp(14px, 1.1vw, 18px);
    --stage-box-width: calc((var(--stage-right) - var(--stage-box-left) - var(--stage-box-gap) * 3) / 4);
  }

  .hero__content {
    width: var(--stage-width);
    margin: 0 auto;
    transform: translateX(var(--stage-shift));
  }

  .dashboard {
    left: var(--stage-dashboard-left);
    width: var(--stage-dashboard-width);
  }

  .drake-figure {
    top: 18px;
    left: clamp(148px, 11vw, 178px);
    width: clamp(500px, 39vw, 590px);
  }

  .offer-card {
    left: var(--stage-box-left);
    width: var(--stage-box-width);
  }

  .feature-row {
    left: calc(var(--stage-box-left) + var(--stage-box-width) + var(--stage-box-gap));
    width: calc(var(--stage-box-width) * 3 + var(--stage-box-gap) * 2);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--stage-box-gap);
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final tablet portrait polish for the 821-900px range. */
@media (min-width: 821px) and (max-width: 900px) {
  .nav {
    justify-content: center;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(176px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      "drake dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    width: min(760px, calc(100% - 28px));
    gap: 14px;
  }

  .dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(178px, 0.82fr);
    grid-template-rows: 40px minmax(166px, 1fr) 100px;
    gap: 10px;
    min-height: 0;
    padding: 58px 14px 14px;
  }

  .dashboard__side,
  .top-dot {
    display: none;
  }

  .dashboard__topbar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    gap: 9px;
  }

  .panel--chart {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .panel--wins {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .panel--meter {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .panel--bet {
    display: block;
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .chart {
    inset: 62px 14px 14px;
  }

  .offer-card {
    grid-area: offer;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-height: 0;
  }

  .feature-card:nth-child(1) {
    grid-area: feat1;
  }

  .feature-card:nth-child(2) {
    grid-area: feat2;
  }

  .feature-card:nth-child(3) {
    grid-area: feat3;
  }

  .feature-card {
    min-height: 0;
    height: 100%;
    align-content: center;
    padding: 18px 22px;
  }

  .feature-card__icon {
    width: min(118px, 40%);
    margin-bottom: 6px;
  }
}

@media (min-width: 821px) and (max-width: 900px) {
  .panel--chart .panel__head {
    display: block;
  }

  .panel--chart .panel__head small {
    display: none;
  }
}

/* Wide tablet header: keep the second-row nav inside the menu chrome. */
@media (min-width: 901px) and (max-width: 1240px) {
  .site-header {
    row-gap: 12px;
    min-height: 156px;
  }

  .site-header::before {
    height: 156px;
  }

  .nav {
    align-self: start;
    padding-bottom: 0;
  }
}

/* Compact tablet: keep cards tight to the dashboard while Drake overlaps behind them. */
@media (min-width: 641px) and (max-width: 820px) {
  .hero__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(196px, 0.42fr) minmax(0, 1fr);
    grid-template-areas:
      ". dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    width: min(760px, calc(100% - 28px));
    gap: 14px;
    align-items: stretch;
  }

  .drake-figure {
    position: absolute;
    top: 16px;
    left: -8px;
    width: clamp(330px, 46vw, 365px);
    height: auto;
    margin: 0;
  }

  .dashboard {
    grid-area: dashboard;
    align-self: start;
  }

  .offer-card {
    grid-area: offer;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-height: 0;
  }

  .feature-card:nth-child(1) {
    grid-area: feat1;
  }

  .feature-card:nth-child(2) {
    grid-area: feat2;
  }

  .feature-card:nth-child(3) {
    grid-area: feat3;
  }

  .feature-card {
    min-height: 0;
    height: 100%;
    align-content: center;
  }
}

/* Narrow mobile hero: oversized Drake cropped by the left edge and over the dashboard. */
@media (max-width: 560px) {
  .hero {
    overflow-x: hidden;
  }

  .hero__content {
    overflow: visible;
  }

  .dashboard {
    position: relative;
    z-index: 4;
  }

  .drake-figure {
    position: absolute;
    top: 78px;
    right: auto;
    left: clamp(-390px, -70vw, -315px);
    z-index: 6;
    width: clamp(610px, 128vw, 690px);
    height: auto;
    margin: 0;
    pointer-events: none;
  }
}

/* Crash game browser mockup with Blaze Predictor extension sidebar. */
.dashboard--crash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 27%, 220px);
  grid-template-rows: 34px minmax(0, 1fr);
  gap: 0;
  padding: 50px 14px 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(255, 49, 80, 0.13), transparent 28%),
    rgba(16, 22, 30, 0.82);
}

.dashboard--crash::before {
  background:
    radial-gradient(circle at 80% 22%, rgba(53, 241, 125, 0.11), transparent 25%),
    linear-gradient(90deg, rgba(255, 49, 80, 0.12), transparent 34%);
}

.dashboard--crash .dashboard__chrome {
  top: 17px;
  left: 18px;
}

.dashboard--crash .dashboard__chrome span {
  width: 10px;
  height: 10px;
}

.browser-bar,
.crash-game,
.predictor-extension {
  position: relative;
  z-index: 1;
}

.browser-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 30px;
  margin: 0 0 0;
  padding: 0 8px;
  border-radius: 9px;
  background: rgba(5, 8, 13, 0.48);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.browser-icon,
.browser-action,
.browser-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  font-weight: 800;
}

.browser-address {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 8px;
  height: 24px;
  border-radius: 99px;
  padding: 0 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.browser-lock {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.browser-avatar {
  width: 26px;
  border-radius: 50%;
  background: rgba(110, 122, 144, 0.28);
  font-size: 9px;
}

.crash-game {
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: rgba(6, 13, 21, 0.66);
}

.crash-game__header {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 21, 30, 0.82);
}

.hamburger {
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.crash-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: #fff;
}

.crash-logo .mini-logo__mark {
  width: 18px;
  height: 18px;
}

.crash-logo strong {
  font-size: clamp(16px, 2.2vw, 26px);
  line-height: 1;
}

.crash-tabs {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(9px, 1.1vw, 12px);
  font-weight: 800;
  white-space: nowrap;
}

.crash-tabs__active {
  color: #fff;
}

.crash-wallet {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.crash-wallet span,
.crash-wallet button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 5px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 800;
}

.crash-wallet span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}

.crash-wallet button {
  border: 0;
  color: #fff;
  background: var(--red);
}

.crash-game__body {
  display: grid;
  grid-template-columns: clamp(128px, 27%, 210px) minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  padding: 14px;
}

.crash-controls,
.crash-stage,
.predictor-extension,
.extension-panel {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(16, 24, 33, 0.74);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.crash-controls {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
}

.crash-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.crash-mode button,
.crash-input-row,
.crash-submit {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(5, 10, 17, 0.48);
  font-weight: 800;
}

.crash-mode button {
  font-size: 10px;
}

.crash-mode .is-active {
  color: #fff;
  background: rgba(8, 13, 20, 0.76);
}

.crash-input-row {
  display: grid;
  align-content: center;
  gap: 2px;
  border-radius: 5px;
  padding: 7px 10px;
}

.crash-input-row span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.crash-input-row strong {
  font-size: 13px;
}

.crash-submit {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 49, 80, 0.7), rgba(255, 49, 80, 0.42));
}

.crash-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-self: end;
}

.crash-tool-grid span {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.crash-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(5, 12, 19, 0.78);
}

.crash-grid {
  position: absolute;
  inset: 10% 6% 18%;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 25% 25%;
}

.crash-curve {
  position: absolute;
  inset: 10% 6% 18%;
  width: 88%;
  height: 72%;
  filter: drop-shadow(0 0 10px rgba(255, 49, 80, 0.62));
}

.crash-multiplier {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 9px;
  padding: 12px 24px;
  background: rgba(19, 27, 38, 0.9);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1;
}

.crash-history {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.crash-history span {
  flex: 1;
  min-width: 46px;
  border-radius: 5px;
  padding: 7px 0;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.crash-history span:nth-child(even) {
  background: rgba(53, 241, 125, 0.75);
  color: #092013;
}

.crash-history .is-hot {
  color: #fff;
  background: var(--red);
}

.predictor-extension {
  display: grid;
  grid-template-rows: 44px minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.66fr) 54px;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 10px 10px 0;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(17, 23, 32, 0.88);
}

.predictor-extension__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.extension-status {
  border: 1px solid rgba(255, 49, 80, 0.48);
  border-radius: 8px;
  padding: 5px 7px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 49, 80, 0.14);
  font-size: 9px;
  font-weight: 900;
}

.extension-panel {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  padding: 9px;
}

.extension-panel__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.extension-panel strong,
.extension-panel__head strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.extension-panel__head span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
}

.extension-panel svg {
  display: block;
  width: 100%;
  height: calc(100% - 24px);
  min-height: 58px;
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 25% 25%;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: calc(100% - 28px);
  min-height: 46px;
  padding: 4px 0;
}

.bar-chart span {
  height: var(--h);
  min-height: 12px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #35f17d, rgba(53, 241, 125, 0.55));
}

.bar-chart span:nth-child(even) {
  opacity: 0.55;
}

.extension-gauges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 0;
}

.extension-panel--gauge {
  display: grid;
  align-content: center;
  gap: 6px;
}

.mini-gauge {
  position: relative;
  justify-self: center;
  width: min(74px, 100%);
  aspect-ratio: 1.8;
  overflow: hidden;
  border-radius: 80px 80px 0 0;
  background: conic-gradient(from 270deg at 50% 100%, #2ef076 0 74deg, rgba(255, 255, 255, 0.14) 74deg 180deg, transparent 180deg);
}

.mini-gauge--risk {
  background: conic-gradient(from 270deg at 50% 100%, #ff3150 0 48deg, #ffd26a 48deg 86deg, rgba(255, 255, 255, 0.14) 86deg 180deg, transparent 180deg);
}

.mini-gauge span {
  position: absolute;
  inset: 15px 15px 0;
  border-radius: inherit;
  background: rgba(17, 23, 32, 0.96);
}

.mini-gauge i {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 2px;
  height: 68%;
  border-radius: 99px;
  background: #fff;
  transform: rotate(-24deg);
  transform-origin: bottom center;
}

.predictor-brand {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.predictor-brand img {
  display: block;
  width: min(150px, 86%);
  margin: -16px 0;
}

@media (min-width: 1241px) and (max-height: 940px) {
  .dashboard--crash {
    padding: 44px 12px 12px;
  }

  .browser-bar {
    height: 26px;
  }

  .crash-game {
    grid-template-rows: 42px minmax(0, 1fr);
  }

  .crash-game__body {
    padding: 10px;
  }

  .predictor-extension {
    gap: 6px;
    padding: 8px;
  }
}

@media (max-width: 1100px) {
  .crash-wallet span,
  .crash-tabs span:nth-child(3),
  .browser-action:nth-last-child(2) {
    display: none;
  }
}

@media (max-width: 900px) {
  .dashboard--crash {
    grid-template-columns: minmax(0, 1fr) minmax(118px, 34%);
    grid-template-rows: 28px minmax(0, 1fr);
    padding: 44px 10px 10px;
  }

  .browser-bar {
    height: 26px;
    font-size: 10px;
  }

  .crash-game {
    grid-template-rows: 40px minmax(0, 1fr);
  }

  .crash-game__header {
    padding: 0 9px;
  }

  .crash-tabs,
  .crash-wallet {
    display: none;
  }

  .crash-game__body {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .crash-controls {
    display: none;
  }

  .crash-multiplier {
    padding: 9px 15px;
  }

  .crash-history span:nth-child(n + 5) {
    display: none;
  }

  .predictor-extension {
    grid-template-rows: 38px minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 0.55fr);
    gap: 6px;
    padding: 7px;
  }

  .predictor-brand {
    display: none;
  }
}

@media (max-width: 560px) {
  .dashboard--crash {
    grid-template-columns: minmax(0, 1fr) minmax(114px, 34%);
    grid-template-rows: minmax(0, 1fr);
    min-height: clamp(520px, 106vw, 620px);
    padding: 42px 8px 8px;
  }

  .browser-bar {
    display: none;
  }

  .dashboard--crash .dashboard__chrome {
    top: 18px;
  }

  .crash-game {
    grid-row: 1 / 2;
    grid-template-rows: 38px minmax(0, 1fr);
  }

  .predictor-extension {
    grid-row: 1 / 2;
  }

  .crash-game__body {
    padding: 7px;
  }

  .crash-logo strong {
    font-size: 16px;
  }

  .crash-stage,
  .predictor-extension {
    min-height: 0;
  }

  .extension-panel--bars,
  .extension-gauges {
    display: none;
  }

  .predictor-extension {
    grid-template-rows: 34px minmax(0, 1fr);
  }
}

/* Keep the main menu centered in every responsive header state. */
@media (max-width: 1240px) {
  .site-header .nav {
    justify-content: center;
    justify-self: center;
    text-align: center;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .site-header .nav {
    width: 100%;
    justify-content: center;
    padding-inline: 0;
  }
}

/* Large cropped Drake for the upper mobile range. */
@media (min-width: 561px) and (max-width: 640px) {
  .hero {
    overflow-x: hidden;
  }

  .hero__content {
    overflow: visible;
  }

  .dashboard {
    position: relative;
    z-index: 4;
  }

  .drake-figure {
    position: absolute;
    top: clamp(18px, 4vw, 34px);
    right: auto;
    left: clamp(-455px, -70vw, -360px);
    z-index: 6;
    width: clamp(640px, 126vw, 760px);
    height: auto;
    margin: 0;
    pointer-events: none;
  }
}

/* Tablet portrait: Drake should not create vertical space between dash and boxes. */
@media (min-width: 821px) and (max-width: 900px) {
  .hero__content {
    position: relative;
    grid-template-areas:
      ". dashboard"
      "offer feat1"
      "offer feat2"
      "offer feat3";
    gap: 14px;
  }

  .drake-figure {
    position: absolute;
    top: 16px;
    left: clamp(-16px, -1vw, 4px);
    width: clamp(312px, 38vw, 350px);
    height: auto;
    margin: 0;
    z-index: 6;
    pointer-events: none;
  }

  .dashboard {
    grid-area: dashboard;
    align-self: start;
  }

  .offer-card,
  .feature-row,
  .feature-card {
    z-index: 7;
  }
}

/* Keep tablet-wide header on one row with a shorter CTA label. */
@media (min-width: 901px) and (max-width: 1240px) {
  .hero {
    --stage-dashboard-height: clamp(500px, 52vh, 540px);
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 106px;
    gap: clamp(14px, 2vw, 22px);
    width: min(100% - 48px, 1040px);
  }

  .site-header::before {
    height: 106px;
  }

  .brand {
    --brand-width: clamp(116px, 13vw, 138px);
  }

  .site-header .nav {
    order: initial;
    grid-column: auto;
    width: auto;
    min-width: 0;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 18px);
    overflow: visible;
    padding: 0;
    font-size: clamp(10px, 1.16vw, 12px);
  }

  .header-cta {
    flex: 0 0 220px;
    width: 220px;
    min-width: 0;
    max-width: 220px;
    min-height: 48px;
    padding: 0 18px;
    font-size: 0;
  }

  .header-cta span {
    font-size: 0;
    color: transparent;
  }


  .header-cta span::after {
    content: "Instalar extensão";
    color: #fff7ed;
    font-size: 12px;
    text-transform: uppercase;
  }
}

/* Narrow mobile: keep the predictor as a readable sidebar inside the dash. */
@media (max-width: 560px) {
  .hero__content {
    width: calc(100vw - 24px);
    max-width: 460px;
    padding-top: 8px;
  }

  .dashboard--crash {
    grid-template-columns: minmax(0, 1fr) clamp(122px, 34%, 150px);
    grid-template-rows: minmax(0, 1fr);
    min-height: clamp(620px, 124vw, 680px);
  }

  .crash-game {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .predictor-extension {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    grid-template-columns: 1fr;
    grid-template-rows: 34px minmax(124px, 1fr) minmax(94px, 0.82fr) minmax(78px, 0.66fr);
    gap: 6px;
  }

  .predictor-extension__header {
    grid-column: 1 / -1;
    gap: 5px;
  }

  .predictor-extension__header .crash-logo {
    gap: 5px;
  }

  .predictor-extension__header .crash-logo strong {
    font-size: 13px;
  }

  .extension-status {
    padding: 4px 5px;
    font-size: 8px;
  }

  .extension-panel--chart,
  .extension-panel--bars,
  .extension-gauges {
    display: grid;
  }

  .extension-panel--chart {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .extension-panel--bars {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }

  .extension-gauges {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .extension-panel {
    padding: 6px;
  }

  .extension-panel__head {
    display: block;
    margin-bottom: 4px;
  }

  .extension-panel__head strong {
    display: block;
    font-size: 8px;
    line-height: 1;
  }

  .extension-panel__head span {
    display: none;
  }

  .extension-panel svg,
  .bar-chart {
    min-height: 42px;
    height: calc(100% - 16px);
  }

  .bar-chart {
    gap: 4px;
  }

  .extension-panel--gauge {
    min-height: 0;
    padding: 5px;
    align-content: center;
    gap: 4px;
  }

  .extension-panel--gauge strong {
    font-size: 8px;
    line-height: 1.05;
  }

  .mini-gauge {
    width: 44px;
  }

  .drake-figure {
    top: 50px;
    left: clamp(-530px, -90vw, -410px);
    width: clamp(650px, 132vw, 720px);
  }
}

/* Final header polish: vertically center menu labels inside the menu line. */
.site-header .nav {
  align-self: center;
  align-items: center;
  min-height: 52px;
}

.site-header .nav a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0;
  line-height: 1;
}

.site-header .nav a::after {
  bottom: 10px;
}

@media (min-width: 901px) and (max-width: 1240px) {
  .site-header .nav,
  .site-header .nav a {
    min-height: 48px;
  }

  .site-header .nav a::after {
    bottom: 8px;
  }
}

@media (max-width: 900px) {
  .site-header .nav {
    min-height: 32px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header .nav a {
    min-height: 32px;
  }

  .site-header .nav a::after {
    bottom: 3px;
  }
}

@media (max-width: 560px) {
  .site-header .nav {
    min-height: 28px;
  }

  .site-header .nav a {
    min-height: 28px;
  }
}

/* Extension redesign based on the real Blaze Predictor panel. */
.predictor-extension {
  grid-template-rows: 38px 32px 32px minmax(86px, 1.18fr) minmax(82px, 0.96fr) minmax(86px, 1fr);
  gap: 6px;
  padding: 8px;
  background:
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(rgba(255, 49, 80, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 49, 80, 0.06) 1px, transparent 1px),
    rgba(12, 22, 30, 0.94);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.predictor-extension__header {
  grid-row: 1 / 2;
  min-width: 0;
}

.extension-logo {
  position: relative;
  width: min(132px, 72%);
  aspect-ratio: 800 / 295;
  overflow: visible;
}

.extension-logo img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.extension-status {
  border-color: rgba(255, 255, 255, 0.58);
  border-radius: 5px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.extension-game {
  grid-row: 2 / 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  font-size: 10px;
  line-height: 1.05;
}

.extension-game strong {
  color: #fff;
  font-size: 15px;
}

.extension-auto {
  grid-row: 3 / 4;
  min-width: 0;
  border: 1px solid rgba(255, 96, 112, 0.8);
  border-radius: 6px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 49, 80, 0.92), rgba(255, 49, 80, 0.7)),
    linear-gradient(135deg, transparent 0 40%, rgba(255, 255, 255, 0.16) 40% 45%, transparent 45% 100%);
  box-shadow:
    0 0 18px rgba(255, 49, 80, 0.42),
    0 0 18px rgba(255, 49, 80, 0.22) inset;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.predictor-extension .extension-panel {
  display: grid;
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  padding: 0 7px 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 25%),
    rgba(20, 29, 37, 0.82);
}

.predictor-extension .extension-panel__head {
  display: grid;
  min-height: 26px;
  align-items: center;
  margin: 0 -7px 6px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.predictor-extension .extension-panel__head strong {
  font-size: 10px;
  line-height: 1.05;
  text-transform: none;
}

.extension-panel--opportunity {
  grid-row: 4 / 5;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.opportunity-score {
  display: flex;
  min-height: 34px;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 4px;
  border: 1px solid rgba(53, 241, 125, 0.64);
  border-radius: 5px;
  color: #f7fff9;
  background: rgba(53, 241, 125, 0.12);
  box-shadow:
    0 0 12px rgba(53, 241, 125, 0.34),
    0 0 18px rgba(53, 241, 125, 0.18) inset;
}

.opportunity-score strong {
  font-size: clamp(22px, 2.65vw, 30px);
  line-height: 1;
}

.opportunity-score span {
  margin-left: 3px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.extension-panel--opportunity svg {
  min-height: 20px;
  height: 100%;
}

.extension-panel--risk {
  grid-row: 5 / 6;
  grid-template-rows: auto minmax(0, 1fr);
}

.risk-meter {
  display: grid;
  min-height: 0;
  place-items: center;
  gap: 4px;
}

.risk-meter__arc {
  position: relative;
  width: min(112px, 96%);
  aspect-ratio: 1.95;
  overflow: hidden;
  border-radius: 100px 100px 0 0;
  background: conic-gradient(from 270deg at 50% 100%, #31d978 0 43deg, #cfec3e 43deg 84deg, #ff9d2e 84deg 126deg, #ff3150 126deg 180deg, transparent 180deg);
}

.risk-meter__arc span {
  position: absolute;
  inset: 15px 15px 0;
  border-radius: inherit;
  background: rgba(20, 29, 37, 0.9);
}

.risk-meter__arc i {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 3px;
  height: 76%;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(-38deg);
  transform-origin: bottom center;
}

.risk-meter__labels {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  text-align: center;
  font-size: 8px;
  line-height: 1;
}

.risk-meter__labels span:nth-child(1) {
  color: #31d978;
}

.risk-meter__labels span:nth-child(2) {
  color: #ffe65a;
}

.risk-meter__labels span:nth-child(3) {
  color: #ff9d2e;
}

.risk-meter__labels span:nth-child(4) {
  color: #ff3150;
}

.extension-panel--gain {
  grid-row: 6 / 7;
  grid-template-rows: auto minmax(0, 1fr) minmax(0, 0.82fr) auto;
}

.extension-panel--gain .bar-chart,
.loss-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 5px;
  min-height: 0;
  height: 100%;
  padding: 0;
}

.extension-panel--gain .bar-chart span,
.loss-chart span {
  min-height: 8px;
  height: var(--h);
  border-radius: 2px 2px 0 0;
}

.extension-panel--gain .bar-chart span {
  background: linear-gradient(180deg, #35f17d, rgba(53, 241, 125, 0.66));
}

.loss-chart {
  align-items: start;
}

.loss-chart span {
  border-radius: 0 0 2px 2px;
  background: linear-gradient(180deg, rgba(255, 49, 80, 0.94), rgba(255, 49, 80, 0.62));
}

.extension-panel--gain p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 9px;
  line-height: 1;
}

.extension-panel--gain p strong {
  color: var(--green);
  font-size: inherit;
  text-transform: none;
}

@media (max-width: 900px) {
  .predictor-extension {
    grid-template-rows: 34px 30px 30px minmax(70px, 1.05fr) minmax(68px, 0.9fr) minmax(72px, 1fr);
  }

  .extension-status {
    padding: 5px 7px;
    font-size: 9px;
  }

  .extension-game {
    font-size: 9px;
  }

  .extension-game strong {
    font-size: 13px;
  }

  .extension-auto {
    font-size: 8px;
  }
}

@media (max-width: 560px) {
  .predictor-extension {
    grid-template-rows: 34px 30px 30px minmax(118px, 1fr) minmax(96px, 0.86fr) minmax(104px, 0.92fr);
  }

  .extension-logo {
    width: min(92px, 68%);
  }

  .extension-status {
    padding: 4px 5px;
    font-size: 8px;
  }

  .predictor-extension .extension-panel__head strong {
    font-size: 8px;
  }

  .opportunity-score {
    min-height: 32px;
  }

  .opportunity-score strong {
    font-size: 24px;
  }

  .risk-meter__arc {
    width: min(82px, 94%);
  }

  .risk-meter__labels {
    font-size: 7px;
  }

  .extension-panel--gain p {
    display: none;
  }
}

/* Desktop: give the new extension layout enough vertical room inside the dash. */
@media (min-width: 1241px) {
  .hero {
    --stage-dashboard-height: clamp(500px, 52vh, 560px);
  }
}

/* Final main-menu actions: three links plus install, buy and login buttons. */
.header-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 10px;
}

.header-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-button--buy {
  border: 1px solid rgba(255, 49, 80, 0.72);
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 49, 80, 0.92), rgba(255, 49, 80, 0.66));
  box-shadow: 0 0 22px rgba(255, 49, 80, 0.28);
}

.header-button--login {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
}

.header-actions .header-cta {
  order: 0;
}

.header-button--buy {
  order: 1;
}

.header-button--login {
  order: 2;
}

.checkout-modal {
  width: min(440px, calc(100% - 32px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), transparent 30%),
    rgba(13, 19, 27, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  padding: 0;
}

.checkout-modal::backdrop {
  background: rgba(0, 0, 0, 0.66);
}

.checkout-flow {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.checkout-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  font-size: 22px;
  font-weight: 900;
}

.checkout-step {
  display: grid;
  gap: 13px;
}

.checkout-step > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-step h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

.checkout-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-step label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-step input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
  font: inherit;
  font-weight: 800;
}

.checkout-primary,
.checkout-back {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-primary {
  border: 1px solid rgba(255, 210, 106, 0.7);
  color: #fff7ed;
  background: linear-gradient(90deg, rgba(255, 49, 80, 0.98), rgba(255, 49, 80, 0.7));
  box-shadow: 0 0 26px rgba(255, 49, 80, 0.34);
}

.checkout-back {
  justify-self: start;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.checkout-plan {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 210, 106, 0.32);
  border-radius: 10px;
  background: rgba(255, 210, 106, 0.08);
  padding: 16px;
}

.checkout-plan strong {
  font-size: 20px;
}

.checkout-plan small {
  color: var(--muted);
  font-size: 13px;
}

.checkout-plan b {
  color: var(--gold);
  font-size: 25px;
}

.checkout-message {
  min-height: 18px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

@media (min-width: 1241px) {
  .site-header {
    width: min(1180px, calc(100% - 64px));
  }

  .site-header .nav {
    justify-content: center;
    gap: clamp(18px, 2vw, 30px);
  }

  .header-cta {
    min-height: 52px;
    padding-inline: 22px;
    font-size: 13px;
  }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .site-header {
    width: min(100% - 48px, 1120px);
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-header .nav {
    gap: clamp(14px, 1.6vw, 22px);
    font-size: clamp(11px, 1.1vw, 13px);
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .header-cta {
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
    padding-inline: 14px;
  }

  .header-button {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .header-actions {
    order: 2;
    width: min(100%, 520px);
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .header-actions .header-cta {
    width: auto;
    flex: 1 1 210px;
    min-width: 0;
  }

  .header-button {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .site-header .nav {
    order: 3;
  }
}

@media (max-width: 560px) {
  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions .header-cta {
    flex: 1 0 100%;
    width: 100%;
  }

  .header-button {
    flex: 1 1 calc(50% - 6px);
  }
}

/* One-page landing navigation and sections. */
#home,
#como-funciona,
#precos {
  scroll-margin-top: 126px;
}

.site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: clamp(18px, 2.3vw, 36px);
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(12px, 0.92vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
}

.site-header .nav a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
}

.header-actions {
  flex-wrap: nowrap;
}

.offer-card__tag {
  min-width: min(220px, 74%);
  padding-inline: 18px;
}

.offer-card__old {
  white-space: nowrap;
}

.offer-card strong {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-transform: none;
  font-size: clamp(35px, 3vw, 56px);
  line-height: 0.94;
}

.offer-card strong span {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.3vw, 22px);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: none;
}

.offer-card small {
  font-style: normal;
  text-transform: none;
}

.one-page-section {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-heading {
  display: grid;
  max-width: 820px;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-heading span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  max-width: 780px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}

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

.how-card,
.workflow-band,
.plan-card {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(17, 24, 32, 0.92);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.32);
}

.how-card {
  display: grid;
  min-height: 252px;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.how-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.how-card h3,
.plan-card__head span {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.how-card p,
.workflow-band p,
.plan-card li,
.plan-card__head small {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

.workflow-band {
  display: grid;
  gap: 18px;
  margin-top: 16px;
  padding: 26px;
}

.workflow-band strong {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.workflow-steps {
  display: grid;
  grid-template-columns: max-content 1fr max-content 1fr max-content 1fr max-content;
  align-items: center;
  gap: 12px;
}

.workflow-steps span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 7px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.workflow-steps i {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255, 210, 106, 0.55));
}

.pricing-section .section-heading {
  margin-inline: auto;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 36px);
}

.plan-card--pro {
  background:
    linear-gradient(180deg, rgba(53, 241, 125, 0.13), transparent 36%),
    linear-gradient(140deg, rgba(255, 41, 76, 0.24), transparent 42%),
    rgba(17, 24, 32, 0.95);
}

.plan-card__head {
  display: grid;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 3px solid rgba(255, 255, 255, 0.14);
}

.plan-card__head::after {
  content: "";
  display: block;
  width: 118px;
  height: 3px;
  margin: 17px 0 -23px;
  background: var(--red);
}

.plan-card__head strong {
  color: #fff;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  font-weight: 900;
}

.plan-card__head strong em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  font-style: normal;
}

.plan-card__head small s {
  color: rgba(255, 255, 255, 0.44);
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(53, 241, 125, 0.42);
}

.plan-button {
  align-self: end;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 210, 106, 0.72);
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 49, 80, 0.96), rgba(190, 40, 62, 0.92));
  box-shadow: 0 0 26px rgba(255, 41, 76, 0.28);
  font-weight: 900;
  text-transform: uppercase;
}

.plan-button--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

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

  .site-header .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    min-height: 34px;
  }

  .header-actions {
    order: 2;
  }

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

  .workflow-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .workflow-steps i {
    display: none;
  }
}

@media (max-width: 760px) {
  #home,
  #como-funciona,
  #precos {
    scroll-margin-top: 180px;
  }

  .one-page-section {
    width: calc(100% - 24px);
    padding-block: 58px;
  }

  .how-grid,
  .pricing-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .header-actions {
    width: 100%;
  }
}

/* Final landing behavior: fixed video/header, scrollable content, and robust promo fitting. */
html {
  scroll-behavior: smooth;
}

body {
  background: #080e14;
}

.hero {
  min-height: 100svh;
  overflow: visible;
  isolation: isolate;
  background: transparent;
  padding-top: 118px;
}

.hero__video,
.hero__veil,
.hero__grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.hero__video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transform: scale(1.03);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 64px));
  transform: translateX(-50%);
}

.site-header::before {
  height: 118px;
}

.hero__content,
.one-page-section,
.modal-backdrop {
  position: relative;
  z-index: 3;
}

.offer-card {
  min-width: 0;
  gap: clamp(8px, 3cqw, 14px);
  contain: layout style;
}

.offer-card__tag {
  width: auto;
  max-width: 100%;
  min-width: 0;
  padding-inline: clamp(12px, 5cqw, 18px);
  font-size: clamp(13px, 5.2cqw, 17px);
  line-height: 1;
}

.offer-card__old {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.28em;
  row-gap: 0;
  margin: clamp(8px, 4cqw, 16px) 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(15px, 6.6cqw, 23px);
  line-height: 1.05;
  text-align: center;
  text-decoration-color: var(--red);
  text-decoration-line: line-through;
  text-decoration-skip-ink: none;
  text-decoration-thickness: clamp(3px, 1.5cqw, 5px);
  white-space: normal;
}

.offer-card__old::after {
  display: none;
}

.offer-card__old em {
  font-style: normal;
}

.offer-card strong {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: clamp(2px, 1.5cqw, 6px);
  color: var(--gold);
  font-size: clamp(31px, 14.5cqw, 50px);
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: none;
  white-space: normal;
}

.offer-card strong span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 6.3cqw, 20px);
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  text-transform: uppercase;
}

.offer-card small {
  max-width: 100%;
  margin: clamp(5px, 2.6cqw, 10px) 0 clamp(9px, 4.4cqw, 15px);
  font-size: clamp(13px, 5.5cqw, 17px);
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.offer-card__button {
  max-width: 100%;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
}

@media (max-width: 1240px) {
  .hero {
    padding-top: 156px;
  }

  .site-header {
    width: min(1120px, calc(100% - 48px));
  }

  .site-header::before {
    height: 156px;
  }

  #home,
  #como-funciona,
  #precos {
    scroll-margin-top: 168px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 184px;
  }

  .site-header {
    width: 100%;
    padding-inline: 12px;
  }

  .site-header::before {
    height: 184px;
  }

  #home,
  #como-funciona,
  #precos {
    scroll-margin-top: 196px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 194px;
  }

  .site-header::before {
    height: 194px;
  }
}
