/* Animated Kahaniyan — night sky + gold neon, matching the channel art */
:root {
  --night: #0e0b1f;
  --night-2: #171233;
  --night-3: #221a4a;
  --violet: #7b4dff;
  --violet-soft: #b9a8ff;
  --gold: #ffc83d;
  --amber: #ff8a2a;
  --cream: #fff4dc;
  --text: #efe9ff;
  --muted: #b6aed6;
  --card: rgba(34, 26, 74, 0.72);
  --line: rgba(185, 168, 255, 0.18);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: 'Nunito', system-ui, -apple-system, sans-serif;
  --display: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --urdu: 'Noto Nastaliq Urdu', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* bilingual: show one language at a time */
html[lang="en"] .ur, html[lang="ur"] .en { display: none !important; }
html[lang="ur"] body { font-family: var(--urdu); line-height: 2.1; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3 { font-family: var(--urdu); line-height: 1.9; }
html[lang="ur"] .lead, html[lang="ur"] p { font-size: 0.95em; }

/* ---------- night sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(123, 77, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 138, 42, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, var(--night) 100%); }
.moon { position: absolute; top: 70px; right: 8vw; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #fffbe8, #e6dcff 55%, #b9a8ff 100%);
  box-shadow: 0 0 60px 18px rgba(185, 168, 255, 0.35), 0 0 160px 60px rgba(123, 77, 255, 0.18); opacity: 0.85; }
html[dir="rtl"] .moon { right: auto; left: 8vw; }   /* Urdu text sits on the right, so the moon swaps sides */
.stars { position: absolute; inset: 0; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0.6;
  animation: twinkle var(--d, 4s) ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.8); } 50% { opacity: 0.95; transform: scale(1.2); } }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(14, 11, 31, 0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(255, 200, 61, 0.5); }
