/* ============================================================
   22BET Landing — Sauce Labs dark console × Wise blocky display
   Palette extracted from the live 22bet product.
   ============================================================ */

:root {
  --petrol-900: #032d30;
  --petrol-700: #054248;
  --petrol-600: #0a5158;
  --teal-600: #0a636b;
  --green-500: #2eb256;
  --green-600: #28984a;
  --accent-teal: #2da6b1;
  --red-live: #f04c44;
  --surface-light: #edf7f5;
  --white: #ffffff;
  --ink: #323946;
  --ink-muted: #6d7579;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: rgba(50, 57, 70, 0.12);

  --radius-card: 20px;
  --radius-pill: 9999px;

  --font-display: "Archivo", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "Spline Sans Mono", monospace;

  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--petrol-700);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Bands ---------- */

.band { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.band--dark { background: var(--petrol-700); color: var(--white); }
.band--light { background: var(--surface-light); color: var(--ink); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease,
              box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(46, 178, 86, 0.4);
}
.btn--primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(46, 178, 86, 0.55);
}

.btn--ghost {
  border: 1.5px solid var(--line-dark);
  color: var(--white);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: translateY(-2px);
}

.btn--lg { height: 56px; padding-inline: 2.25rem; font-size: 1.0625rem; }
.btn--sm { height: 42px; padding-inline: 1.5rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(3, 45, 48, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
}
.logo__num { color: var(--green-500); }
.logo__word { color: var(--white); }

.header__nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-weight: 500;
  font-size: 0.9375rem;
}
.header__nav a { opacity: 0.75; transition: opacity 0.15s ease, color 0.15s ease; }
.header__nav a:hover { opacity: 1; color: var(--green-500); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 6.5rem));
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(10, 99, 107, 0.65), transparent 60%),
    var(--petrol-700);
}

.hero__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -120px;
  background: radial-gradient(circle, rgba(46, 178, 86, 0.18), transparent 65%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
  opacity: 0.35;
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 780px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-teal);
  border: 1px solid rgba(45, 166, 177, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  margin-bottom: 2rem;
}
.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 8px var(--green-500);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 9.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero__line { display: block; }
.hero__line--accent {
  color: var(--green-500);
  text-shadow: 0 0 60px rgba(46, 178, 86, 0.35);
}

.hero__sub {
  font-size: 1.1875rem;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.trust-row strong { color: var(--green-500); font-weight: 600; }

/* ---------- Section heads ---------- */

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 1rem;
}
.label--live { color: var(--red-live); display: inline-flex; align-items: center; gap: 0.5rem; }

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-live);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 76, 68, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(240, 76, 68, 0); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.section-title--ink { color: var(--ink); }

.section-sub { margin-top: 1rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Stats ---------- */

.stats { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat { text-align: left; border-left: 3px solid var(--green-500); padding-left: 1.5rem; }

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* ---------- Live odds ---------- */

.live { background: var(--petrol-900); }

.live__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.match {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.match:hover { border-color: rgba(46, 178, 86, 0.45); transform: translateY(-4px); }

.match__sport {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
}

.match__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}
.match__row + .match__row { border-top: 1px solid var(--line-dark); }

.match__team { font-weight: 600; font-size: 1rem; }

.odd {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 0.3rem 0.8rem;
  min-width: 4.2em;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.odd--up { background: rgba(46, 178, 86, 0.25); color: #5fe08a; }
.odd--down { background: rgba(240, 76, 68, 0.22); color: #ff8d87; }

/* ---------- Features ---------- */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--line-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(5, 66, 72, 0.28);
}

.card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(46, 178, 86, 0.12);
  color: var(--green-600);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 24px; height: 24px; }

.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card__text { font-size: 0.9688rem; color: var(--ink-muted); }

/* ---------- Steps ---------- */

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.step {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-card);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
}

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  color: var(--green-500);
  margin-bottom: 1.5rem;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.step__text { color: rgba(255, 255, 255, 0.72); font-size: 0.9688rem; }

.steps__cta { text-align: center; }
.steps__note {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Trust ---------- */

.trust__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.trust__text { color: var(--ink-muted); margin-top: 1.25rem; max-width: 36em; }

.trust__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.chip {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--petrol-700);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.3rem;
}

/* ---------- FAQ ---------- */

.faq__list { max-width: 760px; }

.faq__item {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease;
}
.faq__item + .faq__item { margin-top: 0.75rem; }
.faq__item[open], .faq__item:hover { border-color: rgba(46, 178, 86, 0.45); }

.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--green-500);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding: 0 1.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9688rem;
  max-width: 60ch;
}


/* ---------- Push subscribe banner ---------- */

.push-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%) translateY(140px);
  background: linear-gradient(180deg, var(--petrol-700) 0%, var(--petrol-900) 100%);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 0 48px -10px rgba(46, 178, 86, 0.4);
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
  opacity: 0;
  max-width: 400px;
  width: calc(100% - 24px);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.push-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.push-banner.hide {
  transform: translateX(-50%) translateY(140px);
  opacity: 0;
  pointer-events: none;
}
.push-banner__bell {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 178, 86, 0.16);
  box-shadow:
    0 0 0 1px rgba(46, 178, 86, 0.3) inset,
    0 0 18px -4px rgba(46, 178, 86, 0.7);
}
.push-banner__body { flex: 1; min-width: 0; }
.push-banner__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.2;
}
.push-banner__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  display: block;
  margin-top: 2px;
  line-height: 1.35;
}
.push-banner__btns { display: flex; gap: 8px; flex-shrink: 0; }
.push-banner__btns button {
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease, filter 0.2s ease;
}
.push-banner__yes {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(46, 178, 86, 0.85);
}
.push-banner__yes:hover { filter: brightness(1.08); }
.push-banner__yes:active { transform: translateY(1px); filter: brightness(0.95); }
.push-banner__no {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}
.push-banner__no:hover { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); }
.push-banner__no:active { transform: translateY(1px); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--petrol-900);
  padding-block: 3.5rem;
  border-top: 1px solid var(--line-dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.logo--footer { font-size: 1.5rem; }

.footer__legal {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9375rem;
}
.footer__nav a { color: rgba(255, 255, 255, 0.65); transition: color 0.15s ease; }
.footer__nav a:hover { color: var(--green-500); }

.footer__resp {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red-live);
  color: var(--red-live);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .live__grid, .features__grid, .steps__grid { grid-template-columns: 1fr 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__badges { justify-content: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header__nav { display: none; }
  .header__inner { justify-content: space-between; }
  .stats__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .live__grid, .features__grid, .steps__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
