/* ==========================================================================
   TOP8K — Design tokens
   Palette: void #08080a, panel #121216, panel-2 #1a1a20, red #e21f3a,
            red-glow #ff3d5a, gold-accent #d4a24c (used sparingly, ratings),
            text #f2f2f5, text-muted #9a9aa5, border rgba(255,255,255,.08)
   Type: display = Bebas Neue (condensed poster headline),
         body = Inter, mono/data = JetBrains Mono (refs, countdowns, prices)
   ========================================================================== */

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

:root{
  --void:#08080a;
  --panel:#121216;
  --panel-2:#1a1a20;
  --panel-3:#202027;
  --red:#e21f3a;
  --red-glow:#ff3d5a;
  --red-dim:#7a1424;
  --gold:#d4a24c;
  --text:#f2f2f5;
  --text-muted:#9a9aa5;
  --text-faint:#5c5c66;
  --border:rgba(255,255,255,.08);
  --border-strong:rgba(255,255,255,.14);
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-red: 0 8px 30px rgba(226,31,58,.35);
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--void);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-weight:800; letter-spacing:-.01em; }
p{ margin:0; }
.container{ max-width:1240px; margin:0 auto; padding:0 24px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline:2px solid var(--red-glow);
  outline-offset:2px;
  border-radius:4px;
}

/* Ambient background: faint watermark + firefly particles */
.ambient{
  position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}
.ambient::before{
  content:"TOP8K";
  position:absolute; top:8%; left:-4%;
  font-family:var(--font-display);
  font-size:22vw;
  color:rgba(226,31,58,.025);
  letter-spacing:.02em;
  white-space:nowrap;
}
.ambient::after{
  content:"TOP8K";
  position:absolute; bottom:2%; right:-6%;
  font-family:var(--font-display);
  font-size:16vw;
  color:rgba(255,255,255,.015);
  letter-spacing:.02em;
  white-space:nowrap;
}
.firefly{
  position:absolute; width:3px; height:3px; border-radius:50%;
  background:var(--red-glow);
  box-shadow:0 0 8px 2px rgba(255,61,90,.7);
  opacity:0;
  animation:firefly-life 9s ease-in-out infinite;
}
@keyframes firefly-life{
  0%{ opacity:0; transform:translateY(0) scale(.6); }
  15%{ opacity:.8; }
  50%{ opacity:.4; transform:translateY(-40px) scale(1); }
  85%{ opacity:.6; }
  100%{ opacity:0; transform:translateY(-90px) scale(.5); }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:700; font-size:15px;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-primary{
  background:linear-gradient(135deg, var(--red), #b3142a);
  color:#fff;
  box-shadow:var(--shadow-red);
}
.btn-primary:hover{ box-shadow:0 10px 36px rgba(226,31,58,.5); transform:translateY(-1px); }
.btn-ghost{
  background:rgba(255,255,255,.03);
  border-color:var(--border-strong);
  color:var(--text);
}
.btn-ghost:hover{ background:rgba(255,255,255,.07); }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.4; cursor:not-allowed; transform:none !important; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(16px);
  background:rgba(8,8,10,.72);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 24px;
  max-width:1240px; margin:0 auto;
}
.logo{
  font-family:var(--font-display);
  font-size:26px; letter-spacing:.03em;
}
.logo span{ color:var(--red); }
.nav-links{ display:flex; gap:32px; align-items:center; }
.nav-links a{
  font-size:14px; font-weight:600; color:var(--text-muted);
  transition:color .15s ease;
}
.nav-links a:hover{ color:var(--text); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; align-items:center; justify-content:center; flex-direction:column; gap:5px; width:56px; height:56px; background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:18px; color:var(--text); padding:0; }
.nav-toggle span{ display:block; width:26px; height:2px; border-radius:999px; background:var(--text); transition:transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width: 860px){
  .nav{ position:sticky; top:0; }
  .nav-inner{ position:relative; }
  .nav-links{
    position:absolute;
    top:calc(100% + 1px);
    left:0;
    right:0;
    z-index:49;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(8,8,10,.985);
    padding:0 24px;
    max-height:0;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    transform:none;
    transition:max-height .28s ease, opacity .2s ease, padding .28s ease, visibility .2s ease;
    border-bottom:1px solid transparent;
    box-shadow:0 18px 42px rgba(0,0,0,.38);
  }
  .nav-links.open{
    max-height:360px;
    opacity:1;
    visibility:visible;
    padding:8px 24px 14px;
    border-bottom-color:var(--border);
  }
  .nav-links li{ width:100%; }
  .nav-links a{
    display:block;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--border);
    font-size:16px;
    line-height:1.2;
  }
  .nav-links li:last-child a{ border-bottom:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding:64px 0 40px; z-index:1; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--red-glow);
  padding:6px 14px; border:1px solid rgba(226,31,58,.35); border-radius:999px;
  background:rgba(226,31,58,.08);
  margin-bottom:20px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--red-glow); box-shadow:0 0 8px var(--red-glow); }
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(40px, 6vw, 68px);
  line-height:.98;
  letter-spacing:.01em;
}
.hero h1 .accent{ color:var(--red); display:block; }
.hero p.lede{
  margin-top:20px; font-size:17px; color:var(--text-muted); max-width:480px;
}
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

