/* =========================================================
   Sport Betting Picks — Y2K Retro-Futurism Theme
   Primary: #69ff69 | Secondary: #00ffff | Base: #172617
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

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

:root {
  --green: #69ff69;
  --cyan: #00ffff;
  --base: #172617;
  --base-mid: #1f3a1f;
  --base-light: #243a24;
  --ink: #e8ffe8;
  --ink-dim: #a0c8a0;
  --chrome: linear-gradient(135deg, #c0c0c0 0%, #f8f8f8 40%, #a8a8a8 60%, #e0e0e0 100%);
  --glow-green: 0 0 12px #69ff69, 0 0 28px #69ff6966;
  --glow-cyan: 0 0 12px #00ffff, 0 0 28px #00ffff55;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 0;
  --max-content: 1200px;
  --col-gap: 2rem;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: underline; transition: color 0.2s, text-shadow 0.2s; }
a:hover { color: var(--green); text-shadow: var(--glow-green); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

/* --- Announcement Strip ---------------------------------- */
.announcement-strip {
  background: linear-gradient(90deg, var(--base-mid) 0%, var(--base-light) 50%, var(--base-mid) 100%);
  border-bottom: 1px solid var(--green);
  text-align: center;
  padding: 0.45rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  text-shadow: var(--glow-green);
}

/* --- Brand Row ------------------------------------------ */
.site-brand-row {
  background: var(--base);
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--cyan);
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--green);
  text-shadow: var(--glow-green);
  letter-spacing: -0.01em;
}

.brand-logo img { width: 36px; height: 36px; }
.brand-logo:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }

/* --- Header / Nav --------------------------------------- */
.site-header {
  background: var(--base-mid);
  border-bottom: 1px solid var(--base-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 56px;
  position: relative;
  z-index: 100;
}

/* Structure lottery: aside > nav > ul > li > a */
.header-aside {
  flex: 1 1 auto;
}

.header-aside nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-aside nav ul li a {
  display: block;
  padding: 1rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--base-light);
  transition: color 0.2s, background 0.2s;
}

.header-aside nav ul li:last-child a { border-right: none; }
.header-aside nav ul li a:hover {
  color: var(--green);
  background: var(--base-light);
  text-shadow: var(--glow-green);
}

/* CTA Buttons */
.header-ctas {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}

.cta-signup {
  background: linear-gradient(135deg, var(--green) 0%, #3dcc3d 100%);
  color: var(--base);
  border: 2px solid var(--green);
  box-shadow: var(--glow-green);
}

.cta-signup:hover {
  background: linear-gradient(135deg, var(--cyan) 0%, #00cccc 100%);
  border-color: var(--cyan);
  color: var(--base);
  box-shadow: var(--glow-cyan);
  text-shadow: none;
}

.cta-login {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.cta-login:hover {
  background: var(--cyan);
  color: var(--base);
  box-shadow: var(--glow-cyan);
  text-shadow: none;
}

/* --- Hero (Home + Channel) ------------------------------ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--base) 0%, #0a1f0a 50%, #001a1a 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,38,23,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(23,38,23,0.7) 100%);
}

.hero-media--empty {
  background: linear-gradient(135deg, #0a1a0a 0%, #001515 100%);
}

.hero-bg-text {
  position: absolute;
  bottom: -0.1em;
  left: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(105, 255, 105, 0.04);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: right;
  padding: 3rem 2.5rem 3rem 2rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: var(--glow-green);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-dim);
  font-style: italic;
  line-height: 1.6;
}

/* Article hero */
.article-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--base) 0%, #0d200d 100%);
}

.article-hero.has-image .hero-media { position: absolute; inset: 0; z-index: 0; }
.article-hero.has-image .hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,38,23,0.3) 0%, rgba(23,38,23,0.92) 100%);
}

.article-hero-copy {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem 2.5rem;
  max-width: var(--max-content);
  width: 100%;
}

.article-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: var(--glow-green);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

