/* ============================================================
   NEDS AUSTRALIA — GLOBAL STYLESHEET  |  neds-australia.com
   Brand: Orange #FF5900 · Dark #1A1A1A · White #FFFFFF
   ============================================================ */

/* ─── CSS VARIABLES ──────────────────────────────────────────── */
:root {
  --orange:      #FF5900;
  --orange-d:    #D94B00;
  --orange-l:    #FF7A2E;
  --orange-pale: #FFF3EE;
  --dark:        #1A1A1A;
  --dark2:       #242424;
  --dark3:       #2E2E2E;
  --white:       #FFFFFF;
  --grey-f:      #F5F5F5;
  --grey-e:      #EEEEEE;
  --grey-d:      #DDDDDD;
  --grey-mid:    #9E9E9E;
  --grey-dk:     #616161;
  --green:       #00C853;
  --red:         #F44336;
  --blue:        #1565C0;
  --gold:        #FFB300;
  --text:        #1A1A1A;
  --text2:       #616161;
  --text3:       #9E9E9E;
  --bg:          #F2F2F7;
  --surface:     #FFFFFF;
  --surface2:    #FAFAFA;
  --border:      #E0E0E0;
  --r-xs:        4px;
  --r-sm:        8px;
  --r:           12px;
  --r-lg:        18px;
  --r-xl:        28px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --shadow-o:    0 4px 24px rgba(255,89,0,.30);
  --t:           220ms ease;
  --t-fast:      140ms ease;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1  { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2  { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3  { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4  { font-size: 1.1rem; }
.lead  { font-size: 1.1rem; color: var(--text2); line-height: 1.75; }
.small { font-size: 0.82rem; }
.muted { color: var(--text3); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.container--wide  { max-width: 1400px; }
.section          { padding: 64px 0; }
.section--sm      { padding: 40px 0; }
.section--lg      { padding: 96px 0; }
.section--dark    { background: var(--dark);   color: var(--white); }
.section--orange  { background: var(--orange); color: var(--white); }
.section--grey    { background: var(--grey-f); }
.section--white   { background: var(--white); }

/* Grid helpers */
.grid-2    { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1 { gap: 8px; }  .gap-2 { gap: 16px; }
.gap-3 { gap: 24px; } .gap-4 { gap: 32px; }

/* ─── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; gap: 20px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-svg  { width: 108px; height: auto; }
.site-nav  { flex: 1; }
.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: block; padding: 6px 11px;
  color: rgba(255,255,255,.82); font-size: 0.84rem; font-weight: 500;
  border-radius: var(--r-sm); transition: all var(--t-fast); white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(255,89,0,.16); color: var(--orange-l);
}
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.age-badge {
  background: var(--orange); color: var(--white);
  font-size: 0.7rem; font-weight: 800; padding: 3px 7px;
  border-radius: 20px; letter-spacing: .4px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  transition: background var(--t-fast); margin-left: auto;
}
.hamburger:hover { background: rgba(255,255,255,.08); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE TRACKER BAR ─────────────────────────────────────── */
.mobile-tracker-bar {
  display: none; background: var(--orange); color: var(--white);
  text-align: center; font-size: 0.81rem; font-weight: 600;
  padding: 10px 16px; line-height: 1.4;
}
.mobile-tracker-bar a { color: var(--white); text-decoration: underline; }

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--dark2); padding: 14px; gap: 3px;
  border-bottom: 1px solid var(--dark3);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px; color: rgba(255,255,255,.82);
  font-size: 0.9rem; font-weight: 500;
  border-radius: var(--r-sm); transition: background var(--t-fast);
}
.mobile-nav a:hover { background: rgba(255,255,255,.07); }
.mobile-nav .btn-primary { margin-top: 10px; text-align: center; display: block; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: var(--white);
  font-size: 0.87rem; font-weight: 700; padding: 10px 22px;
  border-radius: var(--r); transition: all var(--t);
  white-space: nowrap; letter-spacing: .2px; box-shadow: var(--shadow-o);
}
.btn-primary:hover {
  background: var(--orange-d); transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(255,89,0,.40);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--white);
  font-size: 0.87rem; font-weight: 600; padding: 9px 20px;
  border: 1.5px solid rgba(255,255,255,.30);
  border-radius: var(--r); transition: all var(--t); white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-outline-orange {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--orange);
  font-size: 0.87rem; font-weight: 700; padding: 9px 20px;
  border: 2px solid var(--orange); border-radius: var(--r); transition: all var(--t);
}
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }
.btn-dark {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark); color: var(--white);
  font-size: 0.87rem; font-weight: 700; padding: 10px 22px;
  border-radius: var(--r); transition: all var(--t);
}
.btn-dark:hover { background: var(--dark3); transform: translateY(-1px); }
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-sm  { padding: 7px 14px; font-size: 0.8rem; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2A1400 55%, #1A0900 100%);
  color: var(--white); padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -120px; right: -80px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,89,0,.20) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -60px; left: -60px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255,89,0,.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,89,0,.16); border: 1px solid rgba(255,89,0,.32);
  color: var(--orange-l); font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; letter-spacing: .3px;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
.hero-title       { margin-bottom: 20px; }
.hero-title span  { color: var(--orange); }
.hero-desc        { max-width: 560px; color: rgba(255,255,255,.78); font-size: 1.07rem; margin-bottom: 32px; }
.hero-actions     { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.10); flex-wrap: wrap;
}
.hero-stat-val   { font-size: 2rem; font-weight: 800; color: var(--orange); }
.hero-stat-lbl   { font-size: 0.76rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section-head      { margin-bottom: 36px; }
.section-title     { font-size: clamp(1.3rem,2.5vw,1.9rem); margin-bottom: 8px; }
.section-sub       { color: var(--text2); font-size: 0.97rem; }
.title-center      { text-align: center; }
.title-center .section-sub { max-width: 600px; margin: 0 auto; }
.title-line        { width: 48px; height: 4px; background: var(--orange); border-radius: 2px; margin-bottom: 18px; }
.title-center .title-line { margin-inline: auto; }

/* ─── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card--orange { background: var(--orange); color: var(--white); border-color: transparent; }
.card--dark   { background: var(--dark2); color: var(--white); border-color: var(--dark3); }
.card-icon {
  width: 50px; height: 50px; border-radius: var(--r);
  background: var(--orange-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; margin-bottom: 16px;
}
.card--dark .card-icon { background: rgba(255,89,0,.18); }
.card-title { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.card-desc  { font-size: 0.86rem; color: var(--text2); line-height: 1.65; }
.card--dark .card-desc { color: rgba(255,255,255,.62); }

/* Feature card (horizontal) */
.feature-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px;
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px; border-radius: var(--r); background: var(--orange-pale);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.feature-body .h5 { font-weight: 700; margin-bottom: 6px; font-size: 0.94rem; }
.feature-body p   { color: var(--text2); font-size: 0.83rem; margin: 0; }

/* Stat card */
.stat-card {
  background: var(--surface); border-radius: var(--r-lg); padding: 22px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.stat-val   { font-size: 2.1rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.78rem; color: var(--text3); text-transform: uppercase; letter-spacing: .4px; }
.stat-delta { font-size: 0.76rem; margin-top: 8px; }
.stat-delta.pos { color: var(--green); }
.stat-delta.neg { color: var(--red); }

/* ─── TABLES ─────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg); border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; min-width: 540px; font-size: 0.88rem; background: var(--surface); }
thead th {
  background: var(--dark); color: var(--white); padding: 13px 16px;
  text-align: left; font-size: 0.77rem; text-transform: uppercase;
  letter-spacing: .4px; font-weight: 700; white-space: nowrap;
}
thead th:first-child { border-radius: var(--r-lg) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--r-lg) 0 0; }
tbody tr:nth-child(even) { background: var(--grey-f); }
tbody tr:hover { background: var(--orange-pale); transition: background var(--t-fast); }
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--grey-e); white-space: nowrap; }
.td-green  { color: var(--green); font-weight: 700; }
.td-red    { color: var(--red); font-weight: 700; }
.td-orange { color: var(--orange); font-weight: 700; }
.td-badge  { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.74rem; font-weight: 700; }
.badge-green  { background: #E8F5E9; color: #2E7D32; }
.badge-orange { background: var(--orange-pale); color: var(--orange-d); }
.badge-grey   { background: var(--grey-e);  color: var(--grey-dk); }
.badge-red    { background: #FEEBEE; color: #C62828; }

/* ─── BAR CHART (vertical) ───────────────────────────────────── */
.bar-chart { background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); }
.bar-chart-title { font-size: 0.97rem; font-weight: 700; margin-bottom: 4px; }
.bar-chart-sub   { font-size: 0.78rem; color: var(--text3); margin-bottom: 22px; }
.bars-area {
  display: flex; align-items: flex-end; gap: 12px;
  height: 180px; padding-bottom: 2px; margin-bottom: 10px;
}
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.bar-fill {
  width: 100%; background: var(--orange);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  position: relative; transition: height 0.8s cubic-bezier(.4,0,.2,1);
  min-height: 4px;
}
.bar-fill::after {
  content: attr(data-val); position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%); font-size: 0.7rem; font-weight: 700; color: var(--text); white-space: nowrap;
}
.bar-fill.alt   { background: var(--dark3); }
.bar-fill.green { background: var(--green); }
.bar-fill.blue  { background: var(--blue); }
.bar-label { font-size: 0.7rem; color: var(--text3); text-align: center; white-space: nowrap; }
.bar-legend    { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.legend-item   { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--text2); }
.legend-dot    { width: 10px; height: 10px; border-radius: 2px; }

