
/* ===== Neural Field — Sub-brand of Borderless Creators ===== */

/* --- Type Scale --- */

:root {
  /* Type scale: matched to live Borderless Creators proportions */
  --text-xs: 0.6875rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2.125rem;
  --text-3xl: 2.75rem;
  --text-hero: 2.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius: aligned to live Borderless Creators UI */
  --radius-sm: 0.125rem;
  --radius-md: 0.1875rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;

  /* Motion */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts: live Borderless Creators stack */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Fira Code', ui-monospace, monospace;

  /* Borderless Creators master brand tokens, sourced from live site */
  --bc-bg-base: #020617;
  --bc-bg-deep: #07111F;
  --bc-surface: #0B1220;
  --bc-card: rgba(255, 255, 255, 0.04);
  --bc-border: rgba(255, 255, 255, 0.10);
  --bc-primary: #F8FAFC;
  --bc-body: #F1F5F9;
  --bc-secondary: #94A3B8;
  --bc-muted: #64748B;
  --bc-teal: #2DD4BF;
  --bc-aqua: #22D3EE;
  --bc-cyan: #22D3EE;
  --bc-blue: #3B82F6;
  --bc-sky: #38BDF8;
  --bc-violet: #8B5CF6;
  --bc-rose: #FB7185;
  --bc-amber: #F59E0B;
  --bc-white: #FFFFFF;

  /* Neural Field sub-brand cyan scale */
  --nf-cyan-50: #ECFEFF;
  --nf-cyan-100: #CFFAFE;
  --nf-cyan-300: #67E8F9;
  --nf-cyan-400: #22D3EE;
  --nf-cyan-500: #06B6D4;
  --nf-cyan-600: #0891B2;
  --nf-cyan-700: #0E7490;
  --nf-cyan-900: #164E63;
  --nf-cyan-950: #083344;

  /* Neural Field identity tokens */
  --nf-logo-primary: var(--nf-cyan-400);
  --nf-logo-hover: var(--nf-cyan-300);
  --nf-logo-subdued: var(--nf-cyan-600);
  --nf-logo-favicon-bg: var(--bc-bg-base);

  /* Neural Field dark system */
  --nf-bg-page: var(--bc-bg-base);
  --nf-bg-deep: var(--bc-bg-deep);
  --nf-bg-gradient-mid: #040D1A;
  --nf-surface-elevated: var(--bc-surface);
  --nf-surface-card: var(--bc-bg-deep);
  --nf-surface-card-live: linear-gradient(135deg, #07111F 0%, rgba(11,23,38,0.7) 100%);
  --nf-surface-soft: rgba(255, 255, 255, 0.04);
  --nf-surface-hover: rgba(11, 23, 38, 0.7);

  --nf-border-default: rgba(45, 212, 191, 0.08);
  --nf-border-strong: rgba(34, 211, 238, 0.25);
  --nf-border-hover: rgba(34, 211, 238, 0.45);
  --nf-border-subtle: rgba(255, 255, 255, 0.06);
  --nf-divider: rgba(45, 212, 191, 0.06);

  --nf-text-primary: var(--bc-body);
  --nf-text-strong: var(--bc-primary);
  --nf-text-secondary: var(--bc-secondary);
  --nf-text-muted: var(--bc-muted);
  --nf-text-inverse: #020617;

  --nf-accent-primary: var(--nf-cyan-400);
  --nf-accent-hover: var(--bc-teal);
  --nf-accent-active: var(--nf-cyan-500);
  --nf-accent-subdued: var(--nf-cyan-600);
  --nf-accent-wash: rgba(34, 211, 238, 0.08);

  /* Neural Field category/tab tokens, harmonized with BC project colors */
  --nf-tab-all: var(--nf-cyan-400);
  --nf-tab-all-wash: rgba(34, 211, 238, 0.08);
  --nf-tab-sports: var(--bc-amber);
  --nf-tab-sports-wash: rgba(245, 158, 11, 0.08);
  --nf-tab-gaming: var(--bc-violet);
  --nf-tab-gaming-wash: rgba(139, 92, 246, 0.08);
  --nf-tab-media: var(--bc-rose);
  --nf-tab-media-wash: rgba(251, 113, 133, 0.08);
  --nf-tab-creators: var(--bc-teal);
  --nf-tab-creators-wash: rgba(45, 212, 191, 0.08);
  --nf-tab-platforms: var(--bc-blue);
  --nf-tab-platforms-wash: rgba(59, 130, 246, 0.08);
  --nf-tab-agents: var(--bc-violet);
  --nf-tab-agents-wash: rgba(139, 92, 246, 0.08);

  /* Existing UI aliases mapped to Neural Field tokens */
  --color-bg: var(--nf-bg-page);
  --color-surface: var(--nf-surface-card);
  --color-surface-2: var(--nf-surface-elevated);
  --color-surface-offset: var(--nf-bg-deep);
  --color-surface-dynamic: var(--nf-surface-hover);
  --color-divider: var(--nf-divider);
  --color-border: var(--nf-border-default);
  --color-text: var(--nf-text-primary);
  --color-text-muted: var(--nf-text-secondary);
  --color-text-faint: var(--nf-text-muted);
  --color-text-inverse: var(--nf-text-inverse);

  --color-primary: var(--nf-accent-primary);
  --color-primary-hover: var(--nf-accent-hover);
  --color-primary-active: var(--nf-accent-active);
  --color-primary-dim: var(--nf-accent-wash);

  --color-sports: var(--nf-tab-sports);
  --color-sports-dim: var(--nf-tab-sports-wash);
  --color-gaming: var(--nf-tab-gaming);
  --color-gaming-dim: var(--nf-tab-gaming-wash);

  --color-accent: var(--nf-accent-primary);
  --color-accent-dim: var(--nf-accent-wash);
  --color-orange: var(--nf-tab-sports);
  --color-orange-dim: var(--nf-tab-sports-wash);

  --color-error: #F87171;
  --color-success: #34D399;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.7);

  --glow-primary: 0 0 32px rgba(34, 211, 238, 0.10);
  --glow-sports: 0 0 24px rgba(245, 158, 11, 0.12);
  --glow-gaming: 0 0 24px rgba(139, 92, 246, 0.12);
  --glow-accent: var(--glow-primary);
}
/* ===== GLOBAL ===== */

body {
  background: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary-hover);
}

