/* ============================================================
   REELIX.INFO — Shared Stylesheet v2  (Updated 2026)
   Dark streaming theme · content-first layout
   ============================================================ */

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

:root {
  --bg:        #15171c;
  --surface:   #1e2028;
  --surface2:  #272a38;
  --border:    #2e3245;
  --accent:    #e50914;
  --accent-dim:#9b0610;
  --gold:      #f5c518;
  --text:      #f0f0f0;
  --muted:     #9ca3af;
  --muted2:    #6b7280;
  --radius:    8px;
  --radius-lg: 14px;
  --max-w:     1200px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, #ffffff09 1px, #0000 1px),
    linear-gradient(#ffffff09 1px, #0000 1px);
  background-size: 56px 56px;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.75; }
strong { color: var(--text); font-weight: 600; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* --- HEADER / NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 23, 28, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 28px; width: auto; }

/* --- BRAND WORDMARK (matches reelix.ac) --- */
.brand {
  display: inline-flex; align-items: center; height: 1.75rem;
  font-family: Inter, Arial, sans-serif; font-size: 1.125rem; font-weight: 900;
  text-transform: uppercase; line-height: 1; letter-spacing: 0.12em;
  color: oklch(96.5% .004 264);
  text-shadow: 0 1px rgba(0,0,0,.35), 0 2px rgba(0,0,0,.5), 0 3px rgba(0,0,0,.65), 0 5px 10px rgba(0,0,0,.65);
  transition: transform .15s cubic-bezier(.4,0,.2,1);
}
.brand-ix { color: oklch(88% .012 250); }
@media (min-width: 640px) {
  .brand { height: 2rem; font-size: 1.25rem; letter-spacing: 0.18em; }
}

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

.nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }

