/* ============================================================
   au.pund123.bet — Promo landing page
   Google Ads compliant · No inducements · VIC/AU
   ============================================================ */

/* ---- Import tokens from inline (:root defined below) --- */
:root {
  --c-bg:        #111113;
  --c-bg-alt:    #0c0c0e;
  --c-surface:   #1a1b1f;
  --c-surface-2: #222428;
  --c-border:    #2c2d34;
  --c-border-2:  #38393f;
  --c-gold:      #c9a84c;
  --c-gold-h:    #dbb95e;
  --c-gold-dim:  rgba(201,168,76,.14);
  --c-steel:     #4266a0;
  --c-live:      #e04444;
  --c-live-dim:  rgba(224,68,68,.14);
  --c-text:      #ebebeb;
  --c-text-2:    #adb0ba;
  --c-muted:     #71747e;
  --c-invert:    #111113;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.25rem;
  --t-2xl:  1.5rem;
  --t-3xl:  1.875rem;
  --t-4xl:  2.25rem;
  --t-5xl:  3rem;

  --sp-1:  0.25rem; --sp-2:  0.5rem;  --sp-3:  0.75rem;
  --sp-4:  1rem;    --sp-5:  1.25rem; --sp-6:  1.5rem;
  --sp-8:  2rem;    --sp-10: 2.5rem;  --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;    --sp-24: 6rem;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-pill: 9999px;

  --ease:     cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
  --t-fast: 150ms;
  --t-base: 250ms;

  --max-w:    1200px;
  --rg-bar-h: 36px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--rg-bar-h);
}

img,video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-gold); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

h1,h2,h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 4vw, var(--sp-12));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.875rem 2.25rem;
  font-family: var(--font-head);
  font-size: var(--t-xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  min-height: 52px;
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--c-gold);
  color: var(--c-invert);
}
.btn-primary:hover {
  background: var(--c-gold-h);
  color: var(--c-invert);
  box-shadow: 0 0 32px rgba(201,168,76,.3);
}
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border-2);
}
.btn-outline:hover { border-color: var(--c-gold); color: var(--c-gold); background: var(--c-gold-dim); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--t-base); min-height: 40px; }

/* ---- Top bar -------------------------------------------- */
.promo-header {
  position: sticky;
  top: 0;
  background: rgba(17,17,19,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
}
.promo-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-logo {
  font-family: var(--font-head);
  font-size: var(--t-2xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.promo-logo em { font-style: normal; color: var(--c-gold); }
.header-age {
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--c-invert);
  background: var(--c-gold);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  letter-spacing: 0.04em;
}

/* ---- Hero ---------------------------------------------- */
.promo-hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.promo-hero__bg {
  position: absolute;
  inset: 0;
}
.promo-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .3;
}
.promo-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17,17,19,.97) 45%, rgba(17,17,19,.55) 75%, rgba(17,17,19,.1) 100%),
    linear-gradient(to top, rgba(17,17,19,.8) 0%, transparent 40%);
}

.promo-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-24));
  max-width: 680px;
}

.promo-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-gold);
  margin-bottom: var(--sp-5);
}
.promo-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--c-gold);
}

.promo-hero__title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}
.promo-hero__title .accent {
  color: var(--c-gold);
  display: block;
  padding-left: clamp(var(--sp-4), 3vw, var(--sp-12));
}

.promo-hero__sub {
  font-size: clamp(var(--t-base), 1.5vw, var(--t-xl));
  color: var(--c-text-2);
  margin-bottom: var(--sp-8);
  max-width: 42ch;
  line-height: 1.6;
}

.promo-hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: flex-start;
}

.promo-hero__note {
  font-size: var(--t-xs);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Trust strip under hero */
.trust-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-4) 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-6);
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--c-text-2);
  white-space: nowrap;
}
.trust-item [data-lucide],
.trust-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--c-gold);
  flex-shrink: 0;
}

/* ---- Why section --------------------------------------- */
.promo-why {
  padding-block: clamp(var(--sp-16), 6vw, var(--sp-24));
}
.promo-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
@media (min-width: 600px) { .promo-why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .promo-why__grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: border-color var(--t-fast);
}
.why-card:hover { border-color: var(--c-gold); }
.why-card [data-lucide],
.why-card .material-symbols-outlined {
  font-size: 28px;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
  display: block;
}
.why-card__title {
  font-family: var(--font-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.why-card__desc {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.7;
}

/* ---- Steps --------------------------------------------- */
.promo-steps {
  padding-block: clamp(var(--sp-16), 6vw, var(--sp-24));
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}
.promo-steps::after {
  content: 'BET';
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(8rem, 20vw, 22rem);
  line-height: 1;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-border);
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--sp-6), 3vw, var(--sp-12));
  margin-top: var(--sp-10);
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--c-gold);
}
.step__num {
  font-family: var(--font-head);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
}
.step__title {
  font-family: var(--font-head);
  font-size: clamp(var(--t-2xl), 2.5vw, var(--t-4xl));
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.step__desc {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 26ch;
}

/* ---- Sports grid --------------------------------------- */
.promo-sports {
  padding-block: clamp(var(--sp-12), 5vw, var(--sp-20));
}
.sports-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
}
.sport-pill {
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: var(--t-base);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.sport-pill:hover, .sport-pill.highlight {
  color: var(--c-gold);
  border-color: var(--c-gold);
  background: var(--c-gold-dim);
}

/* ---- Responsible Gambling tools ------------------------ */
.promo-rg {
  padding-block: clamp(var(--sp-16), 6vw, var(--sp-24));
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}
.promo-rg__lead {
  font-size: var(--t-lg);
  color: var(--c-text-2);
  max-width: 54ch;
  margin-top: var(--sp-5);
  line-height: 1.6;
}
.promo-rg__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
@media (min-width: 600px) { .promo-rg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .promo-rg__grid { grid-template-columns: repeat(4, 1fr); } }

.rg-tool {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.rg-tool:hover { border-color: var(--c-gold); transform: translateY(-2px); }
.rg-tool .material-symbols-outlined {
  font-size: 30px;
  color: var(--c-gold);
  margin-bottom: var(--sp-4);
  display: block;
}
.rg-tool__title {
  font-family: var(--font-head);
  font-size: var(--t-xl);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}
.rg-tool__desc {
  font-size: var(--t-sm);
  color: var(--c-muted);
  line-height: 1.7;
  flex: 1 1 auto;
}
.rg-tool__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-5);
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-gold);
}
.rg-tool__link .material-symbols-outlined { font-size: 16px; margin: 0; color: inherit; }
.rg-tool__link:hover { color: var(--c-gold-h); }
.rg-tool--betstop { border-color: var(--c-gold); background: var(--c-gold-dim); }