/* ===== HEADER ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  padding: 0.875rem var(--space-8);
}


.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}


.logo-mark {
  display: block;
  width: 68px;
  height: 38px;
  object-fit: contain;
  transition: opacity var(--transition-interactive), transform var(--transition-interactive);
}

.logo:hover .logo-mark {
  opacity: 0.9;
  transform: translateY(-1px);
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #E8F4FF;
}


.logo-byline {
  font-family: var(--font-mono);
  font-size: 0.575rem;
  color: rgba(148, 163, 184, 0.78);
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 400;
}

.logo-byline .byline-link {
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(148, 163, 184, 0.35);
  text-underline-offset: 2px;
  transition: color var(--transition-interactive), text-decoration-color var(--transition-interactive);
}

.logo-byline .byline-link:hover {
  color: rgba(148, 163, 184, 1);
  text-decoration-color: rgba(148, 163, 184, 0.6);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 500;
  padding: 0.25rem 0;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: #2dd4bf;
  text-decoration: none;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  --hero-x: 72%;
  --hero-y: 46%;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--space-24) var(--space-8) var(--space-16);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #020617 0%, #040D1A 52%, #020617 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% -12%;
  background:
    linear-gradient(rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 720px 460px at var(--hero-x) var(--hero-y), rgba(34, 211, 238, 0.20), transparent 68%);
  background-size: 48px 48px, 48px 48px, auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  transition: opacity 260ms ease, filter 260ms ease, transform 420ms ease;
  min-height: 120px;
  animation: hero-ring-pulse 7s ease-in-out infinite;
}

.hero:hover::before {
  opacity: 1;
  filter: brightness(1.65) saturate(1.55);
  transform: scale(1.055);
}

.hero.hero-radiant::before {
  animation: hero-radiant-burst 1050ms ease-out, hero-ring-pulse 7s ease-in-out infinite 1050ms;
}

.hero-radar {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-5rem, 3vw, 6rem);
  width: clamp(21rem, 42vw, 42rem);
  aspect-ratio: 1;
  transform: translateY(calc(-50% - 8vh));
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.88;
  background:
    radial-gradient(circle,
      transparent 0%,
      transparent 26%,  rgba(34, 211, 238, 0.16) 26.4%, transparent 26.9%,
      transparent 49%,  rgba(34, 211, 238, 0.12) 49.4%, transparent 49.9%,
      transparent 70%,  rgba(34, 211, 238, 0.09) 70.4%, transparent 70.9%,
      transparent 89%,  rgba(34, 211, 238, 0.15) 89.4%, transparent 89.9%
    ),
    radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 58%);
  filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.20));
}

.hero-radar::before,
.hero-radar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hero-radar::before {
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: inset 0 0 60px rgba(34, 211, 238, 0.07);
  background:
    linear-gradient(to right,
      transparent calc(50% - 0.5px),
      rgba(34, 211, 238, 0.12) calc(50% - 0.5px) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(to bottom,
      transparent calc(50% - 0.5px),
      rgba(34, 211, 238, 0.12) calc(50% - 0.5px) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
}

.hero-radar::after {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, black 0 88%, transparent 92%);
}

.hero-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(34, 211, 238, 0.0)  0deg,
    rgba(34, 211, 238, 0.60) 3deg,
    rgba(34, 211, 238, 0.25) 18deg,
    transparent              58deg,
    transparent              360deg
  );
  mask-image: radial-gradient(circle, black 0 89%, transparent 91%);
  animation: radar-sweep 14s linear infinite;
}


.hero-radar-dot {
  --dot-x: 50%;
  --dot-y: 50%;
  position: absolute;
  top: var(--dot-y);
  left: var(--dot-x);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  animation: radar-dot-pulse 2.8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #020617);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  transform: translateY(-8vh);
}

.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2dd4bf;
  animation: signal-blink 2s ease-in-out infinite;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(45, 212, 191, 0.72);
  justify-content: center;
}

.hero-eyebrow a {
  color: rgba(94, 234, 212, 0.82);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero-eyebrow a:hover {
  color: rgba(94, 234, 212, 1);
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 191, 0.5);
  text-underline-offset: 3px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 var(--space-10);
  color: var(--color-text);
  line-height: 1.04;
  max-width: 760px;
}

.hero h1 .highlight {
  color: var(--color-primary);
  -webkit-text-fill-color: var(--color-primary);
}

.hero p {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(148, 163, 184, 0.86);
  max-width: 560px;
  margin: 0 0 var(--space-8);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: background var(--transition-interactive), border-color var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive);
}

.hero-btn:hover {
  transform: translateY(-1px);
}

.hero-btn-primary {
  background: var(--bc-teal);
  color: #020617;
  border: 1px solid transparent;
}

.hero-btn-primary:hover {
  background: var(--color-primary);
  color: #020617;
}

.hero-btn-secondary {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.hero-btn-secondary:hover {
  color: var(--color-text);
  border-color: rgba(100, 116, 139, 0.55);
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-8);
  margin-top: 0;
}

.hero-stat {
  text-align: center;
  min-width: 84px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 0.5rem;
}

/* ===== CONTAINER ===== */

