/* ============================================================
   NBA Bet Hub — Y2K Retro-Futurism Theme
   Primary: #69ff69  Secondary: #00ffff  Ink: #172617
   ============================================================ */

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

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

:root {
  --green:  #69ff69;
  --cyan:   #00ffff;
  --dark:   #172617;
  --dark2:  #1f341f;
  --dark3:  #0d1a0d;
  --muted:  #a8c8a8;
  --white:  #f0fff0;
  --radius: 18px;
  --glow-green: 0 0 12px #69ff6980, 0 0 32px #69ff6940;
  --glow-cyan:  0 0 12px #00ffff80, 0 0 32px #00ffff40;
  --chrome: linear-gradient(135deg, #c8ffc8 0%, #69ff69 30%, #00ffff 60%, #c8ffff 100%);
  --metallic: linear-gradient(120deg, #1a3a1a 0%, #2d6b2d 40%, #1e4d1e 70%, #172617 100%);
  --font-head: 'Rubik', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --col-max: 820px;
  --side-w: 280px;
  --header-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); text-shadow: var(--glow-green); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; max-width: 72ch; }
a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green); text-shadow: var(--glow-green); }
strong { color: var(--green); font-weight: 600; }
em { color: var(--muted); font-style: italic; }

/* Eyebrow labels */
.eyebrow, small.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

/* ── Site Wrapper ─────────────────────────────────────────── */
.site-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--dark3) 0%, var(--dark2) 100%);
  border-bottom: 2px solid var(--green);
  box-shadow: 0 2px 20px #69ff6930;
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.brand img { border-radius: 6px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green);
  text-shadow: var(--glow-green);
  white-space: nowrap;
}

/* Nav aside (desktop: horizontal inline) */
.nav-aside {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-aside nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.1rem;
  align-items: center;
}
.nav-aside nav ul li a {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-aside nav ul li a:hover,
.nav-aside nav ul li a[aria-current="page"] {
  color: var(--green);
  background: #69ff6915;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 2px solid var(--green);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header CTAs */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* CTA Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  letter-spacing: 0.04em;
}
.cta:hover { transform: translateY(-1px); text-decoration: none; }

.cta-signup {
  background: var(--chrome);
  color: var(--dark);
  box-shadow: var(--glow-green);
}
.cta-signup:hover {
  box-shadow: 0 0 20px #69ff6999, 0 0 48px #69ff6960;
  filter: brightness(1.08);
  color: var(--dark);
}

.cta-login {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: var(--glow-cyan);
}
.cta-login:hover {
  background: #00ffff18;
  color: var(--cyan);
}

/* General buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  background: var(--chrome);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--glow-green);
  min-height: 48px;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px #69ff6999, 0 0 60px #69ff6960;
  filter: brightness(1.08);
  color: var(--dark);
  text-decoration: none;
}
.btn-sm { font-size: 0.88rem; padding: 0.55rem 1.2rem; min-height: 44px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  min-height: 44px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: #00ffff18; color: var(--cyan); text-decoration: none; }

/* ── Hero (Home) ──────────────────────────────────────────── */
.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--metallic);
  position: relative;
  overflow: hidden;
  padding: 2rem 1.25rem;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, #00ffff18 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, #69ff6920 0%, transparent 50%);
  pointer-events: none;
}

.hero-home > .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
}
.hero-home .hero-copy .eyebrow { margin-bottom: 0.6rem; }
.hero-home h1 { margin-bottom: 1rem; }
.hero-desc {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 55ch;
}
.hero-media {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: drop-shadow(0 0 30px #69ff6980);
}

/* Hero layout: copy left, media right */
.hero-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 4rem 3rem;
}
@media (max-width: 768px) {
  .hero-home {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 3rem 1.25rem 2rem;
  }
  .hero-media { display: none; }
}

/* ── Main Layout (content + aside) ───────────────────────── */
main {
  flex: 1;
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 3rem 1.25rem;
  align-items: flex-start;
}

.wrap {
  flex: 1;
  min-width: 0;
}

/* Body container: main > article.wrap > section > div */
.content-section { padding: 0; }
.page-body { max-width: var(--col-max); }

/* Page header */
.page-header { margin-bottom: 2rem; }
.page-header h1 { margin-bottom: 0.5rem; }

/* Byline */
.byline {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.byline time { color: var(--cyan); }

/* ── Aside (right sidebar) ────────────────────────────────── */
.content-aside {
  width: var(--side-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  align-self: flex-start;
}
.aside-inner {
  background: var(--dark2);
  border: 1px solid #69ff6930;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--glow-green);
}
.aside-heading {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--green);
}
.aside-link {
  font-size: 0.9rem;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  padding: 0.25rem 0;
}
.aside-cta-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #69ff6930;
  text-align: center;
}
.aside-cta-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ── Child Cards (Home) ───────────────────────────────────── */
.child-cards {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.child-cards > small { display: block; margin-bottom: 0.4rem; }
.child-cards > h2 { margin-bottom: 2rem; }

/* section > div×n (no list tags) — direct children */
.child-cards {
  display: block;
}
.child-cards > div.card {
  display: block;
  background: var(--dark2);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px #00000040;
  border: 1px solid #69ff6920;
  transition: transform 0.25s, box-shadow 0.25s;
}
.child-cards > div.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px #69ff6930, 0 2px 8px #00000050;
}
.card-inner {
  padding: 1.5rem 1.75rem;
}
.card-inner h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card-inner h3 a { color: var(--green); text-decoration: none; }
.card-inner h3 a:hover { text-decoration: underline; }
.card-inner p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; max-width: none; }
.card-date { font-size: 0.8rem; }
.card-date time { color: var(--cyan); }

