/* GoedIPTV — midnight navy + mint/aqua aurora.
   Theme lives in the :root tokens; the layout below is shared with the two
   sister sites, so a colour change only ever touches this block. */
:root {
  --bg: #060a18;
  --bg-2: #0b1228;
  --ink: #eef6ff;
  --muted: #9fb0cc;
  --line: rgba(255, 255, 255, 0.12);
  --a1: #34f5c5;
  --a2: #22a6ee;
  --a3: #7c5cff;
  --on-accent: #04121a;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --grad: linear-gradient(120deg, var(--a1), var(--a2));
  --glow: 0 10px 40px -10px rgba(52, 245, 197, 0.55);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Background aurora blobs — fixed, cheap, behind everything. */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 70vmax; height: 70vmax; left: -30vmax; top: -30vmax; background: radial-gradient(circle, var(--a1), transparent 60%); }
.aurora span:nth-child(2) { width: 60vmax; height: 60vmax; right: -30vmax; top: 10vh; background: radial-gradient(circle, var(--a2), transparent 60%); animation-delay: -6s; }
.aurora span:nth-child(3) { width: 50vmax; height: 50vmax; left: 10vw; bottom: -30vmax; background: radial-gradient(circle, var(--a3), transparent 60%); animation-delay: -12s; opacity: 0.3; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.1); } }

/* ── Glass ────────────────────────────────────────────────────────────── */
.glass {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px -25px rgba(0, 0, 0, 0.6);
}

/* Glass button: frosted body, bright top edge, sheen that sweeps on hover. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-glass {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -8px 16px -8px rgba(255, 255, 255, 0.08),
    0 8px 24px -12px rgba(0, 0, 0, 0.6);
}
.btn-glass::before {
  content: '';
  position: absolute;
  inset: 0 0 50% 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  z-index: -1;
  pointer-events: none;
}
.btn-glass::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-glass:hover::after { left: 130%; }
.btn-glass:hover { transform: translateY(-2px); }
.btn-glass:active { transform: translateY(0) scale(0.97); }
.btn-primary {
  color: var(--on-accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%),
    var(--grad);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--glow);
}
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:focus-visible, .segmented button:focus-visible, .icon-btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--a1);
  outline-offset: 3px;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.icon-btn svg { width: 22px; height: 22px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), var(--glow);
}
.brand-mark svg { width: 18px; height: 18px; }
.header-actions { display: flex; gap: 8px; }

.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s; }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

/* Mobile: full-screen glass sheet. */
.nav {
  position: fixed;
  inset: calc(68px + env(safe-area-inset-top)) 12px auto 12px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a:not(.btn) { padding: 14px 12px; border-radius: 14px; font-weight: 600; font-size: 17px; }
.nav a:not(.btn):hover { background: var(--glass); }
.nav-cta { margin-top: 8px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { display: grid; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.7); animation: pulse 1.6s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 77, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); } }
.hero h1 { font-size: clamp(40px, 11vw, 76px); font-weight: 800; margin: 18px 0 16px; }
.lead { color: var(--muted); font-size: 17px; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 160px; }
.hero-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 500; }

.hero-visual { position: relative; padding: 10px 6px 30px; }
.tv { border-radius: 28px; padding: 10px; transform: perspective(1200px) rotateY(-6deg) rotateX(4deg); }
.tv-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #000; }
.tv-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.85)); }
.chip { align-self: flex-start; padding: 4px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; background: var(--grad); color: var(--on-accent); }
.tv-title b { display: block; font-size: 18px; }
.tv-title small { color: var(--muted); }
.tv-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.2); overflow: hidden; margin-top: 8px; }
.tv-bar span { display: block; height: 100%; width: 38%; background: var(--grad); animation: progress 8s linear infinite; }
@keyframes progress { from { width: 8%; } to { width: 92%; } }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; font-size: 14px; animation: bob 5s ease-in-out infinite; }
.float-card small { color: var(--muted); font-size: 12px; }
.fc-1 { left: -2px; bottom: 0; flex-direction: column; align-items: flex-start; gap: 0; }
.fc-1 b { font-size: 22px; }
.fc-2 { right: -2px; top: -6px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ── Stats ────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { border-radius: var(--radius); padding: 18px; text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 500; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding-block: 64px 8px; }
.section-head { margin-bottom: 26px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a1); margin-bottom: 10px; }
.section-head h2 { font-size: clamp(30px, 8vw, 50px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 40em; }

/* Marquee */
.marquee { display: flex; overflow: hidden; gap: 12px; padding-block: 6px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; flex: none; animation: scroll 40s linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; animation-duration: 30s; }
@keyframes scroll { to { transform: translateX(calc(-100% - 12px)); } }
.logo-tile { display: grid; place-items: center; width: 120px; height: 70px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); flex: none; }
.logo-tile img { max-width: 78px; max-height: 40px; object-fit: contain; }