.container {
  width: min(var(--content-wide), calc(100% - var(--space-16)));
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0;
}

/* ===== SECTION ===== */

.page-section {
  scroll-margin-top: 88px;
}

.page-section + .page-section {
  border-top: 1px solid rgba(30, 41, 59, 0.54);
}

.section {
  padding: var(--space-12) 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* ===== FILTER TABS ===== */

.filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  color: var(--color-text-faint);
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 160ms, color 160ms, background 160ms;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  text-transform: uppercase;
}

.filter-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.filter-tab.active {
  background: var(--color-primary-dim);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Sports section — amber */
#section-sports .filter-tab:hover {
  border-color: var(--color-sports);
  color: var(--color-sports);
}
#section-sports .filter-tab.active {
  background: var(--color-sports-dim);
  color: var(--color-sports);
  border-color: var(--color-sports);
}

/* Gaming section — violet */
#section-gaming .filter-tab:hover {
  border-color: var(--color-gaming);
  color: var(--color-gaming);
}
#section-gaming .filter-tab.active {
  background: var(--color-gaming-dim);
  color: var(--color-gaming);
  border-color: var(--color-gaming);
}

/* ===== NEWS GRID ===== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-4);
}

/* ===== ARTICLE CARD ===== */

.article-card {
  --card-accent: var(--color-primary);
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-left: 2px solid rgba(34, 211, 238, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive), transform 200ms ease;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--card-accent) 26%, transparent);
  opacity: 0.25;
  transition: opacity var(--transition-interactive);
}

