/* =============================================================
   IPTV Smarters Plus — Global Stylesheet
   Dark premium streaming theme · Mobile-first · USA market
   ============================================================= */

/* ---------- Design Tokens · Premium Black & Gold ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #0a0a0a;        /* deep black background */
  --bg-secondary: #141414;      /* card/section backgrounds */
  --bg: #0a0a0a;                /* legacy alias → primary */
  --bg-elevated: #1c1c1c;       /* elevated cards, modals */
  --bg-card: rgba(255, 255, 255, 0.03);   /* glass morphism cards */
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.03);

  /* Gold accent system */
  --gold-primary: #d4af37;      /* main gold accent */
  --gold-light: #f5d576;        /* lighter gold for hover */
  --gold-dark: #a8841f;         /* darker gold for borders/shadows */
  --gold-gradient: linear-gradient(135deg, #f5d576 0%, #d4af37 50%, #a8841f 100%);

  /* Emerald accent — reserved for the Annual "Best Value" plan only */
  --emerald: #10b981;
  --emerald-light: #34d399;
  --emerald-dark: #0b7a55;
  --emerald-gradient: linear-gradient(135deg, #34d399 0%, #10b981 55%, #0b7a55 100%);

  /* Legacy accent aliases → all repointed to gold so every existing
     var(--blue)/var(--green) reference across the site becomes gold */
  --blue: #d4af37;
  --blue-light: #f5d576;
  --green: #d4af37;
  --green-light: #f5d576;
  --gradient-blue: var(--gold-gradient);
  --gradient-green: var(--gold-gradient);

  /* Borders */
  --border-color: rgba(212, 175, 55, 0.2);   /* subtle gold borders */
  --border: rgba(212, 175, 55, 0.12);
  --border-strong: rgba(212, 175, 55, 0.28);

  /* Text */
  --white: #ffffff;
  --text-primary: #ffffff;      /* pure white headings */
  --text-secondary: #b8b8b8;    /* gray body text */
  --text-muted: #7a7a7a;        /* subtle/disabled text */
  --gray: #b8b8b8;              /* legacy alias */
  --gray-dim: #7a7a7a;          /* legacy alias */

  /* Hero ambient gold glow */
  --gradient-hero: radial-gradient(1200px 600px at 70% -10%, rgba(212, 175, 55, 0.18), transparent 60%),
                   radial-gradient(900px 500px at 10% 10%, rgba(212, 175, 55, 0.08), transparent 55%);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow-blue: 0 8px 30px rgba(212, 175, 55, 0.3);
  --shadow-glow-green: 0 8px 30px rgba(212, 175, 55, 0.3);
  --shadow-glow-gold: 0 8px 30px rgba(212, 175, 55, 0.35);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --maxw: 1200px;
  --nav-h: 72px;

  --font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 { color: var(--white); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; position: relative; }
.section-sm { padding: 36px 0; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; color: var(--blue-light); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-sub { max-width: 640px; margin: 0 auto 48px; font-size: 1.05rem; }
.section-sub.left { margin-left: 0; }
.gradient-text {
  background: var(--gradient-blue); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.gradient-text-green {
  background: var(--gradient-green); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 0.98rem;
  color: #fff; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
/* Primary CTA — gold gradient with dark text for max contrast */
.btn-green, .btn-blue {
  background: var(--gold-gradient); box-shadow: var(--shadow-glow-gold);
  color: #0a0a0a; font-weight: 800;
}
.btn-green:hover, .btn-blue:hover { filter: brightness(1.06); box-shadow: 0 12px 40px rgba(212,175,55, 0.5); }
/* Secondary / outline — gold border, gold text, fills gold on hover */
.btn-ghost {
  background: transparent; border: 1.5px solid var(--gold-primary); color: var(--gold-light);
}
.btn-ghost:hover {
  background: var(--gold-gradient); border-color: var(--gold-primary);
  color: #0a0a0a; box-shadow: var(--shadow-glow-gold);
}
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: var(--promo-h, 0); left: 0; right: 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,10, 0.8); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; color: #fff; }
.logo img { height: 48px; width: auto; display: block; transition: transform 0.3s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.footer-brand .logo img { height: 60px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--gray); font-weight: 600; font-size: 0.95rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px;
  background: var(--green); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--bg);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px;
  background: var(--bg-card); border: 1px solid var(--border-strong); font-size: 0.85rem;
  font-weight: 600; color: var(--green-light); margin-bottom: 26px;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.6);} 50% { box-shadow: 0 0 0 8px rgba(212,175,55,0);} }

/* ---------- Tilted infinite poster wall ---------- */
.hero-grid {
  position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  display: flex; gap: 16px; justify-content: center;
  /* oversize + tilt so the scrolling columns read like the HBO Max wall */
  width: 150%; height: 150%; left: -25%; top: -25%;
  padding: 0 8px;
  transform: rotate(-5deg) scale(1.06);
  transform-origin: center;
  opacity: 0; transition: opacity 0.8s var(--ease);
}
.hero-grid.is-ready { opacity: 1; }
.hgrid-col {
  flex: 1 1 0%; min-width: 0; max-width: 220px;
  display: flex; flex-direction: column;
  will-change: transform;
  animation: hgrid-up var(--dur, 60s) linear infinite;
}
.hgrid-col.is-down { animation-name: hgrid-down; }
.hgrid-card {
  position: relative; flex: 0 0 auto;
  width: 100%; aspect-ratio: 2 / 3;
  /* uniform per-card slot (incl. last) so a -50% loop is perfectly seamless */
  margin-bottom: 16px;
  border-radius: 10px; overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.hgrid-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.02);
}
/* track is duplicated, so -50% lands on an identical frame = seamless loop */
@keyframes hgrid-up   { from { transform: translateY(0); }      to { transform: translateY(-50%); } }
@keyframes hgrid-down { from { transform: translateY(-50%); }   to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hgrid-col { animation: none; }
}

