/* ============================================
   Apollo Group TV — Core CSS
   Modern dark SaaS aesthetic — electric blue + charcoal
   ============================================ */

:root {
  --bg-void: #0a0a0a;
  --bg-deep: #0f0f0f;
  --bg-surface: #1a1a1a;
  --bg-surface-hi: #222222;
  --bg-card: #1f1f1f;
  --text-primary: #ffffff;
  --text-muted: #d0d0d0;
  --text-dim: #888;
  --brand: #0066ff;
  --brand-hi: #3384ff;
  --brand-deep: #0052cc;
  --accent: #ffffff;
  --success: #22c55e;
  --border: rgba(255,255,255,0.08);
  --border-hi: rgba(0,102,255,0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Containers */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  text-align: center;
  line-height: 1.2;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(0,102,255,0.28);
}
.btn--primary:hover { background: var(--brand-hi); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,102,255,0.4); }
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.22);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.08);
}
.btn--ghost:hover { border-color: var(--brand); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2.25rem; font-size: 1rem; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1400px;
  margin-inline: auto;
}
@media (min-width: 768px) { .header__inner { padding: 1rem 2rem; } }
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.header__logo-mark {
  display: inline-block;
  width: 28px; height: 28px;
}
.header__logo .gold { color: var(--brand); font-weight: 800; }

.header__nav { display: none; gap: 1.75rem; align-items: center; }
.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 0.5rem 0;
  position: relative;
}
.header__nav a:hover, .header__nav a.active { color: var(--brand); }
.header__cta { display: none; }
@media (min-width: 1024px) { .header__nav, .header__cta { display: inline-flex; } }

.header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.header__toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__toggle.open span:nth-child(2) { opacity: 0; }
.header__toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 1024px) { .header__toggle { display: none; } }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 90;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

@media (max-width: 1023px) {
  .header__nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 88px 2rem 2rem;
    border-left: 1px solid var(--border);
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
    overflow-y: auto;
    z-index: 100;
    display: flex;
  }
  .header__nav.open { right: 0; }
  .header__nav a { width: 100%; padding: 1.05rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; font-weight: 600; }
  .header__nav .btn { margin-top: 1.5rem; }
}

main { padding-top: 64px; }
@media (min-width: 768px) { main { padding-top: 72px; } }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 5rem;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,102,255,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 920px; margin-inline: auto; padding-inline: 1.25rem; text-align: center; }
@media (min-width: 768px) { .hero { padding: 7rem 0 6rem; } .hero__inner { padding-inline: 2rem; } }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__kicker .dot { display: inline-block; width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin: 0 0 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.hero__title .gold { color: var(--brand); font-weight: 800; }
.hero__sub {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-pill strong { color: var(--text-primary); font-weight: 700; }

/* Section */
.section { padding: 4.5rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section--alt { background: var(--bg-surface); }
.section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.card:hover { border-color: var(--border-hi); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,102,255,0.1); }
.card__icon {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,102,255,0.1);
  border-radius: 12px;
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
  color: var(--brand);
}
.card__title { font-size: 1.15rem; margin: 0 0 0.6rem; font-weight: 700; }
.card__body { color: var(--text-muted); font-size: 0.93rem; line-height: 1.65; margin: 0; }

/* Grid */
.grid { display: grid; gap: 1.25rem; }
.grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Broadcaster wall (logos-style) */
.bcast-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .bcast-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .bcast-wall { grid-template-columns: repeat(6, 1fr); } }
.bcast-wall__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-radius: 10px;
  transition: all 0.2s;
}
.bcast-wall__item:hover { border-color: var(--border-hi); color: var(--brand); transform: translateY(-2px); }

/* Trust bar stats */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 960px;
}
@media (min-width: 768px) { .trust-bar { grid-template-columns: repeat(4, 1fr); } }
.trust-bar__item { background: var(--bg-card); border: 1px solid var(--border); padding: 1.5rem 1rem; text-align: center; border-radius: 14px; }
.trust-bar__num { font-size: 1.75rem; font-weight: 800; color: var(--brand); margin-bottom: 0.2rem; letter-spacing: -0.02em; }
.trust-bar__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; }

