/* ============================================================
   SpinBetter HU — CSS
   PALETTE:
   Base:    #141B2D  deep navy-midnight
   Surface: #1C2540  navy
   Card:    #1A2338  slate-blue
   Border:  #2C3A5C  mid-slate
   Amber:   #E8A030  warm amber — CTA
   Coral:   #E8604A  coral — tags
   Teal:    #38BFA0  — checks, data
   Text:    #EDF1FA
   Muted:   #7A8BAD
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --bg:    #141B2D;
  --bg2:   #1C2540;
  --bg3:   #212D4A;
  --card:  #1A2338;
  --border:#2C3A5C;
  --amber: #E8A030;
  --amber2:#C4861E;
  --coral: #E8604A;
  --teal:  #38BFA0;
  --teal2: #2A9E85;
  --text:  #EDF1FA;
  --muted: #7A8BAD;
  --danger:#E05050;
  --fh:    'Syne', sans-serif;
  --fb:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--fb); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; transition: color .15s; }
a:hover { color: var(--amber2); }
h1,h2,h3,h4 { font-family: var(--fh); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); font-weight: 700; }
p { max-width: 72ch; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
section { padding: 68px 0; }
section + section { border-top: 1px solid var(--border); }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(20,27,45,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); overflow: visible; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 1.35rem; font-weight: 800; color: var(--text); text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--amber) 0%, var(--coral) 100%); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; color: #fff; flex-shrink: 0; }
.logo .better { color: var(--amber); }
.site-header nav { display: flex; gap: 2px; }
.site-header nav a { color: var(--muted); font-size: .86rem; font-weight: 600; padding: 6px 11px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; }
.site-header nav a:hover, .site-header nav a.active { color: var(--text); background: var(--bg3); }
.header-cta { background: var(--amber) !important; color: #111 !important; padding: 8px 18px !important; border-radius: 8px; font-weight: 700 !important; font-size: .88rem !important; white-space: nowrap; flex-shrink: 0; }
.header-cta:hover { background: var(--amber2) !important; color: #111 !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; flex-shrink: 0; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav {
  display: none; flex-direction: column;
  background: rgba(20,27,45,.98); border-top: 1px solid var(--border);
  padding: 12px 20px 16px;
  /* Full width, appears under header in document flow */
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.mobile-nav a { color: var(--muted); font-size: .97rem; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--border); display: block; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav.open { display: flex; }

/* Ensure open mobile nav doesn't overlap — it lives inside sticky header
   which auto-expands, pushing content down naturally */