/* Segmented glass control */
.segmented { display: inline-flex; padding: 5px; border-radius: 999px; gap: 4px; }
.segmented button {
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 700; font-size: 14px; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.segmented button[aria-pressed='true'] {
  color: var(--on-accent);
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0) 60%), var(--grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), var(--glow);
}

/* Horizontal rails (posters, reviews) */
.rail {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px max(16px, calc((100vw - 1180px) / 2 + 16px)) 16px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.poster { flex: none; width: 42vw; max-width: 190px; margin: 0; scroll-snap-align: start; }
.poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(0,0,0,0.9); transition: transform 0.3s; }
.poster:hover img { transform: translateY(-4px); }
.poster figcaption { padding: 10px 2px 0; }
.poster strong { display: block; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster span { color: var(--muted); font-size: 12px; }

/* Pricing */
.pricing-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pricing-controls .segmented { flex: 1 1 auto; justify-content: space-between; }
.pricing-controls .segmented button { flex: 1; white-space: nowrap; padding: 0 10px; }
.pricing-controls [data-devices="1"] { flex: 2.2; }
.plans { display: grid; gap: 16px; }
.plan {
  position: relative;
  border-radius: 26px; padding: 24px 20px 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.plan--best { border: 1.5px solid transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; box-shadow: var(--glow); margin-top: 12px; }
.plan-ribbon { position: absolute; top: -13px; left: 20px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--on-accent); background: var(--grad); }
.plan header { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 20px; }
.plan-save { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(52, 245, 197, 0.14); color: var(--a1); }
.plan-price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price b { font-size: 42px; font-weight: 800; letter-spacing: -0.04em; }
.plan-price small { color: var(--muted); font-weight: 600; }
.plan-meta { color: var(--muted); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 9px; font-size: 14px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--a1); }
.pay { display: flex; justify-content: center; margin-top: 24px; }
.pay img { max-width: 320px; width: 80%; opacity: 0.85; border-radius: 10px; }

/* Steps */
.steps { list-style: none; display: grid; gap: 12px; margin: 0; }
.step { border-radius: var(--radius); padding: 22px; }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; font-weight: 800; background: var(--grad); color: var(--on-accent); margin-bottom: 14px; box-shadow: var(--glow); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.devices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip-lg { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.app-tile { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.app-tile img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; }
.app-tile--text { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
.app-tile--text span { color: var(--muted); font-size: 12px; }

/* Reviews */
.review { flex: none; width: 82vw; max-width: 360px; margin: 0; padding: 22px; border-radius: var(--radius); scroll-snap-align: start; background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: #ffc940; }
.stars svg { width: 18px; height: 18px; }
.review p { font-size: 15px; flex: 1; }
.review footer { display: flex; align-items: center; gap: 10px; }
.review footer small { color: var(--muted); margin-left: auto; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--on-accent); font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border-radius: 20px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 28px; height: 28px; border-radius: 50%; flex: none; background: var(--glass-strong); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item p { padding: 0 20px 20px; color: var(--muted); }

/* CTA */
.cta { border-radius: 32px; padding: 40px 22px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--a1) 35%, transparent), transparent 60%); z-index: -1; }
.cta h2 { font-size: clamp(30px, 8vw, 52px); font-weight: 800; }
.cta p { color: var(--muted); margin-top: 10px; }
.cta .hero-ctas { justify-content: center; max-width: 460px; margin-inline: auto; margin-top: 24px; }

/* Footer */
.footer { margin-top: 64px; padding: 36px 0 120px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-weight: 600; }
.footer small { color: var(--muted); }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; z-index: 40;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 22px;
  background: color-mix(in srgb, var(--bg-2) 70%, transparent);
  transform: translateY(140%); transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta small { display: block; color: var(--muted); font-size: 12px; }