.hero-visual{
  position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:10px;
  transform:rotate(1.5deg);
}
.hero-visual .poster{ grid-row: span 1; }
.hero-visual .poster:nth-child(1){ grid-row: span 2; }
.hero-visual .poster:nth-child(4){ grid-row: span 2; }

.poster{
  border-radius:var(--radius-sm);
  aspect-ratio:2/3;
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
  display:flex; align-items:flex-end; padding:10px;
}
.poster span{
  font-family:var(--font-display);
  font-size:15px; letter-spacing:.02em; line-height:1;
  color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.7);
}
.poster::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
}

/* Stat strip */
.stat-strip{
  margin-top:56px;
  display:grid; grid-template-columns:repeat(5,1fr);
  border:1px solid var(--border); border-radius:var(--radius-md);
  background:var(--panel);
  overflow:hidden;
}
.stat{
  padding:20px 16px;
  border-right:1px solid var(--border);
  display:flex; flex-direction:column; gap:4px;
}
.stat:last-child{ border-right:none; }
.stat b{ font-family:var(--font-mono); font-size:19px; color:var(--red-glow); }
.stat small{ color:var(--text-muted); font-size:12px; }

@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; transform:none; }
  .stat-strip{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-bottom:1px solid var(--border); }
}

/* ---------- Section shell ---------- */
.section{ position:relative; z-index:1; padding:72px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:28px; gap:16px; flex-wrap:wrap; }
.section-head h2{ font-family:var(--font-display); font-size:clamp(26px,3.4vw,38px); letter-spacing:.01em; }
.section-head p{ color:var(--text-muted); margin-top:6px; max-width:520px; }
.section-link{ font-size:13px; font-weight:700; color:var(--red-glow); }
.divider{ height:1px; background:var(--border); border:none; margin:0; }

