/* ============================================================
   FCTV33.CLOUD — Shared Stylesheet
   Primary accent: #ffbd0f (amber/gold) — matches fctv33.live
   ============================================================ */

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

:root {
  --gold:      #ffbd0f;
  --gold-dim:  #e0a500;
  --gold-glow: rgba(255,189,15,.18);
  --bg:        #0a0c10;
  --bg-2:      #12151c;
  --bg-3:      #1a1e28;
  --border:    rgba(255,255,255,.08);
  --fg:        #f0f0f0;
  --fg-2:      #9ca3af;
  --fg-3:      #6b7280;
  --green:     #22c55e;
  --red:       #ef4444;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(22px, 3.5vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
p { color: var(--fg-2); }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-desc {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,12,16,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -.02em;
}

.site-logo img {
  height: 36px;
  width: auto;
}

.site-logo span { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--fg);
  background: var(--bg-3);
  opacity: 1;
}

.nav-cta {
  background: var(--gold) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
}

.nav-cta:hover { opacity: .9 !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--fg);
  font-size: 18px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  transition: transform .15s, opacity .15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-secondary {
  background: var(--bg-3);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255,189,15,.12) 0%, transparent 70%);
  pointer-events: none;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,189,15,.12);
  border: 1px solid rgba(255,189,15,.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50% { opacity: .7; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }

.hero-desc {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 2px;
}

/* ── Cards ── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}

.card:hover {
  border-color: rgba(255,189,15,.3);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.card h3 { margin-bottom: 8px; font-size: 17px; }
.card p { font-size: 14px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── Status badge ── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status.active .status-dot  { background: var(--green); }
.status.blocked .status-dot { background: var(--red); }
.status.offline .status-dot { background: var(--fg-3); }
.status.active  { color: var(--green); }
.status.blocked { color: var(--red); }
.status.offline { color: var(--fg-3); }

/* ── Mirror / Domain table ── */
.mirror-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.mirror-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.mirror-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.mirror-table tr:last-child td { border-bottom: none; }
.mirror-table tr:hover td { background: var(--bg-3); }
.mirror-table td:first-child { font-weight: 600; color: var(--fg); font-family: monospace; font-size: 13px; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
  list-style: none;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}

details[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding-bottom: 20px;
  color: var(--fg-2);
  line-height: 1.75;
}

.faq-a a { color: var(--gold); }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-3);
  padding: 14px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--fg-3); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--fg-3); }
.breadcrumb .current { color: var(--fg-2); }

/* ── Step list ── */
.step-list { display: flex; flex-direction: column; gap: 24px; }

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h4 { margin-bottom: 6px; font-size: 17px; }
.step-body p { font-size: 14px; margin: 0; }

.code-block {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: monospace;
  font-size: 14px;
  color: var(--gold);
  margin-top: 10px;
  word-break: break-all;
}

/* ── Tags / Pills ── */
.tag {
  display: inline-block;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}

.tag.gold { background: rgba(255,189,15,.12); border-color: rgba(255,189,15,.3); color: var(--gold); }

/* ── Alert / Notice ── */
.alert {
  display: flex;
  gap: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

.alert-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.alert.tip { border-color: rgba(255,189,15,.3); background: rgba(255,189,15,.06); }
.alert.tip .alert-icon::after { content: '💡'; }
.alert.info .alert-icon::after { content: 'ℹ️'; }
.alert.warn { border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.06); }
.alert.warn .alert-icon::after { content: '⚠️'; }

/* ── Section divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Sports grid ── */
.sport-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
  cursor: default;
}

.sport-card:hover {
  border-color: rgba(255,189,15,.35);
  transform: translateY(-3px);
}

.sport-emoji { font-size: 36px; margin-bottom: 10px; }
.sport-name  { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.sport-desc  { font-size: 12px; color: var(--fg-3); }

/* ── Feature highlight ── */
.feature-highlight {
  background: linear-gradient(135deg, rgba(255,189,15,.1) 0%, rgba(255,189,15,.03) 100%);
  border: 1px solid rgba(255,189,15,.2);
  border-radius: 16px;
  padding: 40px;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  background: var(--bg-3);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--border);
}

.compare-table th.highlight { color: var(--gold); }

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--fg-2);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-3); }
.compare-table td:first-child { color: var(--fg); font-weight: 600; }
.compare-table .ck::before  { content: '✓'; color: var(--green); font-weight: 700; }
.compare-table .ex::before  { content: '✗'; color: var(--red); }
.compare-table .best { color: var(--gold); font-weight: 700; }

/* ── Footer ── */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--fg-3);
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--fg-3);
  transition: color .15s;
}

.footer-col ul a:hover { color: var(--fg); opacity: 1; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0;
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}

.page-header h1 { margin-bottom: 12px; }
.page-header h1 em { color: var(--gold); font-style: normal; }
.page-header .page-desc {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 600px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .feature-highlight { padding: 24px; }
  .step { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .mirror-table { font-size: 13px; }
  .mirror-table td, .mirror-table th { padding: 10px 10px; }
}