/* ─── HORIZONTAL BAR CHART ──────────────────────────────────── */
.hbar-chart { background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--border); }
.hbar-chart-title { font-size: 0.97rem; font-weight: 700; margin-bottom: 20px; }
.hbar-row   { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.hbar-label { width: 130px; font-size: 0.81rem; color: var(--text2); flex-shrink: 0; text-align: right; }
.hbar-track { flex: 1; height: 30px; background: var(--grey-e); border-radius: var(--r-sm); overflow: hidden; }
.hbar-fill {
  height: 100%; background: var(--orange); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px; font-size: 0.76rem; font-weight: 700; color: var(--white);
  transition: width 0.9s cubic-bezier(.4,0,.2,1); min-width: 30px;
}
.hbar-fill.alt   { background: var(--dark); }
.hbar-fill.green { background: var(--green); }
.hbar-fill.blue  { background: var(--blue); }
.hbar-fill.gold  { background: var(--gold); color: var(--dark); }

/* ─── DONUT CHART ───────────────────────────────────────────── */
.donut-wrapper  { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.donut-chart    { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.donut-svg      { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-bg       { fill: none; stroke: var(--grey-e); stroke-width: 18; }
.donut-seg      { fill: none; stroke-width: 18; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1); }
.donut-label    { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-val      { font-size: 1.55rem; font-weight: 800; color: var(--text); line-height: 1; }
.donut-cap      { font-size: 0.68rem; color: var(--text3); margin-top: 2px; }
.donut-legend   { flex: 1; min-width: 190px; }
.donut-leg-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--grey-e);
}
.donut-leg-item:last-child { border-bottom: none; }
.donut-leg-left { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; }
.donut-leg-dot  { width: 12px; height: 12px; border-radius: 3px; }
.donut-leg-pct  { font-size: 0.84rem; font-weight: 700; }

/* ─── RADAR / PROGRESS RING ─────────────────────────────────── */
.ring-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 20px; }
.ring-stat      { text-align: center; }
.ring-svg       { width: 90px; height: 90px; transform: rotate(-90deg); }
.ring-bg        { fill: none; stroke: var(--grey-e); stroke-width: 8; }
.ring-fill      { fill: none; stroke-width: 8; stroke-linecap: round; stroke: var(--orange); transition: stroke-dashoffset .9s ease; }
.ring-label     { font-size: 0.82rem; font-weight: 700; margin-top: 8px; }
.ring-pct       { font-size: 0.76rem; color: var(--text3); }

/* ─── ODDS DISPLAY ──────────────────────────────────────────── */
.odds-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 14px; text-align: center; transition: all var(--t); cursor: pointer;
}
.odds-card:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-o); }
.odds-team  { font-size: 0.78rem; color: var(--text2); margin-bottom: 5px; }
.odds-card:hover .odds-team { color: rgba(255,255,255,.75); }
.odds-val   { font-size: 1.55rem; font-weight: 800; color: var(--orange); }
.odds-card:hover .odds-val  { color: var(--white); }
.odds-type  { font-size: 0.7rem; color: var(--text3); margin-top: 3px; }
.odds-card:hover .odds-type { color: rgba(255,255,255,.65); }