/* Legibility overlay + foreground copy */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(115% 95% at 50% 45%, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.48) 38%, rgba(10,10,10,0.22) 62%, rgba(10,10,10,0.55) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.08) 30%, rgba(10,10,10,0.08) 70%, var(--bg) 100%),
    var(--gradient-hero);
}
.hero-copy { position: relative; z-index: 3; max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy h1 { font-size: clamp(2.1rem, 6vw, 4.1rem); margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0,0,0,0.55); line-height: 1.18; }
/* Gold tagline (line 2) sits smaller than the brand line, on phone & desktop */
.hero-copy h1 .gradient-text { display: inline-block; font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 700; margin-top: 10px; white-space: nowrap; }
.hero-copy p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin-bottom: 36px; color: #d3dae8; margin-left: auto; margin-right: auto; max-width: 620px; }
.hero-copy p.lead-first { margin-bottom: 16px; }
/* Highlighted keywords in description copy */
.hero-copy .lead strong, .page-head p strong { color: #fff; font-weight: 800; }
.hero-cta { justify-content: center; }
.hero .badge-pill { backdrop-filter: blur(6px); }
.hero-copy .live-viewers { justify-content: center; }

/* ---------- Trusted / Stats bar ---------- */
.stats-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.stat { flex: 1 1 0; min-width: 130px; text-align: center; padding: 26px 16px; }
.stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; }
.stat .num .gradient-text { display: inline; }
.stat .label { font-size: 0.92rem; color: var(--gray); margin-top: 4px; }

/* ---------- Glass cards / Features ---------- */
.glass {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.glass:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--bg-card-hover); box-shadow: var(--shadow-md); }

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