/* Inner page banner */
.inner-page-banner {
  position: relative;
  min-height: 22vh;
  background: linear-gradient(135deg, var(--base-mid) 0%, #001010 100%);
  border-bottom: 2px solid var(--cyan);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.inner-banner-copy {
  position: relative;
  z-index: 2;
  padding: 2rem 2.5rem;
}

.inner-banner-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--green);
  text-shadow: var(--glow-green);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.inner-banner-copy .subtitle {
  color: var(--ink-dim);
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb-row {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumb-row a { color: var(--cyan); text-decoration: none; }
.breadcrumb-row a:hover { color: var(--green); }

/* Stage label */
.stage-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--green);
  color: var(--green);
  margin-bottom: 0.6rem;
}

.stage-decision { border-color: var(--cyan); color: var(--cyan); }
.stage-consideration { border-color: #ff69b4; color: #ff69b4; }

/* --- Byline -------------------------------------------- */
.byline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.byline-author { color: var(--cyan); }
.byline-sep { color: var(--ink-dim); }
.byline time { color: var(--green); }

/* --- Layout: Two-col ----------------------------------- */
main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.layout-two-col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--col-gap);
  align-items: start;
}

/* Structure lottery: sidebar to the LEFT */
.sidebar {
  grid-column: 1;
  grid-row: 1;
}

.main-col {
  grid-column: 2;
  grid-row: 1;
}

.sidebar-inner {
  background: var(--base-mid);
  border: 1px solid var(--base-light);
  border-top: 3px solid var(--cyan);
  padding: 1.5rem 1.25rem;
  position: sticky;
  top: 1rem;
}

.sidebar-inner h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 0.3rem;
}

.sidebar-inner p.subtitle {
  font-size: 0.78rem;
  color: var(--ink-dim);
  font-style: italic;
  margin-bottom: 1rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li { margin-bottom: 0; border-bottom: 1px solid var(--base-light); }
.sidebar-nav li:last-child { border-bottom: none; }

.sidebar-nav li a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.2s, padding-left 0.2s;
}

.sidebar-nav li a:hover {
  color: var(--green);
  padding-left: 0.4rem;
  text-shadow: var(--glow-green);
}

/* --- Content Sections ---------------------------------- */
.content-section {
  margin-bottom: 2.5rem;
}

/* Body figure (neon rule decoration) */
.body-figure {
  margin: 0 0 1.5rem;
}

.neon-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--cyan) 50%, transparent 100%);
  box-shadow: 0 0 8px var(--green);
}

/* --- Prose / Body Copy --------------------------------- */
.prose {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 75ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--green);
  margin-top: 2.2rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

.prose h4 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
}

.prose p { margin-bottom: 1.1rem; }
.prose a { color: var(--cyan); font-weight: 600; text-decoration: underline; }
.prose a:hover { color: var(--green); }

.prose ul, .prose ol {
  margin-bottom: 1.1rem;
  color: var(--ink);
}

.prose strong { color: var(--green); font-weight: 600; }
.prose em { color: var(--ink-dim); font-style: italic; }

.prose blockquote {
  border-left: 3px solid var(--cyan);
  margin: 1.5rem 0;
  padding: 0.8rem 1.25rem;
  background: var(--base-mid);
  color: var(--ink-dim);
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.prose table th {
  background: var(--base-light);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 2px solid var(--green);
}

.prose table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--base-light);
  color: var(--ink);
}

.prose table tr:hover td { background: var(--base-mid); }

/* Heading + subtitle pattern (structure lottery) */
.prose h2 + p.subtitle,
.child-articles h2 + p.subtitle,
.channels-section h2 + p.subtitle,
.sidebar-inner h2 + p.subtitle,
.author-section h2 + p.subtitle {
  color: var(--ink-dim);
  font-style: italic;
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* --- Home channels section ----------------------------- */
.channels-section {
  margin-top: 2.5rem;
}

.channels-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

/* Structure lottery: section > div×n (no list wrapper) */
.channels-section {
  display: block;
}

.child-articles {
  margin-top: 2.5rem;
}

.child-articles h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

/* --- Channel Card (div direct child of section) ---- */
.channel-card {
  background: var(--base-mid);
  border: 1px solid var(--base-light);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.channel-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.card-body {
  padding: 1.25rem 1.5rem 1rem;
  flex: 1;
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.card-body h3 a {
  color: var(--cyan);
  text-decoration: none;
}

.card-body h3 a:hover { color: var(--green); }

.card-body p {
  font-size: 0.9rem;
  color: var(--ink-dim);
  margin-bottom: 0.5rem;
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  display: block;
}

/* Bottom accent line (structure lottery: cards) */
.card-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 8px var(--green);
}

/* --- Author Section ------------------------------------ */
.author-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--base-light);
  padding-top: 2rem;
}

