/* =============================================================
   PointsBet Australia — Main Stylesheet
   Brand: #000 bg | #E31837 red | #fff white
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Barlow+Condensed:ital,wght@0,300;0,400;0,700;1,700;1,800;1,900&display=swap');

/* ---- RESET -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body { font-family: 'Barlow', sans-serif; background: #080808; color: #fff; line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ---- CSS VARIABLES ------------------------------------------- */
:root {
  --red:        #E31837;
  --red-dark:   #b5102a;
  --red-glow:   rgba(227,24,55,.30);
  --bg:         #080808;
  --bg-card:    #111111;
  --bg-surface: #181818;
  --bg-elevated:#232323;
  --border:     #2a2a2a;
  --border-l:   #3a3a3a;
  --white:      #ffffff;
  --gray-100:   #f0f0f0;
  --gray-300:   #bbbbbb;
  --gray-400:   #888888;
  --gray-500:   #555555;
  --font:       'Barlow', sans-serif;
  --font-c:     'Barlow Condensed', sans-serif;
  --r:          8px;
  --r-lg:       16px;
  --sh:         0 4px 24px rgba(0,0,0,.55);
  --sh-red:     0 4px 24px rgba(227,24,55,.22);
  --tr:         .3s ease;
  --mw:         1280px;
}

/* ---- TYPOGRAPHY --------------------------------------------- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-c); font-style: italic; font-weight: 800; line-height: 1.15; }
h1 { font-size: clamp(2.2rem,5vw,4.2rem); }
h2 { font-size: clamp(1.8rem,3.5vw,3rem); }
h3 { font-size: clamp(1.3rem,2.5vw,2rem); }
h4 { font-size: 1.25rem; font-style: normal; font-weight: 700; }
p  { margin-bottom: 1rem; color: var(--gray-300); }
strong { color: var(--white); }
.lead { font-size: 1.15rem; color: var(--gray-300); }
.red { color: var(--red); }
.section-label { font-family: var(--font-c); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .5rem; }
.section-title { margin-bottom: .6rem; }
.section-sub   { color: var(--gray-400); max-width: 640px; margin-bottom: 2.5rem; }

/* ---- LAYOUT -------------------------------------------------- */
.container { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section-sm{ padding: 48px 0; }
.section-lg{ padding: 110px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 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: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; }
.flex   { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 12px; }
.gap    { gap: 24px; }
.gap-lg { gap: 40px; }
.mt-sm  { margin-top: 12px; }
.mt     { margin-top: 24px; }
.mt-lg  { margin-top: 48px; }
.mb-sm  { margin-bottom: 12px; }
.mb     { margin-bottom: 24px; }
.text-center { text-align: center; }

/* ---- BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-c); font-style: italic; font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--r); cursor: pointer; border: none; transition: var(--tr);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--sh-red); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn-dark { background: var(--bg-elevated); color: #fff; border: 1px solid var(--border-l); }
.btn-dark:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* ---- HEADER / NAVIGATION ------------------------------------ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,8,8,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.7); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img, .logo svg { height: 42px; width: auto; }
.logo-text { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 1.5rem; line-height: 1; }
.logo-text .pts { color: #fff; }
.logo-text .bet { color: var(--red); }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a {
  font-family: var(--font-c); font-style: italic; font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-300); padding: 8px 12px; border-radius: 6px; transition: var(--tr); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--bg-elevated); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login    { font-family: var(--font-c); font-style: italic; font-weight: 700; font-size: .88rem; color: var(--gray-300); padding: 8px 16px; border-radius: 6px; transition: var(--tr); }
.btn-login:hover { color: #fff; }
.btn-register { background: var(--red); color: #fff; font-family: var(--font-c); font-style: italic; font-weight: 800; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; padding: 10px 22px; border-radius: 6px; transition: var(--tr); }
.btn-register:hover { background: var(--red-dark); }

/* Mobile tracker CTA — visible only on mobile */
.btn-tracker-mobile { display: none; background: var(--red); color: #fff; font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; padding: 11px 24px; border-radius: 6px; text-align: center; animation: pulse-red 2.5s infinite; }
@keyframes pulse-red { 0%,100%{ box-shadow:0 0 0 0 var(--red-glow); } 50%{ box-shadow:0 0 0 8px transparent; } }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--tr); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; z-index: 999;
  background: var(--bg-card); overflow-y: auto; padding: 24px;
  transform: translateX(-100%); transition: transform var(--tr);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-menu nav a { font-family: var(--font-c); font-style: italic; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--gray-300); padding: 14px 16px; border-radius: var(--r); border-bottom: 1px solid var(--border); }