/* Desktop: 3-column card grid */
@media (min-width: 900px) {
  .child-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
  .child-cards > small,
  .child-cards > h2 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .child-cards > small { margin-bottom: 0.4rem; }
  .child-cards > h2 { margin-bottom: 0.5rem; }
}

/* ── Page Body Content ────────────────────────────────────── */
.page-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.page-body h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; color: var(--cyan); }
.page-body ul, .page-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: 0.4rem; line-height: 1.6; }
.page-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.page-body a:hover { color: var(--green); }
.page-body img { max-width: 100%; border-radius: 12px; display: block; margin: 1.5rem 0; }
.page-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.page-body table th {
  background: var(--dark2);
  color: var(--green);
  font-family: var(--font-head);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--green);
  text-align: left;
}
.page-body table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #69ff6915;
  color: var(--white);
}
.page-body table tr:hover td { background: #69ff6908; }
.page-body blockquote {
  border-left: 4px solid var(--cyan);
  padding-left: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
}

/* Review hero banner */
.review-hero-banner {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  position: relative;
}
.review-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.2);
}

/* ── FAQ styles ───────────────────────────────────────────── */
.faq-intro {
  background: var(--dark2);
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.faq-intro p { color: var(--muted); margin: 0; }

/* ── Author Card (About) ──────────────────────────────────── */
.author-card {
  background: var(--dark2);
  border: 1px solid #00ffff40;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: var(--glow-cyan);
}
.author-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; color: var(--cyan); }
.author-credentials { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.author-bio { color: var(--white); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--dark3);
  border-top: 2px solid var(--green);
  padding: 3rem 1.25rem 1.5rem;
}

/* Footer CTA block */
.footer-cta-block {
  text-align: center;
  background: var(--metallic);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
.footer-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, #00ffff20, transparent 70%);
  pointer-events: none;
}
.footer-cta-block small.eyebrow { position: relative; z-index: 1; }
.footer-cta-block h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--green);
  margin-bottom: 1.5rem;
}
.footer-cta-block .btn-primary { position: relative; z-index: 1; }

/* Footer columns */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0;
}
.footer-col p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  max-width: none;
}
.footer-col p strong { color: var(--green); }
.footer-col a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}
.footer-col a:hover { color: var(--cyan); }

/* Footer RG notice */
.footer-rg {
  text-align: center;
  padding: 1.25rem;
  background: #69ff6910;
  border-radius: 10px;
  border: 1px solid #69ff6930;
  max-width: 1400px;
  margin: 0 auto 1rem;
}
.footer-rg small {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Footer copyright */
.footer-copy {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  color: #5a7a5a;
  padding-top: 0.5rem;
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-primary, .cta, .card { transition: none; }
}

/* ── Parallax Glow Orbs ───────────────────────────────────── */
.site-wrap::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #69ff6912 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.site-wrap::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #00ffff10 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .site-wrap::before, .site-wrap::after { animation: none; }
}

/* Glow pulse for primary heading */
@keyframes glow-pulse {
  0%, 100% { text-shadow: var(--glow-green); }
  50% { text-shadow: 0 0 24px #69ff69c0, 0 0 60px #69ff6970; }
}
.hero-home h1 { animation: glow-pulse 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-home h1 { animation: none; }
}

/* ── Mobile Nav ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-aside {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark3);
    border-top: 1px solid var(--green);
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 190;
    flex-direction: column;
    align-items: flex-start;
    display: flex;
  }
  .nav-aside.nav-open {
    transform: translateX(0);
  }
  .nav-aside nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav-aside nav ul li { width: 100%; }
  .nav-aside nav ul li a {
    width: 100%;
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #69ff6915;
    border-radius: 0;
    min-height: 52px;
  }

  .header-ctas {
    margin-left: auto;
  }
  .cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
    min-height: 44px;
  }

  main {
    flex-direction: column;
    padding: 1.75rem 1rem;
    gap: 1.5rem;
  }

  .content-aside {
    width: 100%;
    position: static;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-cta-block { padding: 2rem 1.25rem; }
}

/* ── Utility ──────────────────────────────────────────────── */
.stage-label {
  color: var(--green);
  background: #69ff6918;
  border: 1px solid #69ff6940;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.68rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

/* Ranking tables from page.content */
.page-body .ranking-table,
.page-body table.rankings {
  width: 100%;
}

/* ── Focus styles (accessibility) ────────────────────────── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .site-header, .content-aside, .site-footer { display: none; }
  body { background: #fff; color: #000; }
  .page-body { max-width: 100%; }
}

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