/* ============================================
   FCTV33LIVE.STREAM — Shared Design System
   Primary: #ffbd0f | Dark sports platform
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── Tokens ──────────────────────────────── */
:root {
  /* Layout: dark first, full-bleed hero bands */
  --bg:          #0b0c11;
  --bg-2:        #13151c;
  --bg-3:        #1a1d26;
  --bg-4:        #20232d;
  --border:      rgba(255,255,255,0.08);
  --border-hi:   rgba(255,255,255,0.14);

  /* Text */
  --fg:          #e4e6ed;
  --fg-2:        #9fa1ab;
  --fg-3:        #5e6070;

  /* Brand gold */
  --gold:        #ffbd0f;
  --gold-hover:  #ffd040;
  --gold-dim:    rgba(255,189,15,0.1);
  --gold-dim2:   rgba(255,189,15,0.18);

  /* Status */
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.1);
  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,0.1);
  --amber:       #f59e0b;
  --amber-dim:   rgba(245,158,11,0.1);

  /* Type */
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', system-ui, sans-serif;

  /* Radius */
  --r:           10px;
  --r-sm:        6px;
  --r-lg:        16px;

  color-scheme: dark;
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }

/* ── Typography ──────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--fg);
}
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { max-width: 68ch; }

em { color: var(--gold); font-style: normal; }

/* ── Container ───────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-left:  max(20px, env(safe-area-inset-left,  0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ── Navigation ──────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,12,17,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.75rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--fg); background: var(--bg-3); }
.nav-watch {
  margin-left: 0.5rem;
  padding: 0.4rem 1rem !important;
  background: var(--gold) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border-radius: var(--r-sm) !important;
  font-size: 0.82rem !important;
}
.nav-watch:hover { background: var(--gold-hover) !important; color: #000 !important; }

/* ── Hero ────────────────────────────────── */
.hero {
  padding-block: 4rem 3rem;
  background: linear-gradient(165deg, #0d1018 0%, #0b0c11 60%, #0f1118 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,189,15,0.06), transparent);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold-dim);
  border: 1px solid rgba(255,189,15,0.25);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead {
  font-size: 1.05rem;
  color: var(--fg-2);
  margin-bottom: 1.75rem;
  max-width: 60ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--fg-2); font-weight: 500; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #000;
}
.btn-primary:hover { background: var(--gold-hover); color: #000; }
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border-hi);
}
.btn-outline:hover { background: var(--bg-3); color: var(--fg); border-color: var(--fg-3); }
.btn-ghost {
  background: var(--bg-3);
  color: var(--fg);
}
.btn-ghost:hover { background: var(--bg-4); color: var(--fg); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ── Section ─────────────────────────────── */
.section { padding-block: 3rem; }
.section-alt { background: var(--bg-2); }
.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.section-title h2 { margin: 0; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

/* ── Cards ───────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .15s;
}
.card:hover { border-color: var(--border-hi); }
.card-sm { padding: 1rem 1.25rem; }
.card-gold {
  background: var(--gold-dim);
  border-color: rgba(255,189,15,0.2);
}

/* ── Grid layouts ────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

/* ── Mirror table ────────────────────────── */
.mirror-table-wrap { overflow-x: auto; }
.mirror-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mirror-table th {
  text-align: left;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--fg-3);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.mirror-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.mirror-table tr:last-child td { border-bottom: none; }
.mirror-table tr:hover td { background: rgba(255,255,255,0.02); }
.domain-cell { font-family: 'Space Grotesk', monospace; font-weight: 600; font-size: 0.95rem; }
.domain-cell .star { color: var(--gold); margin-left: 0.3rem; }
.mirror-table .btn { display: inline-flex; min-width: 80px; justify-content: center; }

/* ── Badges ──────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-green { background: var(--green-dim); color: var(--green); }
.badge-red   { background: var(--red-dim);   color: var(--red); }
.badge-amber { background: var(--amber-dim); color: var(--amber); }
.badge .dot  { width: 5px; height: 5px; background: currentColor; border-radius: 50%; }

/* ── Sport cards ─────────────────────────── */
.sport-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: all .15s;
}
.sport-card:hover {
  border-color: rgba(255,189,15,0.3);
  background: var(--bg-3);
  transform: translateY(-2px);
  color: var(--fg);
}
.sport-card .icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.sport-card h3 { font-size: 1rem; color: var(--fg); }
.sport-card p  { font-size: 0.82rem; color: var(--fg-2); line-height: 1.5; }

/* ── Schedule items ──────────────────────── */
.schedule-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s;
}
.schedule-item:hover { border-color: var(--border-hi); }
.schedule-sport-icon { font-size: 1.3rem; flex-shrink: 0; }
.schedule-match { flex: 1; min-width: 0; }
.schedule-match strong { font-size: 0.9rem; font-family: var(--font-head); display: block; margin-bottom: 0.1rem; }
.schedule-match small  { font-size: 0.78rem; color: var(--fg-2); }
.schedule-time {
  flex-shrink: 0;
  text-align: right;
}
.schedule-time .time-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  display: block;
}
.schedule-time .time-tz { font-size: 0.72rem; color: var(--fg-3); }
.live-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--red-dim);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}
.live-label .dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* ── Device cards ────────────────────────── */
.device-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.device-card .device-icon { font-size: 2.2rem; line-height: 1; }
.device-card h3 { font-size: 1rem; color: var(--fg); }
.device-card p  { font-size: 0.82rem; color: var(--fg-2); flex: 1; line-height: 1.5; }

