/* =================================================================
   THE FIGHT PICK — mobile-first QR landing page
   Hero is the boosted price. Everything else is secondary.
   Palette follows the Beazt sportsbook: neon green + violet on near-black.
   ================================================================= */

:root {
  /* Surfaces */
  --bg: #050A07;
  --surface: #0D1712;
  --surface-2: #12211A;
  --line: #1E3227;
  --line-soft: #17281F;

  /* Brand */
  --green: #22FF37;
  --green-dim: #17C42A;
  --green-deep: #0A3D16;
  --violet: #8B2FD6;
  --violet-lit: #B06BF5;

  /* Text */
  --text: #EAF3ED;
  --text-dim: #9DB0A5;
  --text-faint: #6B7F74;

  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 560px;

  --shadow: 0 14px 40px rgba(0, 0, 0, .55);
  --glow: 0 0 0 1px rgba(34, 255, 55, .28), 0 14px 46px rgba(34, 255, 55, .16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(820px 460px at 50% -8%, rgba(34, 255, 55, .13), transparent 68%),
    radial-gradient(620px 420px at 88% 6%, rgba(139, 47, 214, .16), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------- Masthead ---------------- */
.masthead { padding: 22px 0 4px; }

.brand-name {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.brand-name em { font-style: normal; color: var(--green); }

.brand-tagline {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ================================================================
   HERO — THE BOOST
   ================================================================ */
.hero { padding: 18px 0 6px; }

.boost {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(34, 255, 55, .32);
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(139, 47, 214, .30), transparent 66%),
    linear-gradient(168deg, #123021 0%, #0B1A13 58%, #0A1710 100%);
  box-shadow: var(--glow);
  padding: 18px 18px 20px;
}

/* Soft sweep across the card so it doesn't read flat */
.boost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 44%, rgba(34, 255, 55, .07) 50%, transparent 57%);
  pointer-events: none;
}

.boost > * { position: relative; z-index: 1; }

/* --- Top row: badge + kickoff --- */
.boost-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.boost-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), #6C1FB0);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  box-shadow: 0 5px 18px rgba(139, 47, 214, .48);
}

.boost-kickoff {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- Provider line --- */
.boost-provider {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

.boost-provider svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* --- Fixture --- */
.boost-fixture {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

/* --- The pick --- */
.boost-pick-label {
  margin: 0 0 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.boost-pick {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
  overflow-wrap: anywhere;
}

.boost-market {
  margin: 5px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
}

/* --- The odds bar: the single most important element --- */
.odds-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 4px;
  padding: 16px 14px;
  border-radius: 15px;
  background: rgba(0, 0, 0, .42);
  border: 1px solid rgba(34, 255, 55, .22);
}

.odds-old {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-variant-numeric: tabular-nums;
}

.odds-arrow {
  flex: none;
  font-size: 19px;
  font-weight: 800;
  color: var(--violet-lit);
  line-height: 1;
}

.odds-new {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(34, 255, 55, .5);
}

.odds-format {
  margin: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: block;
  width: 100%;
  padding: 18px;
  border: 0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn:active { transform: scale(.985); }

.btn-boost {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #04250B;
  box-shadow: 0 10px 30px rgba(34, 255, 55, .32);
  animation: breathe 2.8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 10px 30px rgba(34, 255, 55, .32); }
  50%      { box-shadow: 0 10px 30px rgba(34, 255, 55, .32), 0 0 0 9px rgba(34, 255, 55, .09); }
}

.btn-claim {
  background: transparent;
  border: 1.5px solid rgba(34, 255, 55, .5);
  color: var(--green);
}

.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
  animation: none;
}

.terms {
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  text-align: center;
}

/* Dev-only reminder when a link is missing */
.notice {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .4);
  border: 1px dashed rgba(34, 255, 55, .5);
  font-size: 13px;
  color: var(--text);
}

.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, .5);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--green);
}

/* ================================================================
   TALE OF THE TAPE
   ================================================================ */
.fight { padding: 20px 0 4px; }

.fight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.fight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pill-sport {
  background: rgba(139, 47, 214, .18);
  color: var(--violet-lit);
  border: 1px solid rgba(139, 47, 214, .42);
}

.pill-event {
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--line);
}

.fight-venue { margin: 0 0 14px; font-size: 13px; color: var(--text-faint); }

.tape {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 10px;
}

.fighter { min-width: 0; text-align: center; }

.fighter-flag { font-size: 22px; line-height: 1; margin-bottom: 5px; }

.fighter-name {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 21px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.fighter-nick { margin: 3px 0 0; font-size: 12px; font-style: italic; color: var(--violet-lit); }

.fighter-record {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.fighter.is-pick .fighter-name { color: var(--green); }

.fighter-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 255, 55, .14);
  border: 1px solid rgba(34, 255, 55, .42);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vs {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--text-faint);
  padding: 0 2px;
  margin-top: 4px;
}

