/* ============================================================
   Pinnacle GT — bespoke stylesheet
   Sharp, data-driven sportsbook. Navy + one electric-blue accent.
   ============================================================ */

:root {
  /* Palette — real brand colors */
  --bg:          #0b1422;
  --surface-1:   #0e1a2b;
  --surface-2:   #131f30;
  --surface-3:   #1a2740;
  --border:      #243348;
  --border-soft: #1c2738;
  --border-2:    #343b48;
  --accent:      #378eff;
  --accent-deep: #2f78db;
  --accent-glow: rgba(55, 142, 255, .14);
  --text:        #edf0f7;
  --muted:       #91949b;
  --muted-2:     #72777f;
  --pos:         #2fbf7a;
  --neg:         #e0573e;

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-num: "SF Mono", "Roboto Mono", "JetBrains Mono", ui-monospace, "Menlo", "Consolas", monospace;

  --maxw: 1180px;
  --radius: 6px;
  --radius-lg: 10px;
  --header-h: 66px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

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

.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Eyebrow / labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin: 0;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--accent);
  display: inline-block; border-radius: 2px;
}

.section-title {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700; line-height: 1.15; letter-spacing: -.02em;
  margin: 14px 0 0;
}
.section-sub { color: var(--muted); margin: 10px 0 0; max-width: 56ch; font-size: 15px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 20, 34, .86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}

/* Wordmark */
.wordmark {
  display: inline-flex; flex-direction: column; gap: 3px;
  font-weight: 800; font-size: 21px; letter-spacing: -.03em;
  color: var(--text); line-height: 1; text-decoration: none;
  flex: 0 0 auto;
}
.wordmark:hover { text-decoration: none; }
.wordmark .mark { color: var(--text); }
.wordmark .bar {
  height: 3px; width: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent) 60%, transparent);
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav a {
  color: var(--muted); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius);
  letter-spacing: .01em; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  border-radius: 2px; background: var(--accent);
}

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* Lang switch */
.lang {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; font-size: 12.5px; font-weight: 600;
}
.lang a { padding: 5px 9px; color: var(--muted-2); letter-spacing: .04em; }
.lang a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }
.lang a.on { background: var(--accent); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent; letter-spacing: .01em;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost { color: var(--text); border-color: var(--border-2); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-lg { padding: 13px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* Burger */
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  background: var(--surface-2); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none; border-top: 1px solid var(--border-soft);
  background: var(--surface-1); padding: 14px 0 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav .wrap { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  color: var(--text); padding: 12px 10px; border-radius: var(--radius);
  font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border-soft);
}
.mobile-nav a:hover { background: var(--surface-2); text-decoration: none; }
.mobile-actions { display: flex; gap: 10px; margin-top: 14px; }
.mobile-actions .btn { flex: 1; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 60px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% -8%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--surface-1), var(--bg) 70%);
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(720px 480px at 70% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(720px 480px at 70% 0%, #000 0%, transparent 75%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-headline {
  font-size: clamp(32px, 5.2vw, 52px); line-height: 1.05;
  font-weight: 800; letter-spacing: -.035em; margin: 18px 0 0;
}
.hero-headline .hl { color: var(--accent); }
.hero-lede { color: var(--muted); font-size: 17px; margin: 20px 0 0; max-width: 46ch; }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: 26px; margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--border-soft); flex-wrap: wrap;
}
.trust-item .n {
  font-family: var(--ff-num); font-variant-numeric: tabular-nums;
  font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -.02em;
  display: block;
}
.trust-item .l { font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }

/* Odds board (featured) */
.board {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(55,142,255,.04) inset;
  overflow: hidden;
}
.board-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--border-soft);
  background: var(--surface-3);
}
.board-head .t { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.live-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(55,142,255,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(55,142,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,142,255,0); }
}
.match { padding: 13px 18px; border-bottom: 1px solid var(--border-soft); }
.match:last-child { border-bottom: 0; }
.match-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: var(--muted-2); margin-bottom: 9px; letter-spacing: .03em;
}
.match-league { text-transform: uppercase; font-weight: 600; letter-spacing: .07em; }
.match-teams { display: flex; flex-direction: column; gap: 2px; margin-bottom: 11px; }
.match-teams .team { font-size: 14.5px; font-weight: 600; color: var(--text); }
.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.odd {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--surface-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 9px 6px 8px;
  cursor: pointer; transition: border-color .15s, background .15s, transform .05s;
}
.odd:hover { border-color: var(--accent); background: #16263f; }
.odd:active { transform: translateY(1px); }
.odd .k { font-size: 10.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.odd .v {
  font-family: var(--ff-num); font-variant-numeric: tabular-nums;
  font-size: 16px; font-weight: 600; color: var(--accent); letter-spacing: -.01em;
}
.board-foot {
  padding: 12px 18px; font-size: 12px; color: var(--muted-2);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-1);
}
.board-foot a { font-weight: 600; }

/* ============================================================
   Generic section spacing
   ============================================================ */
.section { padding: 56px 0; border-top: 1px solid var(--border-soft); }
.section-head { margin-bottom: 30px; }

/* Markets row */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.market-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  transition: border-color .15s, background .15s, transform .12s;
}
.market-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.market-card .ic {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); border: 1px solid var(--border-2); border-radius: 8px;
}
.market-card .ic svg { width: 18px; height: 18px; }
.market-card .nm { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.market-card .ds { font-size: 13px; color: var(--muted); }
.market-card .more { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* Reasons (why) */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reason {
  background: var(--surface-1); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px 20px; position: relative;
}
.reason .num {
  font-family: var(--ff-num); font-variant-numeric: tabular-nums;
  font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em;
  display: block; margin-bottom: 14px;
}
.reason .rt { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
.reason .rd { font-size: 14px; color: var(--muted); margin: 0; }

/* Esports rail */
.rail-section { background: var(--surface-1); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 10px 18px 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--accent); background: var(--surface-3); text-decoration: none; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip .meta { color: var(--muted-2); font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; }

/* Promo strip / CTA band */
.cta-band {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 85% 50%, var(--accent-glow), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface-1));
  padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band .ct { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.cta-band .cs { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 0; padding: 0; font-size: 13px; color: var(--muted-2);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--border-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

/* Interior page hero (lighter) */
.page-hero { padding: 30px 0 8px; }
.page-hero .eyebrow { margin-bottom: 4px; }

/* ============================================================
   SEO article block
   ============================================================ */
.seo { padding: 44px 0 64px; }
.article { max-width: 820px; margin: 0 auto; }
.article h1 {
  font-size: clamp(28px, 4.4vw, 40px); line-height: 1.1; font-weight: 800;
  letter-spacing: -.03em; margin: 6px 0 26px;
}
.article h2 {
  font-size: clamp(21px, 3vw, 27px); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.2; margin: 46px 0 14px; padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.article h3 {
  font-size: 18.5px; font-weight: 700; letter-spacing: -.01em;
  margin: 30px 0 10px; color: var(--text);
}
.article p { color: #d3d8e3; margin: 0 0 16px; font-size: 16px; line-height: 1.72; }
.article a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(55,142,255,.4); }
.article a:hover { text-decoration-color: var(--accent); }
.article strong { color: var(--text); font-weight: 700; }
.article em { color: #c6cdda; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; color: #d3d8e3; }
.article li { margin: 0 0 9px; line-height: 1.65; }
.article ul li::marker { color: var(--accent); }
.article ol li::marker { color: var(--accent); font-variant-numeric: tabular-nums; font-weight: 700; }
.article hr { border: 0; border-top: 1px solid var(--border-soft); margin: 40px 0; }

/* Article tables */
.article table {
  width: 100%; border-collapse: collapse; margin: 22px 0 26px;
  font-size: 14.5px; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.article thead th {
  background: var(--surface-3); color: var(--text); font-weight: 700;
  text-align: left; padding: 12px 14px; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--border);
}
.article tbody td {
  padding: 12px 14px; border-bottom: 1px solid var(--border-soft);
  color: #d3d8e3; vertical-align: top;
}
.article tbody tr:nth-child(even) { background: rgba(19,31,48,.45); }
.article tbody tr:last-child td { border-bottom: 0; }
.article tbody td:first-child { color: var(--text); font-weight: 600; }
/* responsive tables — never break layout on mobile */
.article table { table-layout: fixed; }
.article td, .article th { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width:560px){
  .article table { font-size: 12.5px; }
  .article thead th { padding: 9px 8px; font-size: 11px; }
  .article tbody td { padding: 9px 8px; }
}

/* FAQ accordion */
.faq { margin-top: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: var(--surface-1); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; cursor: pointer; background: transparent;
  border: 0; color: var(--text); font-family: var(--ff);
  font-size: 16px; font-weight: 600; padding: 16px 50px 16px 18px;
  position: relative; line-height: 1.4;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 18px 16px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-a p a { color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-1); padding: 52px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-brand .wordmark { font-size: 20px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 34ch; }
.footer-col .ch { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin: 4px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.rg { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; }
.rg img { width: 32px; height: 32px; flex: 0 0 auto; }
.rg .badge18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1.5px solid var(--accent); border-radius: 50%;
  font-size: 11px; font-weight: 800; color: var(--accent); flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}
.copyright { color: var(--muted-2); font-size: 12.5px; max-width: 60ch; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: none; }
  .board { max-width: 460px; }
  .markets { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav, .header-right .lang, .header-right .btn { display: none; }
  .burger { display: flex; }
  .header-right { gap: 10px; }
  .hero { padding: 40px 0 44px; }
  .markets { grid-template-columns: 1fr 1fr; }
  .section { padding: 44px 0; }
  .cta-band { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .reasons, .markets { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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