.mobile-menu nav a:hover { color: #fff; background: var(--bg-elevated); }
.mobile-menu .mobile-cta { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mobile-auth { display: flex; gap: 12px; }
.mobile-menu .mobile-auth a { flex: 1; text-align: center; padding: 12px; border-radius: 6px; font-family: var(--font-c); font-style: italic; font-weight: 800; font-size: 1rem; text-transform: uppercase; }
.mobile-menu .mobile-auth .m-login  { border: 1px solid var(--border-l); color: #fff; }
.mobile-menu .mobile-auth .m-reg    { background: var(--red); color: #fff; }

/* ---- HERO SECTIONS ------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px; /* top accounts for fixed header */
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, rgba(227,24,55,.08) 100%); }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { font-family: var(--font-c); font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--red); }
.hero h1 { margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero h1 span { color: var(--red); }
.hero .lead { max-width: 600px; margin-bottom: 36px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50px; padding: 8px 16px; font-size: .85rem; color: var(--gray-300); }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 2.2rem; color: #fff; line-height: 1; }
.hero-stat .num span { color: var(--red); }
.hero-stat .lbl { font-size: .8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* Hero variants */
.hero-split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-compact { padding: 120px 0 60px; }
.hero-dark { background: #000; }

/* ---- CARDS --------------------------------------------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; transition: var(--tr);
}
.card:hover { border-color: var(--border-l); transform: translateY(-3px); box-shadow: var(--sh); }
.card-img { width: 100%; overflow: hidden; }
.card-img img, .card-img svg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img, .card:hover .card-img svg { transform: scale(1.04); }
.card-body { padding: 24px; }
.card-title { font-size: 1.2rem; margin-bottom: 8px; }
.card-text  { font-size: .9rem; color: var(--gray-400); }
.card-tag   { display: inline-block; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }

.card-sport { border-top: 3px solid var(--red); }
.card-odds  { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.odds-val   { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 1.6rem; color: var(--red); }
.odds-label { font-size: .78rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; }

/* ---- TABLES -------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--border); }
.table-wrap table { width: 100%; min-width: 580px; border-collapse: collapse; }
.table-wrap th {
  background: var(--bg-elevated); color: var(--gray-400); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 20px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border);
}
.table-wrap td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--gray-300); vertical-align: middle; }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:hover td { background: var(--bg-elevated); }
.table-wrap .cell-red   { color: var(--red); font-weight: 700; }
.table-wrap .cell-green { color: #22c55e; font-weight: 700; }
.table-wrap .cell-bold  { color: #fff; font-weight: 700; }
.table-wrap .cell-badge { display: inline-flex; align-items: center; gap: 6px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 50px; }
.badge-red   { background: rgba(227,24,55,.18); color: var(--red); border: 1px solid rgba(227,24,55,.3); }
.badge-green { background: rgba(34,197,94,.15); color: #22c55e; border: 1px solid rgba(34,197,94,.25); }
.badge-gray  { background: var(--bg-elevated); color: var(--gray-400); border: 1px solid var(--border-l); }
.badge-gold  { background: rgba(234,179,8,.15); color: #eab308; border: 1px solid rgba(234,179,8,.25); }
.table-th-red { color: var(--red) !important; }
.table-striped tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* ---- CHARTS -------------------------------------------------- */
.chart-wrap { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; overflow: hidden; }
.chart-title { font-family: var(--font-c); font-style: italic; font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }
.chart-sub   { font-size: .83rem; color: var(--gray-400); margin-bottom: 20px; }
.chart-inner { position: relative; width: 100%; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.chart-legend-item { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--gray-400); }
.chart-legend-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* CSS Bar Chart */
.css-bar-chart { display: flex; flex-direction: column; gap: 14px; }
.css-bar { display: flex; align-items: center; gap: 12px; }
.css-bar-label { font-size: .88rem; color: var(--gray-300); min-width: 110px; white-space: nowrap; }
.css-bar-track { flex: 1; height: 28px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.css-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--red-dark), var(--red)); border-radius: 4px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: .8rem; font-weight: 700; color: #fff; transition: width 1.5s cubic-bezier(.22,1,.36,1); }
.css-bar-fill.secondary { background: linear-gradient(90deg,#1d4ed8,#3b82f6); }
.css-bar-fill.tertiary  { background: linear-gradient(90deg,#065f46,#10b981); }

/* Donut chart placeholder */
.donut-wrap { display: flex; align-items: center; gap: 32px; }
.donut-items { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.donut-item  { display: flex; align-items: center; gap: 10px; }
.donut-dot   { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.donut-name  { flex: 1; font-size: .9rem; color: var(--gray-300); }
.donut-pct   { font-family: var(--font-c); font-weight: 800; font-size: 1.1rem; }

/* ---- STATS / COUNTERS --------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat-box  { background: var(--bg-card); padding: 36px 28px; text-align: center; }
.stat-box .num { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 2.8rem; color: #fff; line-height: 1; }
.stat-box .num em { color: var(--red); font-style: normal; }
.stat-box .lbl { font-size: .8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-top: 8px; }

/* ---- FEATURE LIST ------------------------------------------- */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon { width: 52px; height: 52px; border-radius: var(--r); background: rgba(227,24,55,.12); border: 1px solid rgba(227,24,55,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-body {}
.feature-title { font-family: var(--font-c); font-style: normal; font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.feature-text  { font-size: .9rem; color: var(--gray-400); margin: 0; }

/* ---- STEPS --------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding: 32px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.step-num  { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 3rem; color: var(--red); opacity: .3; line-height: 1; margin-bottom: 12px; }
.step-title{ font-size: 1.1rem; margin-bottom: 8px; }
.step-text { font-size: .88rem; color: var(--gray-400); margin: 0; }

/* ---- FAQ ----------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 700; font-size: 1rem; color: #fff;
  user-select: none;
}
.faq-q:hover { background: var(--bg-elevated); }
.faq-q .faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--tr); }
.faq-q .faq-icon svg { width: 12px; height: 12px; transition: var(--tr); }
.faq-item.open .faq-icon { background: var(--red); border-color: var(--red); }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: .95rem; color: var(--gray-400); }
.faq-item.open .faq-a { max-height: 300px; }

/* ---- AUTHOR BOX --------------------------------------------- */
.author-box {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; border-left: 4px solid var(--red);
}
.author-photo { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--border-l); }
.author-photo img, .author-photo svg { width: 100%; height: 100%; object-fit: cover; }
.author-info {}
.author-name  { font-family: var(--font-c); font-weight: 800; font-size: 1.25rem; }
.author-role  { font-size: .83rem; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin: 4px 0 12px; }
.author-bio   { font-size: .9rem; color: var(--gray-400); margin: 0; }
.author-meta  { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.author-meta span { font-size: .78rem; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }

/* ---- SECTION BANNER ----------------------------------------- */
.section-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  border-radius: var(--r-lg); padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  overflow: hidden; position: relative;
}
.section-banner::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06); border-radius: 50%;
}
.section-banner::after {
  content: ''; position: absolute; bottom: -60px; right: 120px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.section-banner .banner-text { position: relative; z-index: 1; }
.section-banner h2 { color: #fff; margin-bottom: 8px; }
.section-banner p  { color: rgba(255,255,255,.8); margin: 0; }
.section-banner .banner-cta { position: relative; z-index: 1; flex-shrink: 0; }

/* ---- LIVE ODDS TICKER --------------------------------------- */
.odds-ticker {
  background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 10px 0; overflow: hidden;
}
.ticker-inner { display: flex; gap: 0; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 28px; border-right: 1px solid var(--border); font-size: .85rem; }
.ticker-team { color: var(--gray-300); }
.ticker-odds { font-family: var(--font-c); font-weight: 800; font-size: 1rem; color: var(--red); }
.ticker-sport{ font-size: .72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
@keyframes ticker { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

/* ---- TRUST LOGOS -------------------------------------------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-logo  { opacity: .45; transition: var(--tr); filter: grayscale(1); }
.trust-logo:hover { opacity: .8; filter: none; }
.trust-logo svg, .trust-logo img { height: 28px; width: auto; }

/* ---- REVIEW STARS ------------------------------------------- */
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; color: #eab308; fill: currentColor; }
.rating-row { display: flex; align-items: center; gap: 10px; }
.rating-score { font-family: var(--font-c); font-weight: 900; font-size: 2rem; }
.rating-count { font-size: .83rem; color: var(--gray-400); }

/* ---- BONUS CARD -------------------------------------------- */
.bonus-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-l); border-radius: var(--r-lg);
  padding: 32px; position: relative; overflow: hidden;
}
.bonus-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b);
}
.bonus-card .bonus-amount { font-family: var(--font-c); font-style: italic; font-weight: 900; font-size: 3.5rem; color: var(--red); line-height: 1; }
.bonus-card .bonus-label  { font-size: .83rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; margin-bottom: 16px; }
.bonus-card .bonus-title  { font-size: 1.1rem; margin-bottom: 8px; }
.bonus-card .bonus-list   { display: flex; flex-direction: column; gap: 8px; }
.bonus-card .bonus-list li{ display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gray-400); }
.bonus-card .bonus-list li::before { content: '✓'; color: #22c55e; font-weight: 800; }

/* ---- APP MOCKUP --------------------------------------------- */
.app-phone {
  width: 280px; flex-shrink: 0;
  background: var(--bg-card); border: 2px solid var(--border-l); border-radius: 40px;
  padding: 16px 12px; box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.app-phone::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px; background: var(--border-l); border-radius: 3px; z-index: 1;
}
.app-phone .phone-screen {
  border-radius: 28px; overflow: hidden; background: #000;
  aspect-ratio: 9/18;
}
.app-phone img, .app-phone svg { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }

/* ---- COMPARISON TABLE --------------------------------------- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { background: var(--bg-elevated); padding: 16px 20px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); border: 1px solid var(--border); }
.compare-table th.highlight { background: rgba(227,24,55,.12); color: var(--red); border-color: rgba(227,24,55,.3); }
.compare-table td { padding: 14px 20px; border: 1px solid var(--border); color: var(--gray-300); font-size: .93rem; }
.compare-table td.highlight { background: rgba(227,24,55,.05); border-color: rgba(227,24,55,.2); }
.compare-table .check { color: #22c55e; font-size: 1.1rem; }
.compare-table .cross { color: var(--gray-500); font-size: 1.1rem; }

/* ---- PHOTO BLOCKS ------------------------------------------- */
.photo-full { width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.photo-full img, .photo-full svg { width: 100%; height: auto; display: block; }
.photo-right { float: right; margin-left: 28px; margin-bottom: 20px; width: 42%; border-radius: var(--r); overflow: hidden; }
.photo-right img { width: 100%; }

/* ---- ARTICLE / SEO TEXT ------------------------------------- */
.article-content { max-width: 900px; }
.article-content h2 { margin-top: 48px; margin-bottom: 16px; }
.article-content h3 { margin-top: 32px; margin-bottom: 12px; }
.article-content p  { margin-bottom: 1.1rem; color: var(--gray-300); font-size: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1.1rem; padding-left: 20px; }
.article-content li { color: var(--gray-300); font-size: 1rem; margin-bottom: .5rem; padding-left: 8px; }
.article-content ul li::marker { color: var(--red); }
.article-content ol li::marker { color: var(--red); font-weight: 700; }
.article-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: #fff; }
.article-content blockquote {
  border-left: 4px solid var(--red); padding: 16px 24px; margin: 24px 0;
  background: var(--bg-card); border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--gray-300);
}
.article-content .callout {
  background: rgba(227,24,55,.08); border: 1px solid rgba(227,24,55,.2); border-radius: var(--r);
  padding: 20px 24px; margin: 24px 0;
}
.article-content .callout strong { color: var(--red); }

/* ---- PROGRESS BAR ------------------------------------------- */
.progress-bar-list { display: flex; flex-direction: column; gap: 16px; }
.progress-item { }
.progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: .88rem; }
.progress-name  { color: var(--gray-300); }
.progress-pct   { font-family: var(--font-c); font-weight: 800; color: var(--red); }
.progress-track { height: 8px; background: var(--bg-elevated); border-radius: 4px; overflow: hidden; }
.progress-fill  { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--red-dark), var(--red)); }

/* ---- BREADCRUMBS -------------------------------------------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .83rem; color: var(--gray-400); padding: 16px 0; }
.breadcrumb a { color: var(--gray-400); transition: var(--tr); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--gray-500); }
.breadcrumb .current { color: var(--white); }

/* ---- SIDEBAR LAYOUT ----------------------------------------- */
.layout-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.layout-sidebar-left { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin-bottom: 24px; }
.widget-title { font-family: var(--font-c); font-style: italic; font-weight: 800; font-size: 1.1rem; margin-bottom: 18px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }

/* ---- ODDS BOARD -------------------------------------------- */
.odds-board { display: flex; flex-direction: column; gap: 4px; }
.odds-match { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-surface); border-radius: 8px; border: 1px solid var(--border); }
.odds-teams { flex: 1; }
.odds-match .teams-name { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.odds-match .teams-league { font-size: .75rem; color: var(--gray-500); }
.odds-buttons { display: flex; gap: 6px; }
.odds-btn { display: flex; flex-direction: column; align-items: center; padding: 8px 14px; background: var(--bg-elevated); border-radius: 6px; border: 1px solid var(--border-l); cursor: pointer; transition: var(--tr); min-width: 60px; }
.odds-btn:hover { border-color: var(--red); background: rgba(227,24,55,.08); }
.odds-btn .o-label { font-size: .68rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.odds-btn .o-val   { font-family: var(--font-c); font-weight: 900; font-size: 1.1rem; color: #fff; }

/* ---- FOOTER -------------------------------------------------- */
.site-footer {
  background: #000; border-top: 1px solid var(--border); padding: 72px 0 0;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo svg, .footer-logo img { height: 38px; }
.footer-tagline { font-size: .9rem; color: var(--gray-500); margin-bottom: 20px; max-width: 280px; }
.footer-social  { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--border-l); display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: var(--tr); }
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 16px; font-style: normal; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .9rem; color: var(--gray-400); transition: var(--tr); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px;
  padding: 28px 0; flex-wrap: wrap;
}
.footer-legal { font-size: .8rem; color: var(--gray-600); max-width: 72%; line-height: 1.6; }
.footer-legal a { color: var(--gray-500); text-decoration: underline; }
.footer-legal a:hover { color: var(--red); }
.footer-rg { text-align: right; flex-shrink: 0; }
.footer-rg-title { font-size: .72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.footer-rg-badges { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.rg-badge { background: var(--bg-elevated); border: 1px solid var(--border-l); border-radius: 6px; padding: 6px 12px; font-size: .75rem; color: var(--gray-400); font-weight: 700; white-space: nowrap; }

/* ---- COOKIE BANNER ------------------------------------------ */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px; z-index: 9999;
  background: var(--bg-elevated); border: 1px solid var(--border-l); border-radius: var(--r-lg);
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.7);
  transform: translateY(120px); opacity: 0; transition: var(--tr);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-text { font-size: .88rem; color: var(--gray-400); flex: 1; }
.cookie-text a { color: var(--red); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---- FORM STYLES -------------------------------------------- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--gray-300); margin-bottom: 8px; }
.form-control {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border-l);
  border-radius: var(--r); padding: 13px 16px; color: #fff; font-family: var(--font); font-size: .95rem;
  transition: var(--tr);
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.form-control::placeholder { color: var(--gray-500); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-error { font-size: .82rem; color: var(--red); margin-top: 5px; }
.form-hint  { font-size: .82rem; color: var(--gray-500); margin-top: 5px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--gray-500); font-size: .85rem; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.checkbox-wrap { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-wrap input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.checkbox-label { font-size: .88rem; color: var(--gray-400); }
.checkbox-label a { color: var(--red); }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; }

/* ---- PAGE HERO (compact, for inner pages) ------------------- */
.page-hero { background: #000; padding: 120px 0 56px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: linear-gradient(135deg, transparent, rgba(227,24,55,.06)); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p  { max-width: 640px; color: var(--gray-300); }

/* ---- MISC UTILITIES ----------------------------------------- */
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.pill    { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-elevated); border: 1px solid var(--border-l); border-radius: 50px; padding: 5px 14px; font-size: .8rem; color: var(--gray-400); }
.pill.active { background: rgba(227,24,55,.1); border-color: rgba(227,24,55,.3); color: var(--red); }
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: blink 1.3s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.back-to-top { position: fixed; bottom: 32px; right: 32px; z-index: 500; width: 44px; height: 44px; border-radius: 50%; background: var(--red); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--tr); }
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top svg { width: 18px; height: 18px; color: #fff; }
.nowrap { white-space: nowrap; }
.highlight-box { background: rgba(227,24,55,.08); border: 1px solid rgba(227,24,55,.2); border-radius: var(--r); padding: 20px 24px; margin: 24px 0; }

/* ---- RESPONSIVE ============================================= */
@media (max-width:1200px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-5 { grid-template-columns: repeat(3,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width:1024px) {
  .layout-sidebar, .layout-sidebar-left { grid-template-columns: 1fr; }
  .hero-split .container { grid-template-columns: 1fr; }
  .donut-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width:900px) {
  .main-nav, .header-actions .btn-login, .header-actions .btn-register { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .btn-tracker-mobile { display: block; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section-banner { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .photo-right { float: none; width: 100%; margin: 0 0 24px 0; }
}
@media (max-width:768px) {
  :root { --mw: 100%; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  h1 { font-size: clamp(1.9rem,6vw,2.8rem); }
  h2 { font-size: clamp(1.6rem,5vw,2.2rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { max-width: 100%; }
  .footer-rg { text-align: left; }
  .footer-rg-badges { justify-content: flex-start; }
  .author-box { flex-direction: column; }
  .hero { padding: 120px 0 60px; }
  .section-banner { padding: 36px 24px; }
  .table-wrap { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .form-card { padding: 24px 20px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat .num { font-size: 1.8rem; }
  .chart-wrap { padding: 20px; }
  .css-bar-label { min-width: 80px; font-size: .8rem; }
  .cookie-banner { flex-direction: column; left: 12px; right: 12px; bottom: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; justify-content: center; }
}
@media (max-width:480px) {
  .grid-5 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-box { padding: 24px 16px; }
  .stat-box .num { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .app-phone { width: 220px; }
  .odds-board .odds-buttons { gap: 4px; }
  .odds-btn { padding: 6px 10px; min-width: 50px; }
  .odds-btn .o-val { font-size: .95rem; }
  .donut-wrap svg { width: 160px !important; height: 160px !important; }
}
html, body { overflow-x: hidden; }