/* ---------- Marquee (provider strip + channel ticker: signature motion) ---------- */
.marquee{ overflow:hidden; position:relative; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.marquee-track{ display:flex; gap:48px; width:max-content; animation:marquee 34s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
.provider{
  font-family:var(--font-display);
  font-size:26px; letter-spacing:.02em;
  color:var(--text-faint);
  display:flex; align-items:center;
  white-space:nowrap;
  transition:color .2s ease;
}
.provider:hover{ color:var(--text); }

.channel-ticker .marquee-track{ animation-duration:26s; gap:14px; }
.channel-pill{
  display:flex; align-items:center; gap:8px;
  padding:10px 18px; border:1px solid var(--border); border-radius:999px;
  background:var(--panel); white-space:nowrap; font-size:13px; font-weight:600; color:var(--text-muted);
}
.channel-pill .live-dot{ width:6px; height:6px; border-radius:50%; background:var(--red-glow); box-shadow:0 0 6px var(--red-glow); }

/* ---------- Poster rows ---------- */
.poster-row{
  display:flex; gap:14px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity;
  scrollbar-width:none;
}
.poster-row::-webkit-scrollbar{ display:none; }
.poster-row .poster{ min-width:160px; width:160px; flex:0 0 auto; scroll-snap-align:start; transition:transform .2s ease; }
.poster-row .poster:hover{ transform:translateY(-6px); }

/* ---------- Category grid (Live TV / global) ---------- */
.category-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
}
.category-card{
  border:1px solid var(--border); border-radius:var(--radius-md);
  background:var(--panel);
  padding:24px 16px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
}
.category-card:hover{ border-color:rgba(226,31,58,.4); transform:translateY(-3px); background:var(--panel-2); }
.category-card .icon{ font-size:26px; }
.category-card span{ font-weight:700; font-size:14px; }
@media (max-width: 860px){ .category-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.price-card{
  border:1px solid var(--border); border-radius:var(--radius-lg);
  background:var(--panel);
  padding:28px 22px;
  display:flex; flex-direction:column; gap:16px;
  position:relative;
}
.price-card.featured{ border-color:var(--red); box-shadow:var(--shadow-red); background:linear-gradient(160deg, var(--panel-2), var(--panel)); }
.price-card .badge{
  position:absolute; top:-12px; right:20px;
  background:var(--red); color:#fff; font-size:11px; font-weight:800;
  padding:5px 12px; border-radius:999px; letter-spacing:.04em;
}
.price-card h3{ font-family:var(--font-display); font-size:20px; letter-spacing:.03em; color:var(--text-muted); }
.price-card .price{ font-family:var(--font-mono); font-size:38px; font-weight:700; }
.price-card .price small{ font-size:14px; color:var(--text-muted); font-weight:500; }
.price-card ul{ display:flex; flex-direction:column; gap:8px; font-size:13px; color:var(--text-muted); flex:1; }
.price-card ul li{ display:flex; gap:8px; align-items:flex-start; }
.price-card ul li::before{ content:"✓"; color:var(--red-glow); font-weight:800; }
@media (max-width: 960px){ .pricing-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px){ .pricing-grid{ grid-template-columns:1fr; } }

/* ---------- Feature strip ---------- */
.feature-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.feature{ display:flex; gap:12px; align-items:flex-start; padding:16px; border:1px solid var(--border); border-radius:var(--radius-md); }
.feature .icon{ font-size:20px; }
.feature b{ display:block; font-size:14px; }
.feature small{ color:var(--text-muted); font-size:12.5px; }
@media (max-width: 860px){ .feature-strip{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Builder (Build Your Package wizard) ---------- */
.builder{
  border:1px solid var(--border); border-radius:var(--radius-lg);
  background:var(--panel);
  padding:32px;
  max-width:760px; margin:0 auto;
}
.builder-steps{ display:flex; align-items:center; margin-bottom:32px; }
.builder-step{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; border-radius:50%;
  border:1px solid var(--border-strong);
  font-family:var(--font-mono); font-size:12px; font-weight:700;
  color:var(--text-faint); background:var(--void);
  flex:0 0 auto;
  transition:all .2s ease;
}
.builder-step.done{ background:var(--red); border-color:var(--red); color:#fff; }
.builder-step.active{ border-color:var(--red-glow); color:var(--red-glow); box-shadow:0 0 0 4px rgba(226,31,58,.15); }
.builder-line{ flex:1; height:1px; background:var(--border-strong); }
.builder-line.done{ background:var(--red); }

.builder-panel h3{ font-family:var(--font-display); font-size:26px; letter-spacing:.01em; margin-bottom:6px; }
.builder-panel > p.hint{ color:var(--text-muted); font-size:14px; margin-bottom:22px; }

.choice-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.choice-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.choice{
  border:1px solid var(--border); border-radius:var(--radius-md);
  padding:16px 12px; text-align:center; background:var(--void);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--text-muted);
  transition:all .15s ease;
}
.choice .icon{ font-size:22px; }
.choice:hover{ border-color:var(--border-strong); color:var(--text); }
.choice.selected{ border-color:var(--red); color:var(--text); background:rgba(226,31,58,.08); box-shadow:0 0 0 1px var(--red) inset; }

.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; color:var(--text-muted); margin-bottom:8px; }
.field select, .field input{
  width:100%; padding:13px 14px; border-radius:var(--radius-sm);
  border:1px solid var(--border-strong); background:var(--void); color:var(--text);
  font-family:var(--font-body); font-size:14px;
}

.builder-nav{ display:flex; justify-content:space-between; margin-top:28px; gap:12px; }

.summary-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:24px; }
.summary-row{ display:flex; justify-content:space-between; font-size:14px; padding-bottom:12px; border-bottom:1px solid var(--border); }
.summary-row span:first-child{ color:var(--text-muted); }
.summary-row span:last-child{ font-weight:700; }
.summary-row.ref span:last-child{ font-family:var(--font-mono); color:var(--red-glow); }

.total-box{
  display:flex; align-items:baseline; justify-content:space-between;
  padding:20px; border-radius:var(--radius-md); background:var(--void);
  border:1px solid var(--border); margin-bottom:20px;
}
.total-box .label{ font-size:13px; color:var(--text-muted); }
.total-box .amount{ font-family:var(--font-mono); font-size:32px; font-weight:700; color:var(--red-glow); }

/* ---------- FAQ ---------- */
.faq{ max-width:800px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.faq-item{ border:1px solid var(--border); border-radius:var(--radius-md); background:var(--panel); overflow:hidden; }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:18px 20px; background:none; border:none; color:var(--text); font-weight:700; font-size:15px; text-align:left;
}
.faq-q .plus{ font-family:var(--font-mono); color:var(--red-glow); transition:transform .2s ease; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p{ padding:0 20px 18px; color:var(--text-muted); font-size:14px; line-height:1.6; }

/* ---------- Footer ---------- */
.footer{ border-top:1px solid var(--border); padding:48px 0 90px; position:relative; z-index:1; }
.footer-grid{ display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer-brand p{ color:var(--text-muted); font-size:13px; max-width:280px; margin-top:10px; }
.footer-col b{ display:block; margin-bottom:12px; font-size:13px; }
.footer-col a{ display:block; color:var(--text-muted); font-size:13px; padding:4px 0; }
.footer-col a:hover{ color:var(--text); }
.footer-bottom{
  margin-top:36px; padding-top:20px; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12px; color:var(--text-faint);
}
.footer-disclaimer{ max-width:820px; font-size:11.5px; color:var(--text-faint); margin-top:14px; line-height:1.6; }

/* Sticky mobile WhatsApp bar */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  display:none;
  padding:12px 16px; background:rgba(8,8,10,.9); backdrop-filter:blur(12px);
  border-top:1px solid var(--border);
}
@media (max-width: 640px){ .sticky-cta{ display:block; } .section{ padding:52px 0; } .builder{ padding:22px; } .choice-grid{ grid-template-columns:repeat(2,1fr); } }

/* Toast */
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--panel-2); border:1px solid var(--border-strong); border-radius:999px;
  padding:12px 22px; font-size:13px; font-weight:600; z-index:100;
  opacity:0; pointer-events:none; transition:all .25s ease;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }


/* ==========================================================================
   MEDIA RESTORE — NEWEST APPROVED ASSETS ONLY
   Base TOP8K theme/layout intentionally unchanged.
   ========================================================================== */
.poster-photo{background:#0d0e12;}
.poster-photo > img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
}
.poster-photo > span{position:relative;z-index:2;}
.poster-photo::after{z-index:1;}

.provider{
  min-width:150px; height:58px; justify-content:center;
}
.provider img{
  width:150px; height:58px; object-fit:contain; display:block;
  max-width:100%;
}

.channel-pill{
  min-width:118px; height:54px; justify-content:center;
  padding:8px 14px;
}
.channel-pill img{
  width:88px; max-height:31px; object-fit:contain; display:block;
  filter:brightness(0) invert(1);
  opacity:.92;
}

.category-card.category-photo{
  position:relative; overflow:hidden; min-height:180px;
  padding:0; text-align:left; align-items:stretch; justify-content:flex-end;
  background:#0d0f13;
}
.category-card.category-photo > img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover;
}
.category-card.category-photo::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.02) 25%,rgba(0,0,0,.18) 52%,rgba(5,6,8,.94) 100%);
}
.category-overlay{
  position:relative; z-index:2; display:flex; flex-direction:column;
  align-items:flex-start; gap:3px; padding:16px;
}
.category-overlay small{
  color:var(--red-glow); font-size:10px; font-weight:800;
  letter-spacing:.12em;
}
.category-overlay span{font-size:14px;font-weight:800;color:#fff;}

.panel-access{
  margin-left:8px; color:var(--text-faint); opacity:.45;
  font-size:11px; text-decoration:none; transition:.2s;
}
.panel-access:hover{opacity:1;color:var(--text);}
.footer-meta{display:inline-flex;align-items:center;}

@media(max-width:640px){
  .provider{min-width:124px;height:50px;}
  .provider img{width:124px;height:50px;}
  .channel-pill{min-width:100px;height:48px;}
  .channel-pill img{width:74px;max-height:27px;}
  .category-card.category-photo{min-height:145px;}
}


/* Mobile-only fixes requested */
.choice.choice-type{min-height:122px;justify-content:center;gap:10px;padding:20px 14px;}
.choice.choice-type .choice-title{font-size:22px;font-family:var(--font-display);letter-spacing:.02em;color:var(--text);line-height:1;}
.choice.choice-type .choice-sub{font-size:12px;color:var(--text-muted);font-weight:500;line-height:1.4;}
.choice.choice-type.selected{background:rgba(226,31,58,.08);border-color:var(--red);box-shadow:0 0 0 1px var(--red) inset;}
.hero-visual .poster{min-height:0;}
@media (max-width: 860px){
  .nav-inner{padding:14px 18px;}
  .nav-links{padding-left:24px;padding-right:24px;}
  .nav-links a{display:block;}
  .hero-visual{grid-template-columns:repeat(2,1fr); gap:12px;}
  .hero-visual .poster{aspect-ratio:0.72/1;}
  .hero-visual .poster:nth-child(1), .hero-visual .poster:nth-child(4){grid-row:span 1;}
}