.feature-card { padding: 32px 26px; text-align: center; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.4rem; color: #0a0a0a; margin: 0 auto 18px;
  background: linear-gradient(135deg, #f5d576 0%, #d4af37 100%);
  border: 0;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  transition: filter 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover .feature-icon { filter: brightness(1.08); box-shadow: 0 6px 26px rgba(212, 175, 55, 0.4); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.96rem; }

/* ---------- Devices (auto-scrolling marquee) ---------- */
.device-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.device-track { display: flex; width: max-content; animation: device-scroll 32s linear infinite; }
.device-marquee:hover .device-track { animation-play-state: paused; }
.device-track .device-chip { flex: 0 0 auto; min-width: 140px; max-width: none; margin-right: 18px; }
@keyframes device-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.device-chip {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 18px;
}
.device-chip i { font-size: 2.1rem; color: var(--blue-light); transition: 0.3s; }
.device-chip:hover i { color: var(--green); transform: scale(1.1); }
.device-chip span { font-size: 0.9rem; font-weight: 600; color: var(--white); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .device-track { animation: none; } }
@media (max-width: 768px) {
  /* Exactly 3 chips per screen: (viewport - container padding) / 3, minus the 18px gap */
  .device-track { animation-duration: 14s; }
  .device-track .device-chip { min-width: 0; width: calc((100vw - 40px) / 3 - 18px); padding: 18px 8px; }
  .device-chip i { font-size: 1.7rem; }
  .device-chip span { font-size: 0.75rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 480px) {
  .device-track .device-chip { width: calc((100vw - 32px) / 3 - 18px); }
}

/* ---------- Pricing ---------- */
.currency-note {
  max-width: 760px; margin: 0 auto 40px; padding: 16px 26px;
  background: var(--gold-gradient); color: #0a0a0a;
  border-radius: var(--radius); font-weight: 700; font-size: 1.02rem; line-height: 1.55;
  box-shadow: var(--shadow-glow-gold);
}
.currency-note strong { font-weight: 800; }
/* Anchor target (Claim Your Best Deal → Annual) clears the fixed nav */
#annual-plan { scroll-margin-top: 100px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; padding-top: 18px; }
.pricing-grid.has-lifetime { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  padding: 38px 26px 30px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); }

/* ---- Highlight tiers · clear visual hierarchy ---- */
/* 6 Months — popular */
.price-card.popular {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(212,175,55,0.07), transparent 42%);
  box-shadow: var(--shadow-glow-gold);
}
/* Annual — best value: distinct EMERALD panel to stand apart from the gold tiers */
.price-card.best {
  border: 1.5px solid var(--emerald);
  background: linear-gradient(180deg, rgba(16,185,129,0.20), rgba(16,185,129,0.06) 55%, rgba(255,255,255,0.02));
  box-shadow: 0 14px 44px rgba(0,0,0,0.5), 0 0 28px rgba(16,185,129,0.32);
  transform: scale(1.04);
  z-index: 2;
}
.price-card.best:hover { transform: scale(1.04) translateY(-6px); }
.price-card.best .plan-name { color: var(--emerald-light); }
.price-card.best .price-note { background: rgba(16,185,129,0.14); border-color: rgba(16,185,129,0.4); color: var(--emerald-light); }
.price-card.best .price-features i { color: var(--emerald-light); }
.price-card.best .plan-foot { color: var(--emerald-light); }
.price-card.best .plan-foot i { color: var(--emerald); }
.price-card.best .btn { background: var(--emerald-gradient); box-shadow: 0 8px 30px rgba(16,185,129,0.32); color: #03291c; }
.price-card.best .btn:hover { filter: brightness(1.06); box-shadow: 0 12px 40px rgba(16,185,129,0.5); }
/* Lifetime — premium hero: deepest gold panel, biggest statement */
.price-card.lifetime {
  border: 2px solid var(--gold-light);
  background: linear-gradient(180deg, rgba(212,175,55,0.30), rgba(168,132,31,0.10) 55%, rgba(255,255,255,0.02));
  box-shadow: 0 0 0 1px rgba(212,175,55,0.35), 0 26px 62px rgba(212,175,55,0.3);
  transform: scale(1.055);
  z-index: 3;
}
.price-card.lifetime:hover { transform: scale(1.055) translateY(-6px); }
.price-card.lifetime .price {
  background: var(--gold-gradient); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}

.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px;
  border-radius: 50px; font-size: 0.76rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; white-space: nowrap; box-shadow: var(--shadow-glow-gold);
}
.price-badge.popular { background: var(--bg-elevated); color: var(--gold-light); border: 1px solid var(--gold-primary); box-shadow: none; }
.price-badge.best { background: var(--emerald-gradient); color: #03291c; box-shadow: 0 8px 30px rgba(16,185,129,0.35); }
.price-badge.lifetime { background: var(--gold-gradient); color: #0a0a0a; }
.price-card .plan-name { font-size: 1.05rem; color: var(--gold-light); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 4px; }
.price-card .plan-term { font-size: 0.82rem; color: var(--gray); font-weight: 600; margin-bottom: 12px; }
/* Reassurance label pinned to the bottom of standout plans */
.plan-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 0.86rem; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--gold-light);
}
.plan-foot i { color: var(--gold-primary); }
.price-card .price { font-size: 3.1rem; font-weight: 800; color: #fff; line-height: 1; }
.price-card .price small { font-size: 1rem; color: var(--gray); font-weight: 600; }
/* per-month / one-time shown as a clear pill */
.price-card .price-note {
  display: inline-flex; align-self: flex-start; align-items: center;
  background: rgba(212,175,55,0.12); border: 1px solid var(--border-color);
  color: var(--gold-light); font-weight: 700; font-size: 0.82rem;
  padding: 4px 13px; border-radius: 50px; margin: 14px 0 8px;
}
.price-card .save { font-size: 0.88rem; color: var(--gray); margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
/* Premium plan CTA buttons */
.price-card .btn {
  position: relative; overflow: hidden; padding: 16px 26px; font-size: 1rem;
  letter-spacing: 0.01em; margin-top: 4px;
}
.price-card .btn i { font-size: 0.85rem; transition: transform 0.28s var(--ease); }
.price-card .btn:hover i { transform: translateX(5px); }
.price-card .btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); pointer-events: none; transition: left 0.65s var(--ease);
}
.price-card .btn:hover::after { left: 150%; }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; margin-bottom: 28px; flex: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.96rem; }
.price-features i { color: var(--green); font-size: 0.9rem; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cat-track { display: flex; width: max-content; animation: device-scroll 15s linear infinite; }
.cat-marquee:hover .cat-track { animation-play-state: paused; }
.cat-track .cat-card { flex: 0 0 auto; width: 220px; margin-right: 18px; }
@media (prefers-reduced-motion: reduce) { .cat-track { animation: none; } }
@media (max-width: 768px) {
  .cat-track { animation-duration: 8s; }
  .cat-track .cat-card { width: calc((100vw - 40px) / 2 - 18px); }
}
.cat-card { padding: 26px 20px; text-align: center; }
.cat-card i { font-size: 1.8rem; color: var(--blue-light); margin-bottom: 12px; }
.cat-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.cat-card p { font-size: 0.85rem; color: var(--gray-dim); }

/* ---------- Article figures ---------- */
.article-figure { margin: 0 0 28px; }
.article-figure img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.18);
}
.article-figure--hero { margin-bottom: 36px; }
.article-figure--thumb img { aspect-ratio: 3 / 2; object-position: center top; }
.article-figure figcaption {
  margin-top: 10px; font-size: 0.85rem; color: var(--gray-dim);
  text-align: center; line-height: 1.5;
}

/* ---------- Limited-time offer bar (slim scrolling loop) ---------- */
body.has-promo { --promo-h: 38px; }
.promo-bar { display: none; }
body.has-promo .promo-bar {
  display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: 38px; overflow: hidden; background: var(--gold-gradient);
}
.promo-bar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 56px; background: linear-gradient(90deg, transparent, #d4af37 65%); pointer-events: none; z-index: 1; }
.promo-link { display: block; height: 38px; }
.promo-track { display: flex; width: max-content; height: 38px; align-items: center; animation: device-scroll 30s linear infinite; }
.promo-bar:hover .promo-track { animation-play-state: paused; }
.promo-item { white-space: nowrap; padding: 0 36px; font-size: 0.85rem; font-weight: 700; color: #0a0a0a; display: inline-flex; align-items: center; gap: 8px; }
.promo-item i { font-size: 0.78rem; }
.promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: 0; color: #0a0a0a; font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: 0.7; padding: 0; }
.promo-close:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none; } }
@media (max-width: 600px) { .promo-item { font-size: 0.78rem; padding: 0 26px; } }

/* ---------- Pricing urgency + trust ---------- */
.offer-urgency { margin: 22px auto 0; max-width: 520px; }
.offer-urgency p { color: var(--gold-light); font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.offer-urgency p i { color: var(--gold-primary); }
.pay-trust { text-align: center; margin-top: 26px; font-size: 0.86rem; color: var(--gray-dim); font-weight: 600; }
.pay-trust i { color: var(--gold-light); margin: 0 1px; }
.pay-trust i.fa-lock { color: var(--green); }

/* ---------- Internal links hub ---------- */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.guides-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; }
.guides-col h3 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.guides-col h3 i { color: var(--gold-primary); }
.guides-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guides-col a { color: var(--gray); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s var(--ease), gap 0.2s var(--ease); }
.guides-col a i { color: var(--gold-primary); font-size: 0.72rem; transition: transform 0.2s var(--ease); }
.guides-col a:hover { color: var(--gold-light); }
.guides-col a:hover i { transform: translateX(3px); }
@media (max-width: 768px) { .guides-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { padding: 28px 26px; }
.stars { color: #ffc83d; margin-bottom: 14px; font-size: 0.95rem; letter-spacing: 2px; }
.testi-card p { font-size: 0.98rem; margin-bottom: 18px; color: var(--white); opacity: 0.92; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #0a0a0a; background: var(--gold-gradient); font-size: 1rem;
  overflow: hidden; flex: 0 0 auto; border: 2px solid var(--gold-primary);
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-author .name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.testi-author .loc { font-size: 0.82rem; color: var(--gray-dim); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; color: #fff; font-weight: 700; font-size: 1.02rem;
}
.faq-q i { color: var(--blue-light); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; font-size: 0.97rem; }
.faq-item.open .faq-a { max-height: 820px; }

/* ---------- Two-column FAQ (homepage) ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1000px; margin: 0 auto; align-items: start; }
.faq-grid .faq-list { max-width: none; margin: 0; }
.faq-grid .faq-item { background: var(--bg-elevated); border: 1px solid rgba(212, 175, 55, 0.2); }
.faq-grid .faq-q i { color: var(--gold-light); }
.faq-grid .faq-item.open { border-color: var(--gold-primary); border-left: 3px solid var(--gold-primary); background: linear-gradient(180deg, rgba(212, 175, 55, 0.07) 0%, rgba(28, 28, 28, 0.6) 100%); }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
  border: 1px solid var(--gold-primary); border-radius: var(--radius-lg);
  padding: 60px 40px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-glow-gold);
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 120%, rgba(212,175,55,0.22), transparent 60%),
              radial-gradient(500px 260px at 15% -10%, rgba(212,175,55,0.12), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: 0.95rem; margin: 16px 0 20px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--gray); transition: 0.3s;
}
.footer-social a:hover { background: var(--gold-gradient); color: #0a0a0a; border-color: var(--gold-primary); transform: translateY(-3px); box-shadow: var(--shadow-glow-gold); }
.footer-col h4 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.93rem; color: var(--gray); }
.footer-col a:hover { color: var(--green-light); }
.footer-pay { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 24px 0; }
.footer-pay i { font-size: 1.9rem; color: var(--gray-dim); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; text-align: center; }
.footer-bottom .copy { font-size: 0.9rem; }
.footer-bottom .disclaimer { font-size: 0.78rem; color: var(--gray-dim); max-width: 760px; margin: 14px auto 0; line-height: 1.6; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 10px; margin-top: 16px; max-width: 320px; }
.newsletter input {
  flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-card);
  border: 1px solid var(--border-strong); color: #fff; font-size: 0.9rem; min-width: 0;
}
.newsletter input::placeholder { color: var(--gray-dim); }
.newsletter button { padding: 12px 18px; border-radius: var(--radius-sm); background: var(--green); color: #0a0a0a; font-weight: 700; }

/* ---------- Forms ---------- */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong); color: #fff; font-size: 0.98rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: var(--gray-dim); }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(212,175,55,0.2); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23a0a8b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-note { font-size: 0.82rem; color: var(--gray-dim); margin-top: 14px; text-align: center; }
.form-success { display: none; background: rgba(212,175,55,0.12); border: 1px solid var(--green); border-radius: var(--radius-sm); padding: 16px; color: var(--green-light); font-weight: 600; margin-top: 16px; }
.form-success.show { display: block; }

/* ---------- Trust badges ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.trust-badge { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--white); }
.trust-badge i { color: var(--green); font-size: 1.3rem; }

/* ---------- Page header (interior pages) ---------- */
.page-head { padding: calc(var(--nav-h) + 60px) 0 50px; text-align: center; background: var(--gradient-hero); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-head p { max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-dim); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue-light); }

/* ---------- Channels page ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 14px; }
.filter-btn {
  padding: 9px 20px; border-radius: 50px; background: var(--bg-card); border: 1px solid var(--border-strong);
  color: var(--gray); font-weight: 600; font-size: 0.9rem; transition: 0.25s;
}
.filter-btn:hover { color: #fff; border-color: var(--blue); }
.filter-btn.active { background: var(--gold-gradient); color: #0a0a0a; border-color: transparent; }
.search-wrap { max-width: 480px; margin: 0 auto 36px; position: relative; }
.search-wrap i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-dim); }
.search-wrap input { width: 100%; padding: 14px 18px 14px 46px; border-radius: 50px; background: var(--bg-card); border: 1px solid var(--border-strong); color: #fff; font-size: 0.98rem; }
.search-wrap input:focus { outline: none; border-color: var(--blue); }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.channel-card {
  padding: 16px 18px; display: flex; align-items: center; gap: 12px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border); transition: 0.25s;
}
.channel-card:hover { border-color: var(--blue); background: var(--bg-card-hover); transform: translateY(-3px); }
.channel-logo { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; color: #0a0a0a; background: var(--gold-gradient); flex-shrink: 0; }
.channel-card .ch-name { font-size: 0.92rem; font-weight: 600; color: #fff; }
.channel-card .ch-cat { font-size: 0.75rem; color: var(--gray-dim); }
.cat-section h3 { font-size: 1.4rem; margin: 40px 0 18px; display: flex; align-items: center; gap: 10px; }
.cat-section h3 i { color: var(--green); }
.no-results { text-align: center; padding: 40px; color: var(--gray-dim); display: none; }

/* ---------- Blog ---------- */
.featured-article { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; margin-bottom: 50px; }
.featured-article .thumb { min-height: 340px; position: relative; }
.featured-article .body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-article h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 14px 0 14px; }
.cat-badge { display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(212,175,55,0.18); color: var(--blue-light); align-self: flex-start; }
.article-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--gray-dim); margin-top: 16px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-card .thumb { aspect-ratio: 3 / 2; position: relative; }
.blog-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.18rem; margin: 12px 0 10px; line-height: 1.35; }
.blog-card p { font-size: 0.92rem; flex: 1; }
.thumb-gradient {
  width: 100%; height: 100%; position: absolute; inset: 0;
  display: grid; place-items: center; color: rgba(245,213,118,0.92); font-size: 2.4rem;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* Refined charcoal→gold gradients — varied angle/tone, premium & on-brand */
.tg-1 { background: linear-gradient(135deg, #0a0a0a, #a8841f); }
.tg-2 { background: linear-gradient(135deg, #141414, #d4af37); }
.tg-3 { background: linear-gradient(160deg, #1c1c1c, #a8841f); }
.tg-4 { background: linear-gradient(120deg, #0a0a0a, #d4af37); }
.tg-5 { background: linear-gradient(145deg, #1c1c1c, #f5d576); }
.tg-6 { background: linear-gradient(135deg, #141414, #a8841f); }
.tg-7 { background: linear-gradient(160deg, #0a0a0a, #d4af37); }

/* ---------- Article page ---------- */
.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--blue-light); }
.toc ul { display: flex; flex-direction: column; gap: 10px; }
.toc a { font-size: 0.9rem; color: var(--gray); }
.toc a:hover { color: #fff; }
.article-body { max-width: 760px; overflow-wrap: break-word; word-wrap: break-word; }
.article-body a { overflow-wrap: anywhere; }
.article-body p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { font-size: 1.7rem; margin: 40px 0 16px; scroll-margin-top: 90px; }
.article-body h3 { font-size: 1.3rem; margin: 28px 0 12px; }
.article-body ul.bullets { margin: 0 0 20px 0; display: flex; flex-direction: column; gap: 10px; }
.article-body ul.bullets li { display: flex; gap: 10px; font-size: 1.02rem; }
.article-body ul.bullets i { color: var(--green); margin-top: 5px; }
.article-hero-img { height: 360px; border-radius: var(--radius-lg); margin-bottom: 36px; }
.inline-cta { background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.12)); border: 1px solid var(--blue); border-radius: var(--radius); padding: 30px; margin: 34px 0; text-align: center; }
.inline-cta h3 { margin-bottom: 10px; }
.inline-cta p { margin-bottom: 20px; }
.author-bio { display: flex; gap: 18px; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin: 40px 0; }
.author-bio .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-green); display: grid; place-items: center; font-weight: 800; color: #0a0a0a; font-size: 1.4rem; flex-shrink: 0; }
.author-bio h4 { margin-bottom: 4px; }
.share-row { display: flex; gap: 10px; align-items: center; margin: 30px 0; }
.share-row a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-card); border: 1px solid var(--border); color: var(--gray); transition: 0.3s; }
.share-row a:hover { color: #fff; transform: translateY(-3px); }
.comments-box { background: var(--bg-card); border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--gray-dim); }

/* ---------- Setup page ---------- */
.setup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.setup-card { padding: 28px; cursor: pointer; }
.setup-card .dev-icon { font-size: 2.2rem; color: var(--blue-light); margin-bottom: 14px; }
.setup-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.setup-meta { display: flex; gap: 16px; font-size: 0.85rem; color: var(--gray-dim); margin-bottom: 16px; }
.setup-meta .diff { color: var(--green-light); font-weight: 600; }
.video-ph { height: 110px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #141414, #1c1c1c); display: grid; place-items: center; color: var(--gray); border: 1px solid var(--border); }
.video-ph i { font-size: 1.8rem; color: var(--blue-light); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fadeIn 0.3s; }
.modal { background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); max-width: 620px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 36px; position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.modal-close:hover { background: var(--gold-gradient); color: #0a0a0a; }
.modal h3 { font-size: 1.5rem; margin-bottom: 8px; }
.steps { counter-reset: step; margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.steps li { position: relative; padding-left: 48px; min-height: 34px; display: flex; align-items: center; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-gradient); color: #0a0a0a; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }

/* ---------- Comparison table ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare-table th { color: #fff; font-weight: 700; background: rgba(255,255,255,0.03); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; color: #fff; font-weight: 600; }
.compare-table .yes { color: var(--green); }
.compare-table .no { color: var(--gray-dim); }
.compare-table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare-table { min-width: 560px; }

/* ---------- Countdown ---------- */
.countdown-box { display: flex; gap: 14px; justify-content: center; margin: 24px 0; }
.cd-unit { background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 14px 18px; min-width: 72px; text-align: center; }
.cd-unit .cd-num { font-size: 1.8rem; font-weight: 800; color: #fff; }
.cd-unit .cd-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-dim); }

/* ---------- Money back / guarantee ---------- */
.guarantee { display: flex; align-items: center; gap: 20px; background: var(--bg-card); border: 1px solid var(--green); border-radius: var(--radius); padding: 26px 32px; max-width: 620px; margin: 40px auto 0; }
.guarantee i { font-size: 3rem; color: var(--green); }
.guarantee h4 { margin-bottom: 4px; }

/* ---------- Floating widgets ---------- */
.whatsapp-widget { position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #fff; font-size: 1.7rem; z-index: 900; box-shadow: 0 8px 24px rgba(37,211,102,0.5); animation: float 3s ease-in-out infinite; }
.whatsapp-widget:hover { transform: scale(1.08); }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
.back-top { position: fixed; bottom: 24px; left: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-strong); color: #fff; display: grid; place-items: center; z-index: 900; opacity: 0; visibility: hidden; transition: 0.3s; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold-gradient); color: #0a0a0a; border-color: var(--gold-primary); }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 850; padding: 12px 16px; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-top: 1px solid var(--border); }
.mobile-cta .btn { width: 100%; }

/* ---------- Live viewers ---------- */
.live-viewers { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 50px; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3); font-size: 0.85rem; font-weight: 600; color: var(--green-light); }
.live-viewers .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500; background: var(--bg-elevated); border-top: 1px solid var(--border-strong); padding: 18px 20px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.4s var(--ease); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.9rem; max-width: 640px; }
.cookie-banner a { color: var(--blue-light); }
.cookie-actions { display: flex; gap: 10px; }

/* ---------- Page loader ---------- */
.loader { position: fixed; inset: 0; background: var(--bg); z-index: 5000; display: grid; place-items: center; transition: opacity 0.5s, visibility 0.5s; animation: loaderFailsafe 0.5s linear 2.5s forwards; }
.loader.hide { opacity: 0; visibility: hidden; animation: none; }
/* Failsafe: never let the overlay trap content if JS is slow/blocked */
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader-spinner { width: 54px; height: 54px; border: 4px solid var(--border-strong); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 4K streaming section ---------- */
.fourk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fourk-media { order: 2; position: relative; }
.fourk-copy { order: 1; }
.fourk-media img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.18);
}
.fourk-badge {
  position: absolute; top: 14px; right: 14px; padding: 6px 12px;
  background: rgba(10, 10, 10, 0.85); color: var(--gold-light);
  border: 1px solid var(--gold-primary); border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.fourk-split.media-left .fourk-media { order: 1; }
.fourk-split.media-left .fourk-copy { order: 2; }
.fourk-copy p { color: var(--gray); margin-bottom: 18px; }
.fourk-copy .btn { margin-top: 10px; }
.usa-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  color: var(--gold-light); font-weight: 700; font-size: 0.95rem; margin-bottom: 12px;
}
.usa-stats .sep { color: var(--gold-dark); }
/* Sports slideshow (auto-cycling crossfade) */
.sports-slides {
  position: relative; width: 100%; aspect-ratio: 3 / 2;
  background: transparent;
}
.sports-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  border: 0; border-radius: 0; box-shadow: none;
  opacity: 0; animation: sportsFade 9.6s infinite;
}
.sports-slides img:nth-child(1) { animation-delay: 0s; }
.sports-slides img:nth-child(2) { animation-delay: 2.4s; }
.sports-slides img:nth-child(3) { animation-delay: 4.8s; }
.sports-slides img:nth-child(4) { animation-delay: 7.2s; }
@keyframes sportsFade {
  0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sports-slides img { animation: none; }
  .sports-slides img:first-child { opacity: 1; }
}
/* League badges */
.league-badges { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 22px; }
.league-badge {
  border: 1px solid var(--gold-primary); color: var(--gold-light); background: transparent;
  border-radius: 999px; padding: 5px 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
}
@media (max-width: 980px) {
  .fourk-split { grid-template-columns: 1fr; gap: 32px; }
  .fourk-media { order: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile menu panel ---------- */
.mobile-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(10,10,10,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 20px; transform: translateY(-130%); transition: transform 0.35s var(--ease); z-index: 999; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 14px 0; color: #fff; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  /* Free Trial button lives in the mobile menu + sticky CTA instead */
  .nav-right .btn { display: none; }
  .pricing-grid.has-lifetime { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .thumb { min-height: 220px; }
  .hero-copy { max-width: 560px; }
  /* Tagline can wrap on tablet/phone where the container is narrower */
  .hero-copy h1 .gradient-text { white-space: normal; }
  /* Tablet: 3 across; the 2 wrapped stats center on the second row */
  .stats-bar { gap: 18px; }
  .stat { flex: 0 1 calc(33.333% - 12px); }
}
@media (max-width: 768px) {
  .section { padding: 32px 0; }
  /* Keep brand on one line + compact gold tagline across all phones */
  .hero-copy h1 { font-size: 1.85rem; }
  .hero-copy h1 .gradient-text { font-size: 1.1rem; margin-top: 8px; }
  /* Start Free Trial lives in the sticky bottom CTA on phones */
  .hero-cta .btn-green { display: none; }
  .pricing-grid.has-lifetime { grid-template-columns: 1fr; }
  /* On phones, surface the Annual (Best Value) plan first — subscription plans only */
  /* Mobile plan order: Annual (Best Value) first, then 6 Months */
  .pricing-grid.plans .price-card.best { order: -2; }
  .pricing-grid.plans .price-card.popular { order: -1; }
  .grid-3, .pricing-grid, .testi-grid, .blog-grid, .setup-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  /* Mobile: 2 across, compact; the 5th stat centers alone on its own row */
  .stats-bar.glass { padding: 8px !important; }
  .stats-bar { gap: 8px; }
  .stat { flex: 0 1 calc(50% - 6px); padding: 12px 8px; }
  .stat .num { font-size: 1.45rem; }
  .stat .label { font-size: 0.75rem; }
  .price-card.popular, .price-card.best, .price-card.lifetime { transform: none; }
  .price-card.popular:hover, .price-card.best:hover, .price-card.lifetime:hover { transform: translateY(-6px); }
  .mobile-cta { display: block; }
  body.has-mobile-cta { padding-bottom: 72px; }
  .whatsapp-widget { bottom: 80px; }
  .back-top { bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 44px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .container { padding: 0 16px; }
  .device-chip { min-width: 100px; }
  /* Stronger overlay so text stays readable over the poster wall on mobile */
  .hero-overlay {
    background:
      radial-gradient(130% 90% at 50% 42%, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.58) 45%, rgba(10,10,10,0.5) 100%),
      linear-gradient(to bottom, rgba(10,10,10,0.42) 0%, rgba(10,10,10,0.15) 50%, var(--bg) 100%),
      var(--gradient-hero);
  }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-grid { gap: 10px; transform: rotate(-6deg) scale(1.15); }
  /* Keep "IPTV Smarters Plus™" on one line, and a compact gold tagline on phones */
  .hero-copy h1 { font-size: 1.7rem; }
  .hero-copy h1 .gradient-text { font-size: 1.05rem; margin-top: 8px; }
}

/* =============================================================
   ARTICLE UI POLISH — pro reading experience
   ============================================================= */
/* Reading column + typography rhythm */
.article-body { max-width: 728px; font-size: 1.06rem; }
.article-body p { margin-bottom: 22px; line-height: 1.85; color: var(--gray); }
.article-body p strong { color: #fff; }
.article-body a:not(.btn) {
  color: var(--blue-light); text-decoration: none;
  border-bottom: 1px solid rgba(64,150,255,0.35);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.article-body a:not(.btn):hover { color: #fff; border-bottom-color: #fff; }

/* Section headings with a clean divider for clear visual breaks */
.article-body h2 {
  font-size: 1.6rem; line-height: 1.25; letter-spacing: -0.02em;
  margin: 50px 0 18px; padding-top: 26px;
  border-top: 1px solid var(--border); scroll-margin-top: 90px;
}
.article-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 30px; }
.article-body h3 { font-size: 1.22rem; margin: 30px 0 12px; color: #fff; }

/* Bulleted lists — more breathing room, aligned icons */
.article-body ul.bullets, .article-body ol.bullets { gap: 13px; margin: 0 0 24px; }
.article-body ul.bullets li, .article-body ol.bullets li { line-height: 1.6; align-items: flex-start; }
.article-body ul.bullets i, .article-body ol.bullets i { margin-top: 4px; flex-shrink: 0; }
.article-body ol.bullets li i.fa-1, .article-body ol.bullets li i.fa-2,
.article-body ol.bullets li i.fa-3, .article-body ol.bullets li i.fa-4,
.article-body ol.bullets li i.fa-5 {
  width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--gold-gradient); color: #0a0a0a; font-style: normal; font-weight: 800;
  font-size: 0.78rem; margin-top: 1px;
}

/* Key Takeaways — distinct, calm, scannable (not a CTA) */
.takeaways {
  background: linear-gradient(180deg, rgba(0,204,102,0.08), rgba(0,204,102,0.02));
  border: 1px solid var(--border-strong); border-left: 4px solid var(--green);
  border-radius: var(--radius); padding: 24px 26px; margin: 32px 0;
}
.takeaways h3 {
  margin: 0 0 14px; font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--green-light);
}
.takeaways ul.bullets { margin: 0; gap: 12px; }
.takeaways ul.bullets li { font-size: 0.98rem; line-height: 1.55; }

/* CTA box — refined, single clear action */
.inline-cta {
  background: linear-gradient(135deg, rgba(212,175,55,0.14), rgba(0,102,255,0.10));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 32px 28px; margin: 40px 0; text-align: center;
}
.inline-cta h3 { font-size: 1.25rem; margin-bottom: 8px; }
.inline-cta p { color: var(--gray); margin-bottom: 22px; }

/* Chart figure — consistent elevated card */
.chart-figure {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 24px 10px; margin: 34px 0;
}
.chart-figure svg { display: block; }

/* Sources / references — quiet footnote, not an author card */
.sources { margin: 44px 0 8px; padding-top: 22px; border-top: 1px solid var(--border); }
.sources h4 { font-size: 0.95rem; color: var(--gray); margin-bottom: 10px; }
.sources p { font-size: 0.82rem; color: var(--gray-dim); line-height: 1.75; }

/* Figures + captions */
.article-figure { margin: 0 0 30px; }
.article-figure figcaption { font-size: 0.85rem; color: var(--gray-dim); font-style: italic; }

/* TOC — premium sidebar */
.toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 22px; }
.toc h4 { color: var(--gold-primary); margin-bottom: 14px; }
.toc ul { gap: 3px; }
.toc a {
  display: block; padding: 8px 12px; border-radius: 9px; font-size: 0.9rem;
  color: var(--gray); border-left: 2px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.toc a:hover { background: rgba(255,255,255,0.045); color: #fff; border-left-color: var(--green); }

/* A touch more room between the TOC and the prose */
.article-layout { gap: 56px; }

/* =============================================================
   BLOG / ARTICLE — MOBILE READABILITY (images, text, tables)
   ============================================================= */
@media (max-width: 768px) {
  /* Comfortable body copy + tighter rhythm on phones */
  .article-body { max-width: 100%; }
  .article-body p { font-size: 1rem; line-height: 1.75; margin-bottom: 18px; }
  .article-body h2 { font-size: 1.4rem; margin: 32px 0 14px; }
  .article-body h3 { font-size: 1.18rem; margin: 24px 0 10px; }
  .article-body ul.bullets li,
  .article-body ol.bullets li { font-size: 0.98rem; }
  .inline-cta { padding: 22px 18px; margin: 26px 0; }
  .inline-cta h3 { font-size: 1.15rem; }

  /* Images & charts: full-width, crisp, never overflow */
  .article-figure { margin: 0 0 22px; }
  .article-figure img { border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(212,175,55,0.14); }
  .article-figure figcaption { font-size: 0.8rem; }
  .article-figure svg { width: 100%; height: auto; }

  /* Tables: horizontal-scroll card with a soft edge hint */
  .table-scroll {
    margin: 22px 0; border-radius: var(--radius);
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    background:
      linear-gradient(90deg, var(--bg-card) 30%, rgba(20,20,20,0)) left / 24px 100% no-repeat,
      linear-gradient(270deg, var(--bg-card) 30%, rgba(20,20,20,0)) right / 24px 100% no-repeat;
  }
  .table-scroll .compare-table { min-width: 520px; }
  .compare-table th, .compare-table td { padding: 12px 12px; font-size: 0.88rem; }

  /* Author bio + sources stack cleanly on narrow screens */
  .author-bio { flex-direction: column; text-align: center; gap: 14px; padding: 22px; }
  .author-bio .avatar { margin: 0 auto; }
}

@media (max-width: 480px) {
  .article-body p { font-size: 0.98rem; }
  .article-body h2 { font-size: 1.28rem; }
  .article-body h3 { font-size: 1.1rem; }
  .article-figure img { aspect-ratio: 16 / 10; }
  .compare-table th, .compare-table td { padding: 10px 10px; font-size: 0.82rem; }
  .inline-cta .btn { width: 100%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