.promo-rg__help {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-border);
}
.promo-rg__help a { color: var(--c-gold); text-decoration: underline; }
.promo-rg__help a:hover { color: var(--c-gold-h); }

/* ---- Final CTA ----------------------------------------- */
.promo-cta {
  padding-block: clamp(var(--sp-16), 6vw, var(--sp-24));
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.promo-cta h2 {
  font-size: clamp(var(--t-4xl), 6vw, var(--t-5xl));
  margin-bottom: var(--sp-4);
}
.promo-cta p {
  color: var(--c-muted);
  margin-bottom: var(--sp-8);
  max-width: none;
}

/* ---- Footer -------------------------------------------- */
.promo-footer {
  background: var(--c-bg-alt);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--c-border);
}
.promo-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: flex-start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}
.footer-links a {
  font-size: var(--t-xs);
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--c-gold); }
.footer-legal-text {
  font-size: var(--t-xs);
  color: var(--c-muted);
  line-height: 1.7;
  margin-top: var(--sp-4);
}
.footer-legal-text strong { color: var(--c-text-2); }
.footer-tagline-rg {
  font-size: var(--t-xs);
  color: var(--c-muted);
  font-style: italic;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}

/* ---- RG bar -------------------------------------------- */
.rg-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--rg-bar-h);
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  z-index: 80;
  display: flex;
  align-items: center;
}
.rg-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(var(--sp-5), 4vw, var(--sp-12));
  overflow: hidden;
}
.rg-bar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--t-xs);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.rg-bar__link { transition: color var(--t-fast); }
.rg-bar__link:hover { color: var(--c-gold); }
.rg-bar__sep { color: var(--c-border-2); font-size: var(--t-xs); }
.rg-bar__age {
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 900;
  color: var(--c-text-2);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-pill);
  padding: 1px 7px;
  margin-left: auto;
  line-height: 1.6;
}

/* ---- Age gate ------------------------------------------ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.age-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,10,.96);
  backdrop-filter: blur(8px);
}
.age-gate__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-lg);
  padding: clamp(var(--sp-8),5vw,var(--sp-12));
  text-align: center;
}
.age-gate__logo {
  font-family: var(--font-head);
  font-size: var(--t-3xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}
.age-gate__logo em { font-style: normal; color: var(--c-gold); }
.age-gate__title {
  font-family: var(--font-head);
  font-size: var(--t-3xl);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.age-gate__desc {
  font-size: var(--t-sm);
  color: var(--c-muted);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}
.age-gate__actions { display: flex; flex-direction: column; gap: var(--sp-3); align-items: center; }
.age-gate__actions .btn { width: 100%; justify-content: center; }
.age-gate__exit { font-size: var(--t-sm); color: var(--c-muted); text-decoration: underline; transition: color var(--t-fast); }
.age-gate__exit:hover { color: var(--c-text-2); }
.age-gate__rg { margin-top: var(--sp-6); font-size: var(--t-xs); color: var(--c-muted); }
.age-gate__rg a { color: var(--c-muted); text-decoration: underline; transition: color var(--t-fast); }
.age-gate__rg a:hover { color: var(--c-gold); }
body.age-gate-open { overflow: hidden; }

/* ---- Cookie banner ------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: calc(var(--rg-bar-h) + var(--sp-3));
  left: var(--sp-4);
  width: min(480px, calc(100vw - var(--sp-8)));
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  border-radius: var(--r-lg);
  z-index: 300;
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
  animation: slideInBanner .4s cubic-bezier(0,0,.2,1);
}
@keyframes slideInBanner { from { transform:translateY(12px);opacity:0; } to { transform:none;opacity:1; } }
.cookie-banner p { font-size: var(--t-sm); color: var(--c-text-2); max-width: none; }
.cookie-banner a { color: var(--c-gold); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .4s cubic-bezier(0,0,.2,1), transform .4s cubic-bezier(0,0,.2,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }
