/* ============================================================
   WI-FLIX — Redesign v2 · Real posters edition
   Orange (logo color) on dark. Netflix-style poster grid.
   ============================================================ */

:root {
  --orange-700: #C44500;
  --orange-600: #E55800;
  --orange-500: #FF6600;
  --orange-400: #FF8C42;
  --orange-300: #FFB07A;
  --orange-200: #FFD1B0;
  --orange-100: #FFE8D9;

  --amber-400: #EDB200;
  --green-500: #00BB7F;
  --green-400: #00C758;
  --red-500: #E50914;

  --ink-950: #050505;
  --ink-900: #0D0D0D;
  --ink-800: #1A1A1A;
  --ink-700: #2A2A2A;
  --ink-600: #3A3A3A;
  --ink-500: #666;
  --ink-400: #999;
  --ink-300: #B3B3B3;
  --ink-200: #DEDEDE;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  --shadow-glow: 0 30px 80px -20px rgba(255, 102, 0, 0.55);

  --container: 1380px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  background: var(--ink-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--orange-500); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  color: #fff;
}
h1 { font-size: clamp(3rem, 7vw + 1rem, 6.5rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 2.5vw + 1rem, 3.2rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 1vw + 0.9rem, 1.65rem); }
h4 { font-size: 1.05rem; }
p { margin: 0; color: rgba(255,255,255,0.74); }
.lede { font-size: clamp(1.1rem, 0.5vw + 1rem, 1.35rem); color: rgba(255,255,255,0.85); line-height: 1.5; max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 700;
  color: var(--orange-400);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.gradient-text {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 6vw, 100px) 0; position: relative; }
.section.tight { padding: clamp(40px, 4vw, 60px) 0; }
.section-soft { background: var(--ink-800); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px;
  font-weight: 700; font-size: 1rem;
  border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,102,0,0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.30); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.06); }
.btn-light {
  background: rgba(255,255,255,0.18);
  color: #fff; backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.20);
}
.btn-light:hover { background: rgba(255,255,255,0.28); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange-400); font-weight: 700;
}
.btn-link::after { content: '→'; transition: transform .15s ease; }
.btn-link:hover::after { transform: translateX(4px); }
.btn-link:hover { color: var(--orange-300); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; gap: 36px;
  padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.nav-links a {
  font-weight: 500; font-size: 0.94rem;
  color: rgba(255,255,255,0.72);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-cta .login { font-weight: 600; font-size: 0.94rem; color: rgba(255,255,255,0.78); }
.nav-cta .login:hover { color: #fff; }
@media (max-width: 980px) { .nav-links { display: none; } }

/* HERO — full-bleed featured movie */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(580px, 78vh, 820px);
  display: flex; align-items: flex-end;
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--ink-950);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('the-confessor-2.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.45) 0%, rgba(5,5,5,0.20) 30%, rgba(5,5,5,0.75) 75%, var(--ink-950) 100%),
    linear-gradient(90deg, rgba(5,5,5,0.85) 0%, rgba(5,5,5,0.5) 40%, rgba(5,5,5,0.2) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-title-mark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.82rem; color: rgba(255,255,255,0.92);
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero-title-mark .dot {
  width: 7px; height: 7px; background: var(--orange-400); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,140,66,0.22);
}
.hero h1 {
  font-size: clamp(3rem, 6.5vw + 1rem, 6rem);
  background: linear-gradient(180deg, #fff 30%, rgba(255,200,160,0.78));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.hero .lede { margin-top: 22px; color: rgba(255,255,255,0.92); }
.hero .ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .badges { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero .badges a { display: inline-block; }
.hero .badges img { height: 50px; width: auto; transition: transform .15s ease; }
.hero .badges a:hover img { transform: translateY(-2px); }

/* Featured "Now Playing" card on the right */
.hero-feature {
  position: absolute;
  right: 0; bottom: 14%; z-index: 2;
  width: 36%; max-width: 480px;
  display: none;
}
@media (min-width: 1100px) { .hero-feature { display: block; } }
.hero-feature-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  transform: rotate(-2deg);
}
.hero-feature-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-feature-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
}
.hero-feature-card .play {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 8px;
}

/* Section heads */
.section-head {
  margin-bottom: 24px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.section-head .left { flex: 1 1 auto; max-width: 760px; }
.section-head h2 { margin-bottom: 8px; }
.section-head.center { display: block; text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }

/* NEW ON WI-FLIX — Netflix-style horizontal row */
.row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 1100px) { .row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .row { grid-template-columns: repeat(2, 1fr); } }

.tile {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform .25s ease, border-color .15s ease, box-shadow .25s ease;
  background: var(--ink-800);
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255,140,66,0.5);
  z-index: 5;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.65));
  pointer-events: none;
}
.tile .info {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.tile .title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  line-height: 1.1;
}
.tile .play {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-500);
  display: grid; place-items: center;
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 6px 20px -4px rgba(255,102,0,0.7);
  flex-shrink: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.tile:hover .play { opacity: 1; transform: translateY(0); }
.tile .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* CHANNELS */
.channels {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 24px;
}
@media (max-width: 1000px) { .channels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .channels { grid-template-columns: repeat(2, 1fr); } }
.channel {
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--ink-800);
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
  cursor: pointer;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: rgba(255,140,66,0.55);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.channel-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .5s ease, filter .25s ease;
  filter: saturate(1.1);
}
.channel:hover .channel-bg { transform: scale(1.06); filter: saturate(1.25); }
.channel::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.10) 0%, rgba(5,5,5,0.45) 60%, rgba(5,5,5,0.85) 100%),
    radial-gradient(60% 60% at 50% 30%, var(--c, rgba(255,102,0,0.35)), transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.channel.c-fastfun { --c: rgba(255, 140, 66, 0.55); }
.channel.c-action  { --c: rgba(229, 9, 20, 0.55); }
.channel.c-family  { --c: rgba(0, 199, 88, 0.42); }
.channel.c-africa  { --c: rgba(237, 178, 0, 0.50); }
.channel.c-game    { --c: rgba(146, 60, 255, 0.55); }
.channel > * { position: relative; z-index: 2; }
.channel .live-pill {
  position: absolute; top: 14px; left: 14px;
  z-index: 3;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.channel .live-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.30);
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: 0.4; } }
.channel h4 {
  font-size: 1.2rem; letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  color: #fff;
}
.channel .cta {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.84rem; font-weight: 700;
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 6px;
}
.channel:hover .cta { background: var(--orange-500); border-color: var(--orange-500); }