/* ─── SPORT CATEGORY CARD ───────────────────────────────────── */
.sport-cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t); }
.sport-cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sport-cat-thumb { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.sport-cat-body  { padding: 16px; }
.sport-cat-name  { font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.sport-cat-meta  { font-size: 0.78rem; color: var(--text3); }
.sport-cat-tag   { display: inline-block; background: var(--orange-pale); color: var(--orange); font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-top: 8px; }

/* ─── PROMO CARD ────────────────────────────────────────────── */
.promo-card { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all var(--t); }
.promo-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.promo-card-header { padding: 26px 26px 18px; background: linear-gradient(135deg,var(--dark),var(--dark2)); color: var(--white); }
.promo-card-tag    { display: inline-block; background: var(--orange); color: var(--white); font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .3px; }
.promo-card-title  { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.promo-card-amount { font-size: 2.1rem; font-weight: 900; color: var(--orange); line-height: 1; }
.promo-card-body   { padding: 18px 26px; }
.promo-list        { display: flex; flex-direction: column; gap: 7px; font-size: 0.85rem; color: var(--text2); }
.promo-list li     { display: flex; gap: 8px; }
.promo-list li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }
.promo-card-footer { padding: 0 26px 22px; }

/* ─── STEPS / GUIDE ─────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step  { display: flex; gap: 20px; position: relative; padding-bottom: 30px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 20px; top: 44px; bottom: 0;
  width: 2px; background: var(--grey-d);
}
.step-num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--orange);
  color: var(--white); font-size: 1.05rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-o);
}
.step-body { padding-top: 8px; }
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc  { font-size: 0.86rem; color: var(--text2); }

/* ─── FAQ / ACCORDION ───────────────────────────────────────── */
.faq-block { background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--border); overflow: hidden; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 24px;
  font-weight: 700; font-size: 0.93rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--orange); }
.faq-q-icon { font-size: 1.3rem; font-weight: 300; color: var(--orange); transition: transform var(--t); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 18px; font-size: 0.87rem; color: var(--text2); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 0.78rem; color: var(--text3); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a    { color: var(--orange); }
.breadcrumb-sep  { color: var(--grey-d); }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert { border-radius: var(--r); padding: 13px 18px; font-size: 0.86rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.alert--info { background: #E3F2FD; color: #0D47A1; border: 1px solid #BBDEFB; }
.alert--warn { background: #FFF8E1; color: #BF360C; border: 1px solid #FFE082; }
.alert--18   { background: var(--dark2); color: rgba(255,255,255,.65); font-size: 0.78rem; text-align: center; padding: 11px; justify-content: center; border-radius: 0; }

/* ─── SIDEBAR LAYOUT ─────────────────────────────────────────── */
.sidebar-layout { display: grid; grid-template-columns: 1fr 290px; gap: 32px; align-items: start; }
.sidebar-widget { background: var(--surface); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--border); margin-bottom: 22px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget-title { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text3); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); }

/* ─── LIVE BADGE ─────────────────────────────────────────────── */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--red); color: var(--white);
  font-size: 0.7rem; font-weight: 800; padding: 3px 8px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: .4px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--white); animation: blink 1.4s infinite; }