.sticky-cta b { font-size: 20px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── Larger screens ───────────────────────────────────────────────────── */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .apps { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pricing-controls .segmented { flex: 0 0 auto; }
  .poster { width: 180px; }
}
@media (min-width: 960px) {
  .section { padding-block: 96px 8px; }
  .menu-btn { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 2px;
    padding: 0; background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav a:not(.btn) { font-size: 15px; padding: 10px 14px; color: var(--muted); }
  .nav a:not(.btn):hover { color: var(--ink); }
  .nav-cta { margin: 0 0 0 10px; min-height: 42px; }
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 70px; padding-bottom: 60px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plan--best { margin-top: 0; transform: translateY(-10px); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer { padding-bottom: 40px; }
  .sticky-cta { display: none; }
}

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

/* ── Films & series: auto-scrolling 4K poster rows ───────────────────── */
.vod-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px auto 12px; }
.vod-row-head h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.02em; }
.vod-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: var(--on-accent); box-shadow: var(--glow); }
.vod-ico svg { width: 18px; height: 18px; }
.vod-count { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); }
.vod-row {
  overflow: hidden; padding: 6px 0 22px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vod-row + .vod-row-head { margin-top: 18px; }
.vod-track { display: flex; gap: 14px; width: max-content; animation: vod-scroll 90s linear infinite; }
.vod-row--reverse .vod-track { animation-direction: reverse; animation-duration: 100s; }
.vod-row:hover .vod-track, .vod-row:active .vod-track { animation-play-state: paused; }
@keyframes vod-scroll { to { transform: translateX(calc(-50% - 7px)); } }
.vod-card {
  position: relative; flex: none; margin: 0;
  width: 150px; aspect-ratio: 2 / 3;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, var(--bg-2), #000);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.95);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}
.vod-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 24px 44px -16px rgba(0,0,0,0.95), var(--glow); }
.vod-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Glass sheen across the top of every poster. */
.vod-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 28%); pointer-events: none; }
.vod-q {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  padding: 3px 7px; border-radius: 7px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--on-accent); background: var(--grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.vod-rating {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 6px; border-radius: 7px;
  font-size: 10px; font-weight: 800; color: #ffd75e;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vod-rating svg { width: 10px; height: 10px; }
.vod-card figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 48px 12px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.95), rgba(0,0,0,0.7) 55%, transparent);
}
.vod-card strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 800; line-height: 1.15; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.vod-card small { display: block; margin-top: 3px; font-size: 11px; color: rgba(255,255,255,0.65); }
@media (min-width: 640px) {
  .vod-card { width: 186px; }
  .vod-track { gap: 18px; }
  @keyframes vod-scroll { to { transform: translateX(calc(-50% - 9px)); } }
}

/* ── Hero screens: sliding 4K films & series ─────────────────────────── */
.hero-slides { position: absolute; overflow: hidden; background: #000; }
.hero-slides:not(.stack-card) { inset: 0; }
.hs-track { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(.65, 0, .35, 1); }
.hs-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
/* Landscape frames: blurred poster fills the screen, the sharp poster sits
   right, title and 4K badge left — a streaming-app "featured" card. */
.hs-bg { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(16px) brightness(0.5) saturate(1.4); }
.hs-poster {
  position: absolute; right: 5%; top: 50%; height: 84%; aspect-ratio: 2 / 3; width: auto;
  transform: translateY(-50%); object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.9);
}
.hs-chip { position: absolute; top: 12px; left: 12px; z-index: 1; }
.hs-info { position: absolute; left: 14px; bottom: 20px; right: calc(5% + 56% * 0.667 + 20px); display: flex; flex-direction: column; gap: 4px; }
.hs-info b { font-size: 17px; line-height: 1.12; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs-info small { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.hs-progress { position: absolute; left: 14px; right: 14px; bottom: 9px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); overflow: hidden; z-index: 2; }
.hs-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; animation: hs-progress 3.5s linear forwards; }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Portrait frames (poster stack): the poster simply fills the card. */
.hero-slides[data-fit='cover'] .hs-poster { inset: 0; width: 100%; height: 100%; transform: none; border: 0; border-radius: 0; box-shadow: none; }
.hero-slides[data-fit='cover'] .hs-info { right: 12px; bottom: 22px; padding-top: 50px; }
.hero-slides[data-fit='cover'] .hs-slide::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent); }
.hero-slides[data-fit='cover'] .hs-info { z-index: 1; }

/* Logo: inline SVG so its text uses the page font. */
.brand .logo { display: block; height: 44px; width: auto; overflow: visible; }
.footer .brand .logo { height: 36px; }

/* Keyword guide copy (static, crawlable text) */
.seo-copy { max-width: 820px; display: grid; gap: 12px; color: var(--muted); }
.seo-copy h3 { color: var(--ink); font-size: 20px; font-weight: 700; margin-top: 12px; }
.seo-copy strong { color: var(--ink); }
.seo-copy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.seo-copy ul, .seo-copy ol { padding-left: 1.3em; display: grid; gap: 6px; }
.seo-copy ul { list-style: disc; }
.seo-copy ol { list-style: decimal; }