.nav-cta { margin-left: auto; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff1a24; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted2); }
.btn-surface { background: var(--surface2); color: var(--text); }
.btn-surface:hover { background: #2f3452; }
.btn-lg { padding: 13px 28px; font-size: 1rem; }

/* --- HERO --- */
.hero {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(229,9,20,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(229,9,20,0.12);
  border: 1px solid rgba(229,9,20,0.28);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff6b72;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero-badge::before {
  content: '●';
  font-size: 0.6rem;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{ opacity:1 } 50%{ opacity:0.3 } }

.hero h1 { max-width: 680px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc { max-width: 560px; font-size: 1.05rem; margin-bottom: 36px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 48px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stat-num { font-size: 1.6rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.hero-stat-label { font-size: 0.8rem; color: var(--muted2); margin-top: 2px; }

/* --- BREADCRUMB --- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--muted2);
  padding: 14px 0; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--border); }

/* --- FEATURE GRID --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, background 0.2s;
}
.feature-card:hover { border-color: rgba(229,9,20,0.32); background: var(--surface2); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(229,9,20,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }

/* --- FAQ ACCORDION --- */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; background: transparent; border: none;
  color: var(--text); font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  text-align: left; padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:hover { background: var(--surface2); }
.faq-toggle { font-size: 1.2rem; color: var(--muted); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; padding: 0 20px; color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }

/* --- GENRE TAGS --- */
.genre-list { display: flex; flex-wrap: wrap; gap: 10px; }
.genre-tag {
  padding: 7px 16px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted); transition: all 0.15s;
}
.genre-tag:hover { background: rgba(229,9,20,0.1); border-color: rgba(229,9,20,0.38); color: var(--text); }

/* --- CONTENT TABLE --- */
.content-table {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 32px;
}
.content-table h4 { color: var(--muted2); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.content-table ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 6px; }
.content-table ol li { counter-increment: toc; display: flex; align-items: baseline; gap: 10px; font-size: 0.88rem; }
.content-table ol li::before { content: counter(toc,decimal-leading-zero); font-size: 0.72rem; color: var(--muted2); font-family: var(--font-mono); flex-shrink: 0; }
.content-table ol li a { color: var(--muted); }
.content-table ol li a:hover { color: var(--accent); }

/* --- ARTICLE PROSE --- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; margin-bottom: 16px; padding-top: 48px; border-top: 1px solid var(--border); }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; color: var(--text); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 20px; color: var(--muted); line-height: 1.8; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose a { color: #e87c80; text-decoration: underline; text-decoration-color: rgba(229,9,20,0.3); }
.prose a:hover { color: var(--accent); }
.prose .callout {
  background: rgba(229,9,20,0.07); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 24px 0;
  color: var(--muted); font-size: 0.92rem;
}
.prose .callout strong { color: var(--text); }

/* --- LAYOUT: SIDEBAR --- */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.sidebar-card h4 { margin-bottom: 14px; font-size: 0.85rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.07em; }
.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-links li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 0.88rem; color: var(--muted); transition: all 0.15s; }
.sidebar-links li a:hover { background: var(--surface2); color: var(--text); }
.sidebar-links li a span.icon { font-size: 1rem; }

/* --- WATCH CTA BANNER --- */
.watch-cta {
  background: linear-gradient(135deg, #1c0508 0%, #15171c 100%);
  border: 1px solid rgba(229,9,20,0.22);
  border-radius: var(--radius-lg); padding: 40px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 48px 0;
}
.watch-cta-text h3 { font-size: 1.4rem; margin-bottom: 8px; }
.watch-cta-text p { font-size: 0.92rem; max-width: 480px; }

/* --- STEP LIST --- */
.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-family: var(--font-mono); color: var(--muted2); flex-shrink: 0; margin-top: 2px;
}
.step-body h3 { margin-bottom: 6px; }

/* --- INFO TABLE --- */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.info-table th { text-align: left; padding: 12px 16px; background: var(--surface2); color: var(--muted2); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.info-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { color: var(--text); font-weight: 500; }
.badge-yes { display: inline-flex; align-items: center; gap: 4px; color: #4ade80; font-size: 0.82rem; }
.badge-no  { color: var(--muted2); font-size: 0.82rem; }

/* --- FOOTER --- */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.85rem; color: var(--muted2); margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--muted); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: var(--muted2); }
.footer-disclaimer { font-size: 0.75rem; color: var(--muted2); margin-top: 16px; line-height: 1.6; opacity: 0.7; }

/* --- SECTION HEADER --- */
.section-header { margin-bottom: 32px; }
.section-header h2 { margin-bottom: 8px; }
.section-header p { font-size: 0.95rem; }

/* --- UTILITIES --- */
.text-accent{color:var(--accent)} .text-muted{color:var(--muted)} .text-muted2{color:var(--muted2)}
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px}
.mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px} .mb-24{margin-bottom:24px} .mb-32{margin-bottom:32px}
.flex{display:flex} .flex-wrap{flex-wrap:wrap} .gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px}
.items-center{align-items:center} .justify-between{justify-content:space-between}

/* --- MOBILE NAV --- */
.nav-toggle { display:none; background:none; border:none; color:var(--text); font-size:1.4rem; cursor:pointer; margin-left:auto; }

@media (max-width:1024px) {
  .page-layout { grid-template-columns:1fr; }
  .sidebar { position:static; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .watch-cta { flex-direction:column; align-items:flex-start; }
}
@media (max-width:768px) {
  .section { padding:44px 0; }
  .nav-links { display:none; }
  .nav-links.open {
    display:flex; flex-direction:column;
    position:absolute; top:60px; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--border);
    padding:12px 20px 20px; gap:4px;
  }
  .nav-toggle { display:block; }
  .nav-cta { display:none; }
  .hero { padding:48px 0 40px; }
  .hero-stats { gap:20px; }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}
@media (max-width:480px) {
  .feature-grid { grid-template-columns:1fr; }
  h1 { font-size:1.7rem; }
  .watch-cta { padding:28px 22px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; }
}
