/* ============================================================
   Sportsbook PA Hub — style.css
   Bento Box Grid · Great Vibes / Cormorant Infant · #fff/#f5f5f5/#1f1f1f
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --c-white: #ffffff;
  --c-off: #f5f5f5;
  --c-ink: #1f1f1f;
  --c-ink-muted: #5a5a5a;
  --c-ink-faint: #999999;
  --c-border: #e0e0e0;
  --c-accent: #1f1f1f;
  --c-accent-hover: #444444;
  --c-danger: #c0392b;

  --font-body: 'Cormorant Infant', Georgia, 'Times New Roman', serif;
  --font-script: 'Great Vibes', cursive;

  --radius-card: 28px;
  --radius-sm: 12px;
  --radius-btn: 8px;

  --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.10);

  --max-content: 1160px;
  --col-main: 720px;
  --col-side: 280px;
  --gap: 24px;

  --header-h: 64px;
  --strip-h: 44px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  min-width: 320px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-ink); text-decoration: underline; }
a:hover { color: var(--c-accent-hover); }

ul { list-style: none; }

/* ----------------------------------------------------------
   Skip Link
   ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--c-ink);
  color: var(--c-white);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  font-size: 14px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 8px; }

/* ----------------------------------------------------------
   Site Header
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  border-radius: 6px;
}

.brand-name {
  font-family: var(--font-script);
  font-size: 28px;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* CTA Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.cta-signup {
  background: var(--c-ink);
  color: var(--c-white);
  border: 2px solid var(--c-ink);
}
.cta-signup:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: var(--c-white);
}

.cta-login {
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
}
.cta-login:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   Fullscreen Nav Overlay
   ---------------------------------------------------------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--c-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 36px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  transition: background var(--dur);
}
.nav-close:hover { background: rgba(255,255,255,0.1); }

.nav-aside {
  width: 100%;
  max-width: 600px;
  padding: 40px 24px;
}

.nav-aside nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-aside nav ul li a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 20px;
  color: var(--c-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--dur);
  line-height: 1.3;
}
.nav-aside nav ul li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
}

/* ----------------------------------------------------------
   Anchor Strip
   ---------------------------------------------------------- */
.anchor-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: var(--c-off);
  border-bottom: 1px solid var(--c-border);
  height: var(--strip-h);
  overflow: hidden;
}

.anchor-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.anchor-strip-inner::-webkit-scrollbar { display: none; }

.anchor-strip-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-ink);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid var(--c-border);
  transition: background var(--dur);
}
.anchor-strip-inner a:first-child { padding-left: 0; }
.anchor-strip-inner a:hover { color: var(--c-accent-hover); }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}

.hero-inner--text {
  justify-content: flex-start;
}

.hero--home .hero-inner {
  flex-direction: row;
}

.hero-copy {
  flex: 1;
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.script-heading {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.1;
}

.hero-desc {
  font-size: 18px;
  color: var(--c-ink-muted);
  max-width: 540px;
  margin-top: 12px;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 8px;
}

.hero-illustration {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon {
  font-size: 80px;
  line-height: 1;
}

.hero-img {
  border-radius: var(--radius-card);
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.byline {
  font-size: 14px;
  color: var(--c-ink-muted);
  margin-top: 12px;
  letter-spacing: 0.02em;
}
.byline time { font-style: italic; }

/* ----------------------------------------------------------
   Main Layout: wrap holds content + sidebar
   ---------------------------------------------------------- */
main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--col-side);
  gap: var(--gap);
  align-items: start;
}

.content-section {
  min-width: 0;
}

.page-article {
  min-width: 0;
}

/* ----------------------------------------------------------
   Prose (body copy)
   ---------------------------------------------------------- */
.prose {
  max-width: var(--col-main);
  font-size: 18px;
  line-height: 1.7;
}

.prose h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 36px 0 12px;
  line-height: 1.2;
}

.prose h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  margin: 28px 0 10px;
}

.prose h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.prose p { margin-bottom: 16px; }

.prose a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--c-accent-hover); }

.prose ul, .prose ol {
  margin: 0 0 16px 24px;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }

.prose strong { font-weight: 700; }
.prose em { font-style: italic; }

.prose blockquote {
  border-left: 4px solid var(--c-ink);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--c-off);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
}
.prose table th {
  background: var(--c-off);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--c-border);
}
.prose table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-border);
}
.prose table tr:last-child td { border-bottom: none; }

/* ----------------------------------------------------------
   Eyebrow
   ---------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-bottom: 6px;
}

/* ----------------------------------------------------------
   Bento Grid
   ---------------------------------------------------------- */
.bento-section {
  margin-top: 48px;
}

.bento-section > .eyebrow {
  display: block;
  margin-bottom: 4px;
}

.bento-section > h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
}

.bento-grid--home {
  grid-template-columns: repeat(3, 1fr);
}

.bento-grid--compact {
  grid-template-columns: repeat(4, 1fr);
}

.bento-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
}