/* Pricing */
.pricing-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.pricing-tab { padding: 0.7rem 1.25rem; font-size: 0.88rem; font-weight: 600; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); color: var(--text-muted); cursor: pointer; transition: all 0.2s; font-family: inherit; }
.pricing-tab:hover { border-color: var(--border-hi); color: var(--text-primary); }
.pricing-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0,102,255,0.28); }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 1200px; margin: 0 auto; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.pricing-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.75rem; display: flex; flex-direction: column; transition: all 0.3s; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.pricing-card:hover { border-color: var(--border-hi); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.4); }
.pricing-card--popular { border-color: var(--brand); background: linear-gradient(180deg, rgba(0,102,255,0.08) 0%, var(--bg-card) 100%); box-shadow: 0 0 0 2px var(--brand), 0 14px 36px rgba(0,102,255,0.2); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,102,255,0.4); }
.pricing-card__duration { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin: 0 0 0.35rem; color: var(--text-primary); }
.pricing-card__note { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); font-weight: 600; margin-bottom: 1.5rem; }
.pricing-card__price { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.pricing-card__price .pricing-card__was { display: block; font-size: 0.95rem; font-weight: 500; color: var(--text-dim); text-decoration: line-through; margin-bottom: 0.3rem; letter-spacing: 0; }
.pricing-card__price .currency { font-size: 1rem; vertical-align: super; color: var(--text-muted); margin-right: 0.1rem; }
.pricing-card__price .period { font-size: 0.75rem; font-weight: 400; color: var(--text-dim); letter-spacing: 0; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); padding: 0.45rem 0; }
.pricing-card__features li::before { content: '✓'; color: var(--brand); font-weight: 700; flex-shrink: 0; font-size: 0.95rem; line-height: 1.4; }
.pricing-loading { text-align: center; padding: 3rem; grid-column: 1 / -1; }
.pricing-error { text-align: center; padding: 2rem; color: var(--text-muted); grid-column: 1 / -1; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; }
.spinner--lg { width: 40px; height: 40px; border-width: 3px; border-top-color: var(--brand); margin: 2rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin-top: 2rem; }
.compare-table th, .compare-table td { padding: 0.95rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }
.compare-table th.us { color: var(--brand); }
.compare-table td.win { color: var(--brand); font-weight: 600; }
.compare-table td.lose { color: var(--text-dim); }

/* Testimonials */
.testi-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all 0.25s; }
.testi-card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.testi-card__stars { color: var(--brand); margin-bottom: 0.75rem; letter-spacing: 0.1em; font-size: 0.95rem; }
.testi-card__quote { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; }
.testi-card__quote::before { content: '"'; color: var(--brand); font-size: 1.25rem; font-weight: 700; margin-right: 0.25rem; }
.testi-card__author { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); }
.testi-card__meta { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.2rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0; background: none; border: none; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--text-primary); cursor: pointer; text-align: left; transition: color 0.2s; }
.faq-question:hover { color: var(--brand); }
.faq-question__icon { flex-shrink: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: 300; color: var(--brand); transition: transform 0.3s; }
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
.faq-answer__inner { padding-bottom: 1.35rem; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }
.faq-answer__inner a { color: var(--brand); text-decoration: underline; }
.faq-answer__inner strong { color: var(--text-primary); }

/* Final CTA */
.final-cta {
  margin: 4rem auto 0;
  max-width: 1000px;
  padding: 3rem 2rem;
  background: linear-gradient(180deg, rgba(0,102,255,0.12) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  text-align: center;
}
@media (min-width: 768px) { .final-cta { padding: 4rem 3rem; } }
.final-cta h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.final-cta p { color: var(--text-muted); margin: 0 auto 2rem; max-width: 34rem; }
.final-cta .btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Footer */
.footer { background: var(--bg-void); border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 5rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }
.footer__brand p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; margin-top: 1rem; max-width: 26rem; }
.footer__heading { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-primary); margin: 0 0 1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a { color: var(--text-dim); font-size: 0.88rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--brand); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; color: var(--text-dim); font-size: 0.82rem; }