.author-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.author-card {
  background: var(--base-mid);
  border: 1px solid var(--base-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
}

.author-card-body {
  padding: 1.5rem;
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.author-credentials {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.author-bio {
  color: var(--ink-dim);
  line-height: 1.7;
}

/* --- Footer ------------------------------------------- */
.site-footer {
  background: var(--base-mid);
  border-top: 2px solid var(--green);
  margin-top: 4rem;
}

/* Structure lottery: footer > section×n */
.footer-cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0a200a 0%, #001515 100%);
  border-bottom: 1px solid var(--base-light);
}

.footer-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green);
  margin-bottom: 1.25rem;
}

.footer-links-block {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--base-light);
  text-align: center;
}

.footer-links-block nav {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer-links-block a {
  color: var(--ink-dim);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.3rem;
}

.footer-links-block a:hover { color: var(--cyan); }

.footer-legal {
  padding: 1rem 2rem;
  text-align: center;
}

.rg-notice {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  margin-bottom: 0.4rem;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: #4a6a4a;
}

/* --- Sparkle / Glow Decorations ----------------------- */
.hero-copy::before,
.inner-banner-copy::before {
  content: '✦';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 1.5rem;
  color: var(--cyan);
  opacity: 0.5;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.3) rotate(20deg); }
}

/* Glow animation for CTA */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px #69ff69, 0 0 20px #69ff6940; }
  50% { box-shadow: 0 0 18px #69ff69, 0 0 40px #69ff6980; }
}

.cta-signup { animation: glowPulse 2.5s ease-in-out infinite; }

/* Scroll reveal (structure lottery: motion) */
.channel-card,
.author-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}

.channel-card.visible,
.author-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Override hover transform only when visible */
.channel-card.visible:hover { transform: translateY(-2px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .channel-card, .author-card { opacity: 1; transform: none; }
}

/* --- Metallic / chrome effect on sidebar border ------- */
.sidebar-inner::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--chrome);
  margin-bottom: 1rem;
}

/* --- Responsive ---------------------------------------- */

/* Tablet */
@media (max-width: 900px) {
  .layout-two-col {
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
  }

  .hero { min-height: 55vh; }
  .hero-copy { max-width: 100%; padding: 2rem 1.5rem; }
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }

  .site-brand-row { padding: 0.75rem 1rem; }
  .brand-logo { font-size: 1.2rem; }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0.75rem;
  }

  .header-aside nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .header-aside nav ul li a {
    font-size: 0.65rem;
    padding: 0.75rem 0.6rem;
    white-space: nowrap;
    border-right: 1px solid var(--base-light);
    min-height: 44px;
  }

  .header-ctas {
    width: 100%;
    padding: 0.5rem 0;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .cta {
    font-size: 0.7rem;
    padding: 0.5rem 0.9rem;
    min-height: 44px;
  }

  .hero { min-height: 60vh; }
  .hero-copy { text-align: left; padding: 1.5rem 1rem; max-width: 100%; }
  .hero-copy h1 { font-size: 1.75rem; }

  .article-hero { min-height: 30vh; }
  .article-hero-copy { padding: 1.25rem 1rem 1.5rem; }

  .layout-two-col {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-column: 1;
    grid-row: 2;
  }

  .main-col {
    grid-column: 1;
    grid-row: 1;
  }

  .sidebar-inner { position: static; }

  main { padding: 1.25rem 1rem 2rem; }

  .footer-cta-block { padding: 2rem 1rem; }
  .footer-links-block { padding: 1rem; }
  .footer-links-block a { min-height: 44px; }
  .footer-legal { padding: 0.75rem 1rem; }

  .hero-bg-text { font-size: 5rem; }

  .channels-section,
  .child-articles { margin-top: 1.5rem; }

  .prose { max-width: 100%; }
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.1rem; }
  .prose table { font-size: 0.8rem; display: block; overflow-x: auto; }
}

/* Ensure no horizontal overflow */
@media (max-width: 375px) {
  .header-aside nav ul li a { font-size: 0.6rem; padding: 0.75rem 0.5rem; }
  .announcement-strip { font-size: 0.65rem; letter-spacing: 0.06em; }
}

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