/* ── Steps ───────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--gold-dim);
  border: 1px solid rgba(255,189,15,0.25);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-body { flex: 1; min-width: 0; }
.step-body strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.step-body p { font-size: 0.85rem; color: var(--fg-2); max-width: none; }
code {
  background: var(--bg-4);
  color: var(--gold);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 0.88em;
}

/* ── FAQ ─────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  list-style: none;
  transition: color .15s;
  user-select: none;
}
.faq-q:hover { color: var(--gold); }
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  color: var(--fg-3);
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.65;
}
.faq-a p { max-width: none; }
.faq-a a { color: var(--gold); }

/* ── Network grid ────────────────────────── */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.network-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  transition: all .15s;
}
.network-item:hover {
  border-color: rgba(255,189,15,0.25);
  background: var(--bg-3);
}
.network-item .domain {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}
.network-item .role {
  font-size: 0.8rem;
  color: var(--fg-2);
  line-height: 1.4;
}
.network-item.current { border-color: rgba(255,189,15,0.3); background: var(--gold-dim); }
.network-item.current .domain { color: var(--gold); }

/* ── Breadcrumb ──────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--fg-3);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--fg-2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--fg-3); }
.breadcrumb .current { color: var(--fg); }

/* ── Feature list ────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--fg-2);
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── League pills ────────────────────────── */
.league-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg-2);
  transition: all .15s;
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill-gold { background: var(--gold-dim); border-color: rgba(255,189,15,0.25); color: var(--gold); }

/* ── Info box ────────────────────────────── */
.info-box {
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--fg-2);
  margin-block: 1.25rem;
}
.info-box strong { color: var(--gold); }

/* ── Footer ──────────────────────────────── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 2.5rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-brand .logo-img { height: 28px; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.82rem; color: var(--fg-2); line-height: 1.6; max-width: 28ch; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-3);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: var(--fg-2); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--fg-3);
}
.footer-bottom a { color: var(--fg-3); }
.footer-bottom a:hover { color: var(--fg-2); }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats  { gap: 1.5rem; }
}
@media (max-width: 540px) {
  .footer-grid        { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links .hide-sm { display: none; }
  .hero               { padding-block: 2.5rem 2rem; }
  h1                  { font-size: 1.7rem; }
  .mirror-table td,
  .mirror-table th    { padding: 0.65rem 0.6rem; font-size: 0.82rem; }
  .mirror-table .hide-sm { display: none; }
}

/* ── Utility ─────────────────────────────── */
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--fg-2); }
.text-small   { font-size: 0.82rem; }
.mt-1         { margin-top: 0.5rem; }
.mt-2         { margin-top: 1rem; }
.mt-3         { margin-top: 1.5rem; }
.mb-1         { margin-bottom: 0.5rem; }
.mb-2         { margin-bottom: 1rem; }
.mb-3         { margin-bottom: 1.5rem; }
.flex-center  { display: flex; align-items: center; gap: 0.5rem; }
.sr-only      { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