.article-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.08);
  background: rgba(11, 23, 38, 0.86);
  transform: translateY(-2px);
}

.article-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Sports cards — amber left-rail + hover */
#section-sports .article-card {
  --card-accent: var(--color-sports);
  border-left-color: rgba(245, 158, 11, 0.28);
}
#section-sports .article-card:hover {
  --card-accent: var(--color-sports);
  border-color: var(--color-sports);
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.22);
}

/* Gaming cards — violet left-rail + hover */
#section-gaming .article-card {
  --card-accent: var(--color-gaming);
  border-left-color: rgba(139, 92, 246, 0.28);
}
#section-gaming .article-card:hover {
  --card-accent: var(--color-gaming);
  border-color: var(--color-gaming);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.22);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.article-category {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  background: var(--color-primary-dim);
  color: var(--color-primary);
}

#section-sports .article-category {
  background: var(--color-sports-dim);
  color: var(--color-sports);
}
#section-gaming .article-category {
  background: var(--color-gaming-dim);
  color: var(--color-gaming);
}

.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text);
  transition: color var(--transition-interactive);
}

.article-card:hover h3,
.article-card:focus-visible h3 {
  color: var(--color-primary);
}

#section-sports .article-card:hover h3,
#section-sports .article-card:focus-visible h3 {
  color: var(--color-sports);
}
#section-gaming .article-card:hover h3,
#section-gaming .article-card:focus-visible h3 {
  color: var(--color-gaming);
}

.article-desc {
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.82);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
  min-width: 0;
}

.article-source {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}

.article-link {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 3px;
}

.article-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.45);
}

#section-sports .article-link { color: var(--color-sports); }
#section-sports .article-link:hover { opacity: 0.8; }
#section-gaming .article-link { color: var(--color-gaming); }
#section-gaming .article-link:hover { opacity: 0.8; }

/* ===== FEATURED CARD ===== */

.featured-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: grid;
  gap: var(--space-4);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.06);
  margin-bottom: var(--space-6);
  /* whole-card link resets */
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), transparent 72%);
  opacity: 0.9;
}

#section-sports .featured-card {
  border-color: var(--color-sports);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.10);
}
#section-sports .featured-card::before {
  background: linear-gradient(90deg, var(--color-sports), rgba(245, 158, 11, 0.34) 38%, transparent 76%);
}
#section-gaming .featured-card {
  border-color: var(--color-gaming);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.10);
}
#section-gaming .featured-card::before {
  background: linear-gradient(90deg, var(--color-gaming), rgba(139, 92, 246, 0.34) 38%, transparent 76%);
}

.featured-card:hover {
  background: rgba(11, 23, 38, 0.88);
}

#section-sports .featured-card:hover {
  border-color: var(--color-sports);
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.22);
}

#section-gaming .featured-card:hover {
  border-color: var(--color-gaming);
  box-shadow: 0 0 34px rgba(139, 92, 246, 0.22);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: rgba(34, 211, 238, 0.08);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0;
  width: fit-content;
}

#section-sports .featured-badge { background: var(--color-sports-dim); color: var(--color-sports); }
#section-gaming .featured-badge { background: var(--color-gaming-dim); color: var(--color-gaming); }