/* Packs — layout and wording follow nexomir.app */
.plan-price s { color: var(--muted); font-size: 18px; font-weight: 600; }
.plan-per { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-meta { margin: 2px 0 16px; }
.plan-incl { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan-incl-head { display: flex; align-items: center; gap: 10px; }
.plan-incl-head h4 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.plan-tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; background: var(--glass-strong); color: var(--ink); }
.plan-tag--vip { background: var(--grad); color: var(--on-accent); }
.plan .plan-incl ul { margin: 14px 0 0; }
.plan-guarantee { margin-top: 16px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.pay-block { margin-top: 36px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.pay-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.pay-methods { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pay-methods li { padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pay-help { font-size: 14px; color: var(--muted); }
.pay-help a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pay-note { font-size: 12px; color: var(--muted); }

/* ── Packs: cinematic switch + Premium VIP styling ───────────────────── */
.plans { position: relative; isolation: isolate; perspective: 1200px; }
.plans::before { content: ''; position: absolute; inset: -60px -20px; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(50% 45% at 50% 40%, color-mix(in srgb, var(--a2) 45%, transparent), transparent 70%); }
.plan { translate: 0 0; }
.plan::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0; }
.plans.is-leaving .plan { animation: plan-out 0.28s ease-in forwards; }
.plans.is-leaving .plan:nth-child(2) { animation-delay: 0.04s; }
.plans.is-leaving .plan:nth-child(3) { animation-delay: 0.08s; }
.plans.is-entering .plan { animation: plan-in 0.75s cubic-bezier(0.2, 0.85, 0.25, 1) both; }
.plans.is-entering .plan:nth-child(2) { animation-delay: 0.09s; }
.plans.is-entering .plan:nth-child(3) { animation-delay: 0.18s; }
.plans.is-entering .plan::after { animation: plan-sheen 1.1s 0.25s ease-out; }
.plans.is-entering .plan:nth-child(2)::after { animation-delay: 0.34s; }
.plans.is-entering .plan:nth-child(3)::after { animation-delay: 0.43s; }
.plans--vip.is-entering::before { animation: plan-glow 1.3s ease-out; }
@keyframes plan-out { to { opacity: 0; translate: 0 16px; scale: 0.95; filter: blur(8px); } }
@keyframes plan-in {
  from { opacity: 0; translate: 0 36px; scale: 0.92; rotate: x 14deg; filter: blur(12px); }
  60% { filter: blur(0); }
  to { opacity: 1; translate: 0 0; scale: 1; rotate: x 0deg; filter: none; }
}
@keyframes plan-sheen { 0% { opacity: 1; background-position: 160% 0; } 100% { opacity: 1; background-position: -60% 0; } }
@keyframes plan-glow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

.plan header { gap: 10px; }
.plan-crown { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; background: var(--grad); color: var(--on-accent); box-shadow: var(--glow); }
.plan-crown svg { width: 12px; height: 12px; }

/* Premium VIP: glowing, gradient-edged, alive. */
.plans--vip .plan {
  border-color: color-mix(in srgb, var(--a1) 40%, transparent);
  background:
    radial-gradient(120% 55% at 50% 0%, color-mix(in srgb, var(--a2) 22%, transparent), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 60px -34px var(--a2);
}
.plans--vip .plan--best {
  border: 2px solid transparent;
  background:
    radial-gradient(120% 55% at 50% 0%, color-mix(in srgb, var(--a2) 26%, transparent), transparent 70%) padding-box,
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    linear-gradient(120deg, var(--a1), var(--a2), var(--a1), var(--a2)) border-box;
  background-size: 100% 100%, 100% 100%, 300% 100%;
  animation: vip-edge 5s linear infinite;
  box-shadow: var(--glow), 0 30px 80px -30px var(--a2);
}
.plans--vip.is-entering .plan--best { animation: plan-in 0.75s cubic-bezier(0.2, 0.85, 0.25, 1) both, vip-edge 5s linear infinite; }
@keyframes vip-edge { to { background-position: 0 0, 0 0, 300% 0; } }
.plans--vip .plan-price b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plans--vip .plan li svg { color: var(--a2); }

/* Basis: deliberately plain next to VIP. */
.plans--basic .plan { background: rgba(255, 255, 255, 0.035); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.plans--basic .plan--best { box-shadow: none; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1)) border-box; }
.plans--basic .plan-ribbon { background: var(--glass-strong); color: var(--ink); }
.plans--basic .plan li { color: var(--muted); }
.plans--basic .plan li svg { color: var(--muted); }
.plan-upsell { display: block; width: 100%; margin-top: 16px; padding: 12px 14px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--a1) 55%, transparent);
  background: color-mix(in srgb, var(--a2) 10%, transparent); color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; transition: background 0.2s; }
.plan-upsell:hover { background: color-mix(in srgb, var(--a2) 20%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .plans--vip .plan--best { animation: none; }
}