/* FAQ answers styling */
.faq details p {
  color: rgba(255,255,255,0.82);
  margin-top: 14px;
  line-height: 1.65;
  font-size: 0.96rem;
}
.faq details p a {
  color: var(--orange-400);
  border-bottom: 1px dashed rgba(255,140,66,0.45);
}
.faq details p a:hover { color: var(--orange-300); }

/* CATEGORIES — large poster cards */
.cats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cats { grid-template-columns: 1fr; } }

.cat-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform .25s ease, border-color .15s ease, box-shadow .25s ease;
  background: var(--ink-800);
}
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,140,66,0.55);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85));
  pointer-events: none;
}
.cat-card .label {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.cat-card .name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.cat-card .arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  color: #fff;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.20);
  flex-shrink: 0;
}
.cat-card:hover .arrow { background: var(--orange-500); border-color: var(--orange-500); }

/* PRICING */
.pricing {
  position: relative;
  margin-top: 48px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center;
  border-radius: var(--r-xl);
  padding: clamp(40px, 4vw, 64px);
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(255,102,0,0.32), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(255,140,66,0.18), transparent 60%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,140,66,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(80% 80% at 50% 50%, black, transparent 90%);
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,140,66,0.14), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,140,66,0.35);
  border-radius: var(--r-lg);
  padding: 36px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(255,102,0,0.30);
}
.price-card .label {
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-300); font-weight: 700;
}
.price-card .v {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 5vw + 1rem, 4.8rem);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff, var(--orange-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin: 14px 0;
}
.price-card .v small { font-size: 0.32em; color: rgba(255,255,255,0.65); font-weight: 600; letter-spacing: 0.04em; }
.price-card .btn { width: 100%; }

/* APP DOWNLOAD */
.app-strip {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px;
}
.app-strip img { height: 52px; width: auto; transition: transform .15s ease; }
.app-strip a:hover img { transform: translateY(-2px); }

/* MOSAIC band — decorative poster strip background */
.mosaic-band {
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0;
  background: var(--ink-950);
  overflow: hidden;
}
.mosaic-band .mosaic {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  z-index: 0;
}
@media (max-width: 800px) { .mosaic-band .mosaic { grid-template-columns: repeat(3, 1fr); } }
.mosaic-band .mosaic img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.32;
  filter: saturate(0.85);
}
.mosaic-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(5,5,5,0.4), var(--ink-950) 80%);
  z-index: 1;
}
.mosaic-band .container { position: relative; z-index: 2; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 36px; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq details {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 22px 26px;
  transition: border-color .2s ease, background .2s ease;
}
.faq details[open] { border-color: rgba(255,140,66,0.45); }
.faq summary {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; color: #fff;
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange-400); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }

/* FOOTER */
.footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer h5 {
  font-family: var(--font-display);
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px; font-weight: 700;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a:hover { color: #fff; }
.footer .brand img { height: 40px; width: auto; }
.footer .brand p { max-width: 320px; margin-top: 14px; font-size: 0.92rem; color: rgba(255,255,255,0.55); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85); font-size: 0.92rem;
  transition: background .15s ease;
}
.socials a:hover { background: rgba(255,140,66,0.18); border-color: rgba(255,140,66,0.45); }
.footer-bar {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
}