/* ─── MATCH CARD ─────────────────────────────────────────────── */
.match-card  { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.match-header { background: var(--dark2); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
.match-sport { color: rgba(255,255,255,.55); font-size: 0.73rem; text-transform: uppercase; letter-spacing: .4px; }
.match-time  { color: var(--orange); font-size: 0.76rem; font-weight: 600; }
.match-body  { padding: 16px; display: flex; align-items: center; gap: 10px; }
.match-team  { flex: 1; text-align: center; }
.match-team-name { font-weight: 700; font-size: 0.9rem; margin-top: 5px; }
.match-vs    { color: var(--text3); font-size: 0.78rem; font-weight: 700; }
.match-odds  { display: flex; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--border); }
.match-odds .odds-card { flex: 1; }

/* ─── RACE CARD ──────────────────────────────────────────────── */
.race-card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); }
.race-header {
  background: linear-gradient(135deg,#1A1A1A,#2E1A00);
  color: var(--white); padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.race-venue  { font-weight: 700; font-size: 0.92rem; }
.race-time   { background: var(--orange); color: var(--white); font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.race-runners { padding: 0 20px; }
.race-runner  { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--grey-e); }
.race-runner:last-child { border-bottom: none; }
.runner-num  { width: 26px; height: 26px; border-radius: 4px; background: var(--dark); color: var(--white); font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.runner-info { flex: 1; }
.runner-name { font-weight: 600; font-size: 0.88rem; }
.runner-form { font-size: 0.73rem; color: var(--text3); }
.runner-win-odd { font-size: 1.05rem; font-weight: 800; color: var(--orange); text-align: right; }
.runner-win-lbl { font-size: 0.68rem; color: var(--text3); text-align: right; }

/* ─── PHONE FRAME ────────────────────────────────────────────── */
.phone-frame {
  width: 255px; background: var(--dark); border-radius: 40px; padding: 18px 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.38); position: relative;
  margin: 0 auto; border: 3px solid var(--dark3); flex-shrink: 0;
}
.phone-notch { width: 78px; height: 24px; background: var(--dark); border-radius: 0 0 14px 14px; margin: 0 auto 0; position: relative; z-index: 1; }
.phone-screen { background: var(--grey-f); border-radius: 24px; overflow: hidden; }

/* ─── AUTHOR CARD ────────────────────────────────────────────── */
.author-card { display: flex; gap: 24px; align-items: flex-start; background: var(--surface); border-radius: var(--r-xl); padding: 30px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.author-photo { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--orange); overflow: hidden; }
.author-name  { font-size: 1.08rem; font-weight: 700; margin-bottom: 3px; }
.author-role  { font-size: 0.8rem; color: var(--orange); font-weight: 600; margin-bottom: 10px; }
.author-bio   { font-size: 0.86rem; color: var(--text2); line-height: 1.7; }

/* ─── TIMELINE ───────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 4px; bottom: 4px; width: 2px; background: var(--grey-d); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot  { position: absolute; left: -25px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); border: 2px solid var(--white); box-shadow: 0 0 0 3px rgba(255,89,0,.22); }
.timeline-time { font-size: 0.73rem; color: var(--text3); margin-bottom: 3px; }
.timeline-title { font-weight: 700; font-size: 0.93rem; margin-bottom: 4px; }
.timeline-desc  { font-size: 0.83rem; color: var(--text2); }

/* ─── PAYMENT ICONS ──────────────────────────────────────────── */
.payment-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.payment-icon {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 9px 14px; font-size: 0.78rem; font-weight: 600; color: var(--text2);
  display: flex; align-items: center; gap: 6px;
}

/* ─── SCROLL-TO-TOP ──────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-o); opacity: 0; pointer-events: none;
  transition: all var(--t);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover   { background: var(--orange-d); transform: translateY(-2px); }

/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero       { background: linear-gradient(135deg,var(--dark) 0%,#2A1400 100%); color: var(--white); padding: 52px 0 44px; }
.page-hero-title { color: var(--white); }
.page-hero-title span { color: var(--orange); }
.page-hero-lead  { color: rgba(255,255,255,.72); font-size: 1.03rem; margin-top: 12px; max-width: 580px; }

/* ─── ARTICLE / SEO TEXT ─────────────────────────────────────── */
.article-wrap  { background: var(--surface); border-radius: var(--r-xl); padding: 40px; border: 1px solid var(--border); }
.article-body h2 { font-size: 1.3rem; margin-top: 32px; margin-bottom: 12px; }
.article-body h3 { font-size: 1.06rem; margin-top: 24px; margin-bottom: 10px; }
.article-body p  { font-size: 0.9rem; line-height: 1.88; color: var(--text2); }
.article-body a  { color: var(--orange); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 14px 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { font-size: 0.9rem; line-height: 1.8; color: var(--text2); }

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group   { margin-bottom: 18px; }
.form-label   { display: block; font-size: 0.83rem; font-weight: 600; margin-bottom: 6px; color: var(--text2); }
.form-input {
  width: 100%; padding: 11px 15px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-size: 0.9rem; color: var(--text);
  background: var(--surface); transition: border-color var(--t-fast);
  font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,89,0,.10); }
.form-input::placeholder { color: var(--text3); }
.form-hint    { font-size: 0.73rem; color: var(--text3); margin-top: 4px; }
.form-select  { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-check   { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.83rem; color: var(--text2); }
.form-check input[type="checkbox"] { width: 17px; height: 17px; border-radius: 4px; border: 1.5px solid var(--border); cursor: pointer; accent-color: var(--orange); margin-top: 1px; flex-shrink: 0; }

/* Auth card */
.auth-page  { min-height: 80vh; display: flex; align-items: center; background: var(--bg); padding: 40px 20px; }
.auth-card  { background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); width: 100%; max-width: 440px; margin: 0 auto; }
.auth-logo  { text-align: center; margin-bottom: 26px; }
.auth-title { font-size: 1.45rem; font-weight: 800; text-align: center; margin-bottom: 5px; }
.auth-sub   { text-align: center; color: var(--text3); font-size: 0.84rem; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 0.83rem; color: var(--text3); }
.auth-footer a { color: var(--orange); font-weight: 600; }
.auth-divider { text-align: center; position: relative; margin: 18px 0; color: var(--text3); font-size: 0.78rem; }
.auth-divider::before,.auth-divider::after { content:''; position:absolute; top:50%; width:calc(50% - 22px); height:1px; background: var(--border); }
.auth-divider::before { left:0; } .auth-divider::after { right:0; }

/* ─── RESPONSIBLE GAMBLING ───────────────────────────────────── */
.rg-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 16px; }
.rg-card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--border); text-align: center; }
.rg-card-icon  { font-size: 2rem; margin-bottom: 10px; }
.rg-card-name  { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; }
.rg-card-url   { font-size: 0.78rem; color: var(--orange); }