.bento-card--outlined {
  border: 1.5px solid var(--c-border);
  box-shadow: none;
}

.bento-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.bento-card--sm {
  min-height: 140px;
}

.card-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 20px 22px 24px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 6px 0 10px;
  line-height: 1.3;
}
.card-body h3 a {
  color: var(--c-ink);
  text-decoration: none;
}
.card-body h3 a:hover { text-decoration: underline; }

.card-body p {
  font-size: 15px;
  color: var(--c-ink-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--dur);
}
.read-more:hover { color: var(--c-accent-hover); text-decoration: underline; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Sidebar
   ---------------------------------------------------------- */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--strip-h) + 20px);
  align-self: start;
}

.sidebar-inner {
  background: var(--c-off);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
}

.sidebar-inner > .eyebrow {
  display: block;
  margin-bottom: 4px;
}

.sidebar-inner > h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  font-size: 15px;
  color: var(--c-ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  line-height: 1.4;
  transition: background var(--dur);
}
.sidebar-links li a:hover {
  background: var(--c-border);
}

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 20px 0;
}

.sidebar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  background: var(--c-ink);
  color: var(--c-white);
  text-decoration: none;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  transition: background var(--dur);
}
.sidebar-cta:hover { background: var(--c-accent-hover); color: var(--c-white); }

/* ----------------------------------------------------------
   Ranking Table
   ---------------------------------------------------------- */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 16px;
}
.ranking-table tbody tr {
  border-bottom: 1px solid var(--c-border);
  transition: background var(--dur);
}
.ranking-table tbody tr:hover { background: var(--c-off); }
.ranking-table td {
  padding: 12px 14px;
  vertical-align: middle;
}
.ranking-table .rank-num {
  width: 40px;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-ink-muted);
  text-align: center;
}
.ranking-table a {
  color: var(--c-ink);
  font-weight: 600;
  text-decoration: none;
}
.ranking-table a:hover { text-decoration: underline; }

/* ----------------------------------------------------------
   Compare layout extras
   ---------------------------------------------------------- */
.compare-label-strip {
  margin-bottom: 32px;
}
.compare-label-strip > h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin: 6px 0 12px;
}
.compare-intro {
  font-size: 16px;
  color: var(--c-ink-muted);
}

/* ----------------------------------------------------------
   Author Card (About layout)
   ---------------------------------------------------------- */
.author-card {
  margin-bottom: 40px;
}
.author-card-inner {
  padding: 28px 30px;
}
.author-card-inner > .eyebrow {
  display: block;
  margin-bottom: 6px;
}
.author-card-inner h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 6px;
}
.author-credentials {
  font-size: 15px;
  color: var(--c-ink-muted);
  margin-bottom: 14px;
}
.author-bio {
  font-size: 17px;
  line-height: 1.65;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--c-off);
  border-top: 1px solid var(--c-border);
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.footer-wordmark {
  font-family: var(--font-script);
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}

.footer-brand-col small {
  font-size: 13px;
  color: var(--c-ink-muted);
  line-height: 1.6;
  display: block;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-col p strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.footer-col p a {
  color: var(--c-ink);
  text-decoration: none;
  font-size: 14px;
}
.footer-col p a:hover { text-decoration: underline; }

.rg-notice {
  display: block;
  font-size: 12px;
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 20px 24px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--c-ink-muted);
}
.footer-bottom small { font-size: 13px; }

/* ----------------------------------------------------------
   Parallax / Scroll Motion (Standard)
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .bento-card {
    will-change: transform;
  }
  .hero--home .hero-illustration {
    transition: transform 0.6s var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bento-card { transition: none; }
  .bento-card:hover { transform: none; }
  .hero--home .hero-illustration { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ----------------------------------------------------------
   Responsive — Tablet 768px
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .bento-grid--home {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .hero--home .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-copy { max-width: 100%; }
  .hero-desc { max-width: 100%; }
}

/* ----------------------------------------------------------
   Responsive — Mobile 375px
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  :root {
    --header-h: 60px;
  }

  body { font-size: 17px; }

  .header-inner { padding: 0 16px; gap: 8px; }

  .brand-name { font-size: 24px; }

  .cta { padding: 0 14px; font-size: 14px; min-height: 44px; }

  .bento-grid--home,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 40px 16px 24px;
    gap: 20px;
  }
  .footer-brand-col { grid-column: auto; }

  main { padding: 28px 16px 48px; }

  .hero-inner { padding: 36px 16px; gap: 24px; }

  .hero-illustration { width: 120px; height: 120px; }
  .hero-icon { font-size: 60px; }

  .anchor-strip-inner { padding: 0 12px; }

  .anchor-strip-inner a {
    padding: 0 10px;
    font-size: 12px;
  }

  .prose { font-size: 17px; }

  .ranking-table { font-size: 14px; }
  .ranking-table td { padding: 10px 8px; }

  .footer-bottom { padding: 16px; }

  .nav-aside { padding: 60px 20px 32px; }
  .nav-aside nav ul li a { font-size: 16px; min-height: 48px; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}