.featured-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.featured-card:hover h2 {
  color: var(--color-primary);
}
.featured-card:focus-visible h2 {
  color: var(--color-primary);
}

#section-sports .featured-card:hover h2,
#section-sports .featured-card:focus-visible h2 { color: var(--color-sports); }
#section-gaming .featured-card:hover h2,
#section-gaming .featured-card:focus-visible h2 { color: var(--color-gaming); }

.featured-desc {
  max-width: 68ch;
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.82);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

/* ===== NEWSLETTER ===== */

.newsletter-section {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 20% 80%, var(--color-primary-dim), transparent),
    radial-gradient(ellipse 400px 300px at 80% 20%, rgba(139, 92, 246, 0.06), transparent);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.newsletter-section p {
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.82);
  margin: 0 auto var(--space-6);
  max-width: 480px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-name-row {
  display: flex;
  gap: var(--space-3);
}

.newsletter-form input[type="email"], .newsletter-form input[type="text"] {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(100, 116, 139, 0.34);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  min-width: 0;
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}

.newsletter-form input::placeholder {
  color: var(--color-text-faint);
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-dim);
  outline: none;
}

.btn-primary {
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background var(--transition-interactive), transform 160ms, box-shadow 160ms;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.16);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--color-primary-active);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.newsletter-message {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  min-height: 1.4em;
}

.newsletter-message.success {
  color: var(--color-success);
}

.newsletter-message.error {
  color: var(--color-error);
}

/* ===== ARCHIVES — TIMELINE ===== */

.archive-timeline-wrap {
  width: 100%;
  padding: var(--space-4) 0 var(--space-8);
}

/* Horizontal scrolling row — newest item first in DOM, row-reverse puts it on the right */
.archive-timeline {
  display: flex;
  flex-direction: row-reverse;
  gap: 3px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 211, 238, 0.18) transparent;
  /* Anchor scroll origin to the right so today is always visible on load */
  justify-content: flex-start;
}

.archive-timeline::-webkit-scrollbar { height: 3px; }
.archive-timeline::-webkit-scrollbar-track { background: transparent; }
.archive-timeline::-webkit-scrollbar-thumb { background: rgba(34, 211, 238, 0.2); border-radius: 99px; }

/* Individual day node */
.archive-node {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  cursor: pointer;
  min-width: 68px;
  font-family: var(--font-mono);
  transition: border-color 150ms, background 150ms, box-shadow 150ms;
  text-align: center;
}

.archive-node:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(11, 23, 38, 0.86);
}

.archive-node.is-today {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.07);
}

.archive-node.is-active {
  border-color: var(--color-primary);
  background: rgba(34, 211, 238, 0.05);
}

.archive-node-dow {
  font-size: 0.575rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  line-height: 1;
}

.archive-node-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  line-height: 1.2;
}

.archive-node.is-today .archive-node-date {
  color: var(--color-primary);
}

.archive-node-count {
  font-size: 0.6rem;
  color: var(--color-text-faint);
  line-height: 1;
}

/* "← N older" inline expand button */
.archive-older-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 6px 12px;
  background: none;
  border: 1px dashed var(--color-divider);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
  white-space: nowrap;
  transition: color 150ms, border-color 150ms;
}

.archive-older-btn:hover {
  color: var(--color-primary);
  border-color: rgba(34, 211, 238, 0.4);
}

/* Drill-down panel below the timeline */
.archive-panel {
  margin-top: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  animation: panel-in 160ms ease-out;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.archive-panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}

.archive-panel-date {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.archive-panel-count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.archive-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-faint);
  font-size: 1.1rem;
  line-height: 1;
  padding: 2px 6px;
  transition: color 150ms;
  border-radius: var(--radius-sm);
}

.archive-panel-close:hover { color: var(--color-text); }

.archive-brief-row {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

.archive-brief-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity 150ms;
}

.archive-brief-link:hover { opacity: 0.75; }

.archive-articles {
  display: grid;
  gap: 0.75rem;
}

.archive-article-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-3);
  padding: 0.625rem 0;
  border-top: 1px solid rgba(30, 41, 59, 0.56);
}

.archive-article-link {
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}

.archive-article-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.42);
}

.archive-empty-note {
  font-size: 0.72rem;
  color: var(--color-text-faint);
  padding: 0.25rem 0;
}


@media (max-width: 640px) {
  /* Keep horizontal scroll carousel on mobile — column list was too long */
  .archive-timeline-wrap {
    padding: var(--space-3) 0 var(--space-5);
  }

  .archive-timeline {
    gap: 4px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .archive-node {
    min-width: 58px;
    padding: 8px 10px;
    gap: 2px;
  }

  .archive-node-dow {
    font-size: 0.575rem;
    letter-spacing: 0.04em;
  }

  .archive-node-date {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .archive-node-count {
    font-size: 0.625rem;
  }

  .archive-older-btn {
    font-size: 0.6rem;
    padding: 6px 8px;
    min-width: 52px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .archive-panel {
    padding: var(--space-3);
    margin-top: var(--space-3);
  }

  .archive-panel-header {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .archive-panel-date {
    font-size: 0.8rem;
  }

  .archive-article-item {
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .archive-article-link {
    font-size: 0.78rem;
  }
}

/* ===== LEGACY TAB CLASSES ===== */

.tab-nav {
  display: none;
}

.tab-content {
  display: block;
}

/* ===== LIVE INDICATOR ===== */

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

@keyframes signal-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes hero-ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.86; }
  50% { transform: scale(1.018); opacity: 1; }
}

@keyframes hero-radiant-burst {
  0% { transform: scale(1); filter: brightness(1.35) saturate(1.28); }
  35% { transform: scale(1.12); filter: brightness(2.05) saturate(1.75); opacity: 1; }
  100% { transform: scale(1.055); filter: brightness(1.65) saturate(1.55); }
}

@keyframes radar-sweep {
  to { transform: rotate(360deg); }
}

@keyframes radar-dot-pulse {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  18%, 54% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

/* ===== REFRESH BTN ===== */

.btn-ghost {
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: none;
  cursor: pointer;
  transition: color 160ms, border-color 160ms;
}

.btn-ghost:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ===== CONTROLS BAR ===== */

.controls-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  padding: 0;
  margin-bottom: var(--space-5);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  flex-wrap: wrap;
}

#section-sports .controls-bar {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

#section-sports .sport-type-bar {
  margin-left: auto;
}

/* ===== BASKETBALL TOGGLE ===== */

.basketball-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: none;
  cursor: pointer;
  transition: border-color 160ms, color 160ms, background 160ms;
}

.basketball-toggle:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}

.basketball-toggle.active {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  border-color: #d97706;
  color: #fff;
}

/* ===== LOAD MORE ===== */

.load-more-wrap {
  text-align: center;
  padding: var(--space-6) 0 var(--space-2);
}

.archive-load-more-wrap {
  padding-top: var(--space-7);
}

.archive-load-more-btn {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0;
  border-color: rgba(34, 211, 238, 0.32);
  color: var(--color-primary);
  background: rgba(34, 211, 238, 0.04);
}

.archive-load-more-btn:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.12);
}

.btn-load-more,
.load-more-btn {
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: none;
  cursor: pointer;
  transition: border-color 160ms, color 160ms;
}

.btn-load-more:hover,
.load-more-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ===== FOOTER ===== */

.footer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) var(--space-4);
  text-align: center;
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

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

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== DONATE SECTION ===== */

.donate-section {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--space-8);
}

.donate-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 30% 80%, rgba(245, 158, 11, 0.05), transparent),
    radial-gradient(ellipse 400px 300px at 70% 20%, rgba(245, 158, 11, 0.04), transparent);
  pointer-events: none;
}

.donate-content {
  position: relative;
  z-index: 1;
}

.donate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(245, 158, 11, 0.06));
  color: var(--color-sports);
  margin: 0 auto var(--space-4);
  font-size: 2rem;
}

.donate-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.donate-section p {
  font-size: 0.9375rem;
  color: rgba(148, 163, 184, 0.82);
  margin: 0 auto var(--space-6);
  max-width: 480px;
}

.donate-tiers {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.donate-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  text-decoration: none;
  color: var(--color-text);
  min-width: 110px;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform 200ms ease;
}

.donate-tier:hover {
  border-color: var(--color-sports);
  box-shadow: var(--glow-sports);
  transform: translateY(-3px);
  color: var(--color-text);
}

.donate-tier-emoji {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1;
  color: rgba(245, 158, 11, 0.78);
}

.donate-tier-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.donate-tier-amount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-sports);
}

.donate-custom-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

/* ===== MOBILE ===== */

.mobile-menu-btn {
  display: none;
  color: var(--color-text-muted);
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  :root {
    --text-hero: 4.5rem;
  }

  .hero {
    padding-top: var(--space-24);
    padding-bottom: var(--space-20);
  }
}

@media (max-width: 640px) {
  :root {
    --text-hero: 2.5rem;
  }

  .header {
    padding: 0.75rem var(--space-4);
  }

  .container {
    width: calc(100% - var(--space-8));
  }

  .hero {
    min-height: 100svh;
    padding: var(--space-16) var(--space-4) var(--space-12);
  }

  .hero-radar {
    top: 54%;
    right: -11rem;
    width: 28rem;
    opacity: 0.42;
  }

  .hero-content {
    transform: translateY(-4vh);
  }

  .hero p {
    font-size: 0.9375rem;
  }

  .hero-actions {
    gap: 0.5rem;
  }

  .hero-btn {
    width: 100%;
  }

  .featured-card,
  .newsletter-section,
  .donate-section {
    padding: var(--space-5);
  }
}

@media (max-width: 640px) {

  .mobile-menu-btn {
    display: block;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.96);
    border-bottom: 1px solid var(--color-divider);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .header-nav.open {
    display: flex;
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .newsletter-form {
    max-width: 100%;
  }

  .newsletter-name-row {
    flex-direction: column;
  }

  .controls-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    padding: var(--space-5);
  }

  .donate-tiers {
    gap: var(--space-2);
  }

  .donate-tier {
    padding: var(--space-3) var(--space-4);
    min-width: 90px;
  }
}

/* ===== SCROLL REVEAL ===== */

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before,
  .hero-radar-sweep,
  .hero-radar-dot,
  .signal-dot {
    animation: none;
  }
}

/* ===== SECTION DIVIDER ===== */

.section-divider {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: var(--space-8) 0;
  opacity: 0.4;
}


/* ===== ACCESSIBLE FOCUS ===== */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(94, 234, 212, 0.72);
  outline-offset: 3px;
}


/* ===== NEWSLETTER SECTION POSITIONING ===== */

#newsletter {
  min-height: 76vh;
  display: flex;
  align-items: center;
}

#newsletter .section {
  width: 100%;
}

/* ===== MERGED NEWSLETTER + SUPPORT ===== */

.newsletter-support-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(5, 13, 25, 0.92));
  border: 1px solid rgba(45, 212, 191, 0.10);
  border-radius: var(--radius-lg);
  padding: clamp(4rem, 8vw, 7rem) var(--space-10);
  min-height: min(560px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
}


.newsletter-support-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 320px at 16% 20%, rgba(34, 211, 238, 0.12), transparent 64%),
    radial-gradient(420px 300px at 86% 76%, rgba(245, 158, 11, 0.08), transparent 66%);
  pointer-events: none;
}

.newsletter-support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.newsletter-panel {
  width: min(100%, 680px);
  margin: 0 auto;
}

.newsletter-panel h2,
.support-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-text);
  margin: 0 0 var(--space-3);
}

.newsletter-panel h2 {
  font-size: 2.5rem;
  line-height: 1.06;
}

.support-panel h2 {
  font-size: 1.5rem;
  line-height: 1.15;
}

.newsletter-panel p,
.support-panel p {
  color: rgba(148, 163, 184, 0.86);
  line-height: 1.65;
}

.newsletter-panel p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
}

.support-panel p {
  margin: 0 0 var(--space-5);
  font-size: 0.9375rem;
}

.newsletter-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.375rem;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(45, 212, 191, 0.72);
}