/* ─── 404 ────────────────────────────────────────────────────── */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.e404-num   { font-size: 7rem; font-weight: 900; color: var(--orange); opacity: .14; line-height: 1; }
.e404-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 10px; }
.e404-desc  { font-size: 1rem; color: var(--text2); margin-bottom: 28px; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-top  { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-tagline { font-size: 0.84rem; color: rgba(255,255,255,.50); line-height: 1.75; margin: 14px 0; }
.footer-heading { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; color: var(--white); margin-bottom: 14px; }
.footer-links   { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,.52); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom  { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-legal { font-size: 0.73rem; color: rgba(255,255,255,.32); line-height: 1.75; max-width: 680px; }
.footer-18 { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 0.73rem; font-weight: 800; color: rgba(255,255,255,.45); flex-shrink: 0; }
.footer-social { display: flex; gap: 8px; }
.social-icon   { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: rgba(255,255,255,.52); transition: all var(--t-fast); }
.social-icon:hover { background: var(--orange); color: var(--white); }
.footer-stripe { height: 4px; background: var(--orange); }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text3); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }  .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.full-width { width: 100%; }
.hidden { display: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-nav ul   { gap: 1px; }
  .site-nav a    { padding: 5px 8px; font-size: 0.8rem; }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .grid-4        { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .site-nav            { display: none; }
  .header-cta .btn-secondary { display: none; }
  .hamburger           { display: flex; }
  .mobile-tracker-bar  { display: block; }
  .hero                { padding: 48px 0 36px; }
  .hero-stats          { gap: 20px; }
  .section             { padding: 44px 0; }
  .grid-2, .grid-3     { grid-template-columns: 1fr; }
  .grid-4              { grid-template-columns: repeat(2,1fr); }
  .footer-top          { grid-template-columns: 1fr 1fr; }
  .sidebar-layout      { grid-template-columns: 1fr; }
  .donut-wrapper       { flex-direction: column; align-items: center; }
  .author-card         { flex-direction: column; text-align: center; align-items: center; }
  .table-wrap          { margin-left: -20px; margin-right: -20px; border-radius: 0; border-left: none; border-right: none; }
  .bars-area           { height: 140px; }
  .hbar-label          { width: 90px; font-size: 0.74rem; }
  .article-wrap        { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .container         { padding: 0 16px; }
  .hero-actions      { flex-direction: column; align-items: flex-start; }
  .footer-top        { grid-template-columns: 1fr; }
  .grid-4            { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .auth-card         { padding: 26px 18px; }
  .article-wrap      { padding: 20px 14px; }
  .card              { padding: 20px; }
  .bars-area         { height: 120px; }
  .donut-chart       { width: 130px; height: 130px; }
  .phone-frame       { width: 220px; }
}

/* =====================================================
   404 PAGE COMPONENTS
   ===================================================== */
.err-wrap    { max-width: 600px; margin: 0 auto; }
.err-title   { font-size: 2rem; font-weight: 900; margin-bottom: 12px; color: var(--dark); }
.err-sub     { font-size: 1rem; color: var(--text2); line-height: 1.7; margin-bottom: 36px; }
.err-links   { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.err-links a { flex-shrink: 0; }

/* =====================================================
   404 PAGE COMPONENTS
   ===================================================== */
.err-wrap    { max-width: 600px; margin: 0 auto; }
.err-title   { font-size: 2rem; font-weight: 900; margin-bottom: 12px; color: var(--dark); }
.err-sub     { font-size: 1rem; color: var(--text2); line-height: 1.7; margin-bottom: 36px; }
.err-links   { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.err-links a { flex-shrink: 0; }