/* ================================================================
   SECONDARY — WELCOME OFFER
   ================================================================ */
.offer-section { padding: 22px 0 6px; }

.section-head { margin-bottom: 12px; }
.section-head[hidden] { display: none; }

.section-title { margin: 0; font-size: 16px; font-weight: 700; }

.section-sub { margin: 3px 0 0; font-size: 13px; color: var(--text-faint); }

.offer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.offer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.offer-logo {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--logo-bg, #fff);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.offer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }

.logo-fallback { font-size: 17px; font-weight: 800; color: #06120A; }

.offer-operator { font-size: 16px; font-weight: 700; margin: 0; }

.licence-pill {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(34, 255, 55, .12);
  border: 1px solid rgba(34, 255, 55, .3);
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.offer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 4px;
}

.offer-bonus {
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 14px;
}

.perks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }

.perks li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text-dim); }

.perks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 7px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
}

/* ---------------- Responsible gambling ---------------- */
.rg { padding: 24px 0 26px; }

.rg-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.rg-card h2 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--violet-lit); }

.rg-card p { margin: 0 0 8px; font-size: 13px; line-height: 1.65; color: var(--text-dim); }

.rg-links { margin: 0 !important; }
.rg-links a { color: var(--text); text-decoration: underline; }

/* ---------------- Footer ---------------- */
.footer {
  padding: 22px 0 40px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.footer .age {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .03em;
}

.footer .legal { margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: var(--text-faint); }

.footer-links { margin: 0 0 12px; font-size: 13px; color: var(--text-dim); }
.footer-links a { text-decoration: underline; }

.footer .copy { margin: 0; font-size: 12px; color: var(--text-faint); }

/* ---------------- Sticky mobile CTA ---------------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(5, 10, 7, .98) 62%, rgba(5, 10, 7, 0));
  transform: translateY(120%);
  transition: transform .25s ease;
  pointer-events: none;
}

.sticky-cta[hidden] { display: none; }
.sticky-cta.show { transform: translateY(0); pointer-events: auto; }

.sticky-cta .btn { margin: 0 auto; max-width: var(--wrap); animation: none; }

.sticky-odds {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .22);
  font-variant-numeric: tabular-nums;
}

/* ---------------- Age gate ---------------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 4, .94);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 22px;
}

.age-gate[hidden] { display: none; }

.age-gate-card {
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.age-gate-icon {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dim));
  color: #04250B;
  font-size: 19px;
  font-weight: 900;
}

.age-gate-card h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; }

.age-gate-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }

.age-gate-actions { display: grid; gap: 10px; }

.btn-age {
  padding: 15px;
  border: 0;
  border-radius: 13px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-age-yes { background: linear-gradient(135deg, var(--green), var(--green-dim)); color: #04250B; }

.btn-age-no { background: transparent; border: 1px solid var(--line); color: var(--text-dim); }

.age-gate-help {
  margin: 18px 0 0 !important;
  font-size: 11px !important;
  color: var(--text-faint) !important;
}

.age-gate-help a { color: var(--text-dim); text-decoration: underline; }

/* ---------------- Cookie banner ---------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .25s ease;
}

.cookie-banner[hidden] { display: none; }
.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.cookie-inner p { margin: 0; flex: 1 1 240px; font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.cookie-inner a { color: var(--green); text-decoration: underline; }

.cookie-actions { display: flex; gap: 8px; }

.btn-cookie {
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-accept { background: var(--green); color: #04250B; }
.btn-cookie-decline { background: transparent; border: 1px solid var(--line); color: var(--text-dim); }

/* ---------------- Legal pages ---------------- */
.legal-page { padding: 30px 0 60px; }
.legal-page h1 { font-size: 26px; margin: 0 0 6px; }
.legal-page .updated { font-size: 13px; color: var(--text-faint); margin: 0 0 26px; }
.legal-page h2 { font-size: 17px; margin: 26px 0 8px; }
.legal-page p, .legal-page li { font-size: 14px; line-height: 1.7; color: var(--text-dim); }
.legal-page a { color: var(--green); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; font-weight: 600; }
.back-link a { color: var(--green); }

/* ---------------- Larger screens ---------------- */
@media (min-width: 620px) {
  .brand-name { font-size: 38px; }
  .boost-pick { font-size: 46px; }
  .odds-new { font-size: 44px; }
  .odds-old { font-size: 24px; }
  .offer-bonus { font-size: 30px; }
  .fighter-name { font-size: 24px; }
  /* Plenty of room for the hero CTA — the sticky bar just gets in the way. */
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