/* Forms */
.form-label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.45rem; font-weight: 600; }
.form-input { width: 100%; padding: 0.85rem 1rem; background: var(--bg-deep); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s, background 0.2s; }
.form-input:focus { outline: none; border-color: var(--brand); background: var(--bg-surface); box-shadow: 0 0 0 3px rgba(0,102,255,0.15); }
.form-input.error { border-color: #E63946; }
.form-error { color: #E63946; font-size: 0.8rem; margin-top: 0.3rem; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* Toast */
.toast { position: fixed; top: 88px; right: 24px; padding: 1rem 1.25rem; border-radius: 10px; color: #fff; font-weight: 600; font-size: 0.9rem; z-index: 2000; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.toast--success { background: var(--success); }
.toast--error { background: #E63946; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s, transform 0.7s; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Events (schedule) */
.events-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.events-table__header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; padding: 1rem 1.5rem; background: var(--bg-surface-hi); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 600; }
.events-table__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1rem; padding: 1rem 1.5rem; border-top: 1px solid var(--border); color: var(--text-primary); font-size: 0.9rem; }
.events-table__row:first-child { border-top: none; }
.events-table__row:hover { background: var(--bg-surface-hi); }
.events-table__col--event { font-weight: 600; }
.events-table__cat-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.6rem; vertical-align: middle; }
.events-empty { text-align: center; padding: 3rem 2rem; color: var(--text-muted); background: var(--bg-card); border: 1px dashed var(--border); border-radius: 14px; }
.events-empty__icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.events-skeleton { padding: 1.5rem; }
.events-skeleton__row { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.events-skeleton__bar { height: 14px; background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.1), rgba(255,255,255,0.04)); background-size: 200% 100%; border-radius: 4px; animation: skeleton 1.5s linear infinite; margin-bottom: 0.4rem; }
.events-skeleton__bar--sm { width: 30%; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.schedule-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.schedule-pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); font-size: 0.85rem; font-weight: 500; transition: all 0.2s; }
.schedule-pill:hover { border-color: var(--pill-color, var(--brand)); }
.schedule-pill__count { margin-left: 0.3rem; padding: 2px 8px; background: rgba(255,255,255,0.08); border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.schedule-categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.schedule-card { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; text-align: center; color: var(--text-primary); transition: all 0.25s; }
.schedule-card:hover { border-color: var(--card-color, var(--brand)); transform: translateY(-3px); }
.schedule-card__emoji { font-size: 1.9rem; margin-bottom: 0.6rem; }
.schedule-card__title { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.3rem; }
.schedule-card__count { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.schedule-preview__cta { text-align: center; margin-top: 2rem; }
.schedule-full-table__title { font-size: 1.35rem; margin: 2rem 0 1.25rem; font-weight: 700; }

@media (max-width: 640px) {
  .events-table__header { display: none; }
  .events-table__row { grid-template-columns: 1fr; gap: 0.35rem; padding: 1rem; }
  .events-table__col--time, .events-table__col--date, .events-table__col--channel { font-size: 0.8rem; color: var(--text-muted); }
  .events-table__col--time::before { content: 'Time: '; font-weight: 600; color: var(--brand); }
  .events-table__col--date::before { content: 'Date: '; font-weight: 600; color: var(--brand); }
  .events-table__col--channel::before { content: 'Channel: '; font-weight: 600; color: var(--brand); }
}

/* Legacy utility */
.sun-divider { display: none; }

/* ========== EVENTS TICKER MARQUEE ========== */
.events-ticker {
  background: linear-gradient(90deg, rgba(0,102,255,0.1) 0%, var(--bg-void) 30%, var(--bg-void) 70%, rgba(0,102,255,0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  height: 48px;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(0,102,255,0.08);
  height: 100%;
  border-right: 1px solid var(--border);
}
.dot--live {
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239,68,68,0.6); } 50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(239,68,68,0); } }
.ticker-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-content {
  display: inline-flex;
  gap: 2rem;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.ticker-item__time {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ticker-item__time--tonight { background: rgba(245,158,11,0.15); color: #f59e0b; }
.ticker-item__time--live { background: rgba(239,68,68,0.15); color: #ef4444; }
.ticker-item__time--upcoming { background: rgba(59,130,246,0.15); color: var(--brand); }
.ticker-item__matchup { color: var(--text-primary); font-weight: 600; }

/* ========== POSTER SLIDER ========== */
.poster-slider {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.poster-track {
  display: flex;
  gap: 1rem;
  animation: poster-scroll 30s linear infinite;
  width: max-content;
}
.poster-track:hover { animation-play-state: paused; }
@keyframes poster-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.poster-card {
  position: relative;
  flex-shrink: 0;
  width: clamp(130px, 14vw, 220px);
  aspect-ratio: 2/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.poster-card:hover { transform: scale(1.05); }
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}
.poster-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0.75rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.poster-card:hover .poster-overlay { opacity: 1; }

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