.brand-name { font: 800 21px/1 var(--display); letter-spacing: 0.2px;
  background: linear-gradient(90deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ur"] .brand-name { font-family: var(--urdu); font-size: 18px; line-height: 2; }
.links { display: flex; gap: 22px; margin-inline-start: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 15px; transition: color 0.2s; }
.links a:hover { color: var(--gold); }
.lang { border: 1px solid var(--gold); background: transparent; color: var(--gold); border-radius: 999px;
  padding: 6px 14px; font: 700 15px var(--font); cursor: pointer; transition: background 0.2s, color 0.2s; }
.lang:hover { background: var(--gold); color: var(--night); }
.lang .en { font-family: var(--urdu); }

/* ---------- shared ---------- */
main > section { width: min(1180px, 100% - 32px); margin: 0 auto; padding: clamp(56px, 8vw, 110px) 0 0; }
.eyebrow { margin: 0 0 10px; color: var(--gold); font: 800 14px/1.2 var(--font); letter-spacing: 2px; text-transform: uppercase; }
html[lang="ur"] .eyebrow { letter-spacing: 0; font-family: var(--urdu); font-size: 15px; line-height: 2; text-transform: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.note { margin: 0; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font: 800 17px var(--font);
  text-decoration: none; cursor: pointer; border: 0; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: linear-gradient(180deg, #ffd766, var(--gold) 55%, #f0a91c); color: #2a1a05;
  box-shadow: 0 10px 30px rgba(255, 200, 61, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.15); }
.btn.ghost { color: var(--text); border: 2px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.btn.ghost:hover { border-color: var(--violet-soft); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px) !important; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; display: block;
  background: linear-gradient(90deg, var(--gold), var(--amber) 45%, var(--violet-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #ddd5f7; max-width: 560px; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  font-weight: 700; font-size: 14px; }
.hero-art { display: grid; place-items: center; }
.ring { position: relative; width: min(460px, 82vw); aspect-ratio: 1; border-radius: 50%; padding: 10px;
  background: conic-gradient(from 200deg, var(--gold), var(--amber), var(--violet), var(--violet-soft), var(--gold));
  box-shadow: 0 0 60px rgba(255, 200, 61, 0.35), 0 0 120px rgba(123, 77, 255, 0.35); animation: float 6s ease-in-out infinite; }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid var(--night); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- ribbon ---------- */
.ribbon { margin-top: clamp(48px, 7vw, 90px); overflow: hidden; background: linear-gradient(90deg, var(--gold), var(--amber));
  color: #2a1a05; transform: rotate(-1.5deg); border-block: 3px solid #2a1a05; }
.track { display: flex; width: max-content; animation: scroll 28s linear infinite; }
.track span { font: 800 20px/1 var(--display); padding: 14px 0; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- latest ---------- */
.latest { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.phone { width: min(320px, 78vw); aspect-ratio: 9 / 16; border-radius: 34px; padding: 10px; background: #08060f;
  box-shadow: 0 0 0 2px #3b2f74, 0 0 50px rgba(123, 77, 255, 0.45), var(--shadow); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #000; }
.latest h2 { margin-bottom: 6px; }
.sub { color: var(--violet-soft); font-weight: 800; margin: 0 0 14px; font-size: 19px; }
.meta { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.meta li { padding: 6px 12px; border-radius: 10px; background: rgba(123, 77, 255, 0.16); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }

/* ---------- story cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--text); padding: 8px 16px;
  border-radius: 999px; font: 800 15px var(--font); cursor: pointer; transition: all 0.2s; }
.filters button.on { background: var(--gold); color: var(--night); border-color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; text-align: start; padding: 0; color: inherit; font: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 2px var(--gold); }
.thumb { position: relative; aspect-ratio: 9 / 13; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .thumb img { transform: scale(1.06); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 11, 31, 0.95)); }
.play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 200, 61, 0.92); color: var(--night); font-size: 24px; box-shadow: 0 0 0 8px rgba(255, 200, 61, 0.25); transition: transform 0.2s; }
.card:hover .play { transform: scale(1.1); }
.tag { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; font: 800 13px var(--font);
  background: rgba(14, 11, 31, 0.8); border: 1px solid var(--line); }
.dur { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; padding: 4px 8px; border-radius: 8px; font: 800 12px var(--font); background: rgba(0, 0, 0, 0.6); }
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 22px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
html[lang="ur"] .card p { line-height: 2.1; }
.card.soon { cursor: default; display: grid; place-items: center; min-height: 360px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(135deg, rgba(123, 77, 255, 0.12) 0 14px, rgba(123, 77, 255, 0.05) 14px 28px); border-style: dashed; }
.card.soon:hover { transform: none; box-shadow: var(--shadow); }
.soon .big { font-size: 46px; display: block; margin-bottom: 8px; }
.card.hide { display: none; }

/* ---------- characters ---------- */
.char-row, .genre-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.char { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow);
  transition: transform 0.25s; }
.char:hover { transform: translateY(-4px) rotate(-0.6deg); }
.char img { width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px var(--night), 0 0 0 7px var(--gold), 0 0 30px rgba(255, 200, 61, 0.35); }
.char h3 { font-size: 26px; margin-bottom: 8px; color: var(--gold); }
.char p { margin: 0; color: var(--muted); }

/* ---------- genres ---------- */
.genre { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.genre.comedy { background: linear-gradient(160deg, rgba(255, 200, 61, 0.22), rgba(34, 26, 74, 0.8)); }
.genre.horror { background: linear-gradient(160deg, rgba(123, 77, 255, 0.35), rgba(14, 11, 31, 0.9)); }
.genre.life { background: linear-gradient(160deg, rgba(255, 110, 150, 0.22), rgba(34, 26, 74, 0.8)); }
.g-ico { font-size: 42px; display: block; margin-bottom: 8px; }
.genre h3 { font-size: 28px; margin-bottom: 8px; }
.genre p { margin: 0; color: #ddd5f7; }

/* ---------- follow ---------- */
.follow { text-align: center; }
.follow > p { color: var(--muted); margin: 10px 0 26px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 16px; text-decoration: none; font: 800 17px var(--font);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: transform 0.15s, background 0.2s; }
.social svg { width: 24px; height: 24px; }
.social:hover { transform: translateY(-3px); }
.social.ig:hover { background: linear-gradient(45deg, #f9b233, #e1306c, #833ab4); }
.social.yt:hover { background: #e62117; }
.social.tt:hover { background: #111; box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55; }
.social.fb:hover { background: #1877f2; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(70px, 9vw, 120px); padding: 34px 16px 46px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); }
.foot p { margin: 4px 0; }
.small { font-size: 13px; opacity: 0.75; font-family: var(--font); }

/* ---------- player ---------- */
dialog#player { border: 0; padding: 14px; border-radius: 28px; background: #08060f; color: var(--text); width: min(400px, 92vw);
  box-shadow: 0 0 0 2px #3b2f74, 0 0 80px rgba(123, 77, 255, 0.55); }
dialog#player::backdrop { background: rgba(5, 3, 14, 0.82); backdrop-filter: blur(6px); }
#playerVideo { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #000; display: block; }
#playerTitle { text-align: center; margin: 12px 0 2px; font-size: 22px; }
.close { position: absolute; top: -14px; inset-inline-end: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--night); font-size: 18px; font-weight: 800; box-shadow: var(--shadow); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .links { display: none; }
  .lang { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .ring { width: min(340px, 78vw); }
  .lead { margin-inline: auto; }
  .cta, .chips { justify-content: center; }
  .latest { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .meta { justify-content: center; }
  .char-row, .genre-row { grid-template-columns: 1fr; }
  .section-head { justify-content: center; text-align: center; }
  .moon { width: 80px; height: 80px; top: 90px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 18px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card h3 { font-size: 17px; }
  .card p { display: none; }
  .play { width: 48px; height: 48px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