/* ===== HERO ===== */
.hero { padding: 76px 0 68px; position: relative; overflow: hidden; background: radial-gradient(ellipse 90% 70% at 60% -10%, rgba(232,160,48,.08) 0%, transparent 65%), radial-gradient(ellipse 50% 50% at 90% 80%, rgba(56,191,160,.05) 0%, transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--teal); border-radius: 1px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { font-size: 1.05rem; color: var(--muted); margin-bottom: 30px; max-width: 52ch; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-badge { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 185px; flex-shrink: 0; box-shadow: 0 8px 40px rgba(0,0,0,.3); }
.badge-stat { text-align: center; }
.badge-stat .num { font-family: var(--fh); font-size: 2.1rem; font-weight: 800; color: var(--amber); line-height: 1; }
.badge-stat .lbl { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.badge-divider { height: 1px; background: var(--border); }

/* ===== STAT STRIP ===== */
.stat-strip { background: var(--bg2); padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.stat-item .n { font-family: var(--fh); font-size: 1.85rem; font-weight: 800; color: var(--amber); }
.stat-item .d { font-size: .8rem; color: var(--muted); margin-top: 3px; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; font-family: var(--fh); font-size: .97rem; font-weight: 700; padding: 13px 26px; border-radius: 8px; cursor: pointer; transition: transform .12s, box-shadow .12s, background .15s; border: none; text-align: center; letter-spacing: .01em; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amber); color: #111; box-shadow: 0 4px 20px rgba(232,160,48,.25); }
.btn-primary:hover { background: var(--amber2); color: #111; box-shadow: 0 4px 28px rgba(232,160,48,.4); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-lg { padding: 15px 34px; font-size: 1.07rem; }

/* ===== SECTION HEAD ===== */
.sec-head { margin-bottom: 36px; }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 60ch; line-height: 1.65; }

/* ===== CARDS ===== */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: rgba(232,160,48,.35); box-shadow: 0 4px 24px rgba(232,160,48,.1); }
.cards-grid { display: grid; gap: 18px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===== CAT CARDS ===== */
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; cursor: pointer; text-decoration: none; transition: border-color .2s, transform .15s, box-shadow .2s; color: var(--text); }
.cat-card:hover { border-color: var(--amber); transform: translateY(-3px); box-shadow: 0 6px 24px rgba(232,160,48,.15); color: var(--text); }
.cat-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--bg2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.cat-card h3 { font-size: .93rem; font-weight: 700; margin: 0; }
.cat-card p { font-size: .79rem; color: var(--muted); margin: 0; max-width: 100%; }

/* ===== BONUS CARDS ===== */
.bonus-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; position: relative; overflow: hidden; }
.bonus-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--amber), var(--coral)); }
.bonus-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #111; background: var(--amber); padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.bonus-tag.sport { background: var(--teal); color: #111; }
.bonus-tag.casino { background: var(--coral); color: #fff; }
.bonus-amount { font-family: var(--fh); font-size: 1.75rem; font-weight: 800; color: var(--amber); margin: 4px 0; }
.bonus-card h3 { font-size: .98rem; margin-bottom: 8px; }
.bonus-card p { font-size: .86rem; color: rgba(237,241,250,.68); max-width: 100%; }
.bonus-meta { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.bonus-meta span { font-size: .77rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* ===== TABLE ===== */
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th { background: var(--bg2); color: var(--muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 10px 14px; text-align: left; }
td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }
td strong { color: var(--amber); }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--amber); color: #111; font-family: var(--fh); font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step-body h3 { font-size: .97rem; margin-bottom: 5px; }
.step-body p { font-size: .87rem; color: var(--muted); max-width: 100%; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); font-family: var(--fb); font-size: .95rem; font-weight: 600; text-align: left; padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-q .arr { color: var(--amber); font-size: 1rem; transition: transform .2s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] .arr { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 16px; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.faq-a.open { display: block; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* ===== UTILS ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li { display: flex; gap: 9px; font-size: .9rem; align-items: flex-start; }
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; line-height: 1.65; }
.pay-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-pill { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.hi-box { background: rgba(232,160,48,.06); border: 1px solid rgba(232,160,48,.2); border-radius: 12px; padding: 22px 24px; }
.hi-box h3 { color: var(--amber); margin-bottom: 8px; }
.age-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: white; font-size: .7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rg-notice { background: rgba(232,96,74,.08); border: 1px solid rgba(232,96,74,.2); border-radius: 8px; padding: 12px 16px; margin-top: 18px; font-size: .79rem; color: rgba(237,241,250,.55); }
.rg-notice strong { color: var(--coral); }
.app-block { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul a { color: rgba(237,241,250,.5); font-size: .86rem; }
.footer-col ul a:hover { color: var(--text); }
.footer-desc { color: rgba(237,241,250,.45); font-size: .84rem; line-height: 1.65; margin-top: 10px; max-width: 30ch; }
.footer-license { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; font-size: .76rem; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .76rem; color: var(--muted); }

/* ===== STICKY CTA ===== */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 11px 16px; background: var(--bg2); border-top: 2px solid var(--amber); box-shadow: 0 -4px 24px rgba(0,0,0,.5); display: none; align-items: center; gap: 10px; }
/* Hidden on desktop always */
@media (min-width: 641px) { .sticky-cta { display: none !important; } }
.sticky-cta-text { font-size: .85rem; font-weight: 600; flex: 1; }
.sticky-cta-text span { color: var(--amber); }
.sticky-close { background: none; border: none; color: var(--muted); font-size: 1.2rem; cursor: pointer; padding: 4px; line-height: 1; }

/* ===== SCROLL TOP ===== */
.scroll-top { position: fixed; bottom: 24px; right: 18px; z-index: 150; width: 42px; height: 42px; border-radius: 50%; background: var(--amber); color: #111; font-size: 1.1rem; font-weight: 700; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 20px rgba(232,160,48,.35); border: none; }
.scroll-top:hover { background: var(--amber2); }
.scroll-top.visible { display: flex; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .app-block { padding: 22px 18px; }
}
@media (max-width: 600px) {
  .cards-grid--2, .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr; }
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .hero { padding: 44px 0 36px; }
  .scroll-top { bottom: 72px; }
  .hero-lead { font-size: .95rem; }
  .bonus-amount { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