.newsletter-support-section .newsletter-form {
  margin: var(--space-7) auto 0;
  max-width: 640px;
}

.support-panel {
  border-left: 1px solid rgba(45, 212, 191, 0.10);
  padding-left: var(--space-8);
}

.support-panel .donate-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 var(--space-5);
}

.support-panel .donate-tiers {
  justify-content: flex-start;
  margin-bottom: var(--space-4);
}

.support-panel .donate-tier {
  min-width: 86px;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-md);
}

.support-panel .donate-custom-link {
  margin-bottom: 0;
  color: var(--color-primary);
}

@media (max-width: 760px) {
  #newsletter {
    min-height: auto;
  }

  .newsletter-support-section {
    padding: var(--space-6) var(--space-5);
  }

  .newsletter-support-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .newsletter-panel h2 {
    font-size: 1.875rem;
  }

  .support-panel {
    border-left: 0;
    border-top: 1px solid rgba(45, 212, 191, 0.10);
    padding-left: 0;
    padding-top: var(--space-6);
  }
}



.footer-copy a {
  color: rgba(94, 234, 212, 0.82);
  text-decoration: none;
  text-underline-offset: 3px;
}

.footer-copy a:hover {
  color: rgba(94, 234, 212, 1);
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 191, 0.5);
}


/* Support panel is paused for now. */
.support-panel { display: none; }


/* Final polish: section accents and breathing room */
#section-sports .section-eyebrow,
#section-sports .section-label,
#section-sports .section-kicker,
#section-sports .section-heading,
#section-sports .section-title-wrap,
#section-sports .section-intro,
#section-sports .section-header-copy {
    border-left-color: var(--color-sports);
}

#section-gaming .section-eyebrow,
#section-gaming .section-label,
#section-gaming .section-kicker,
#section-gaming .section-heading,
#section-gaming .section-title-wrap,
#section-gaming .section-intro,
#section-gaming .section-header-copy {
    border-left-color: var(--color-gaming);
}

#section-sports .sport-filter .filter-tab:hover,
#section-sports .sport-filter .filter-tab.active,
#section-sports .sport-filter button:hover,
#section-sports .sport-filter button.active,
#section-sports .sport-tabs button:hover,
#section-sports .sport-tabs button.active,
#section-sports [data-sport-filter]:hover,
#section-sports [data-sport-filter].active {
    color: var(--color-sports);
    border-color: var(--color-sports);
    background: var(--color-sports-dim);
}

#archives .archive-list,
#archives .archive-grid,
#archives .archives-grid,
.archive-list,
.archive-grid,
.archives-grid {
    margin-bottom: var(--space-6);
}

.archive-load-more,
.load-more-archives,
#load-more-archives,
#archives .load-more {
    margin-top: var(--space-6);
}

.newsletter-panel,
.newsletter-panel form,
.newsletter-form,
.newsletter-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.newsletter-panel h2,
.newsletter-panel .section-title {
    margin-bottom: var(--space-2);
}

.newsletter-panel p,
.newsletter-copy,
.newsletter-description {
    margin-bottom: var(--space-5);
    max-width: 58ch;
}


/* Final polish: generated page overrides */
.section-heading-accent.sports {
    background: var(--color-sports) !important;
}
.section-heading-accent.gaming {
    background: var(--color-gaming) !important;
}
#section-sports .sport-chip:hover,
#section-sports .sport-chip.active {
    color: var(--color-sports) !important;
    border-color: var(--color-sports) !important;
    background: var(--color-sports-dim) !important;
}
#archives .archive-grid,
#archives .archives-grid,
#archives .archive-list {
    margin-bottom: var(--space-8) !important;
}
#archives .load-more,
#archives .archive-load-more,
#archives .load-more-archives,
#load-more-archives {
    margin-top: var(--space-8) !important;
}
.newsletter-panel {
    gap: var(--space-5) !important;
}
.newsletter-panel h2 {
    margin-bottom: var(--space-3) !important;
}
.newsletter-panel p {
    margin-bottom: var(--space-6) !important;
}
.newsletter-panel form {
    gap: var(--space-4) !important;
}
