:root {
  --bg: #0b0709;
  --bg-2: #140c10;
  --card: #1b1116;
  --line: rgba(255, 216, 138, .14);
  --text: #f6eee8;
  --muted: #b9a8a3;
  --red: #e3254c;
  --red-2: #a3122f;
  --gold: #ffd88a;
  --gold-2: #e9b057;
  --radius: 18px;
  --display: "Tiro Bangla", "Hind Siliguri", serif;
  --body: "Hind Siliguri", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 88px;
}
body::before {
  /* subtle film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; background: linear-gradient(100deg, var(--gold), var(--gold-2) 60%, #fff1cf); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 600 1rem/1.2 var(--body); text-decoration: none; border: 0; cursor: pointer;
  padding: .8rem 1.3rem; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }
.btn-primary {
  border: 0;
  background: linear-gradient(135deg, #ff4d6d, var(--red) 45%, var(--red-2));
  box-shadow: 0 10px 30px -8px rgba(227, 37, 76, .7), inset 0 1px 0 rgba(255,255,255,.35);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-primary:hover { filter: brightness(1.08); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-xl { padding: 1rem 1.8rem; font-size: 1.15rem; min-height: 64px; animation: pulse 2.4s ease-in-out infinite; }
.btn-xl .ico { width: 30px; height: 30px; fill: #fff; flex: none; }
.btn-xl span { display: flex; flex-direction: column; text-align: left; }
.btn-xl b { font-size: 1.2rem; }
.btn-xl small { font-weight: 400; font-size: .78rem; opacity: .85; }
.btn-ghost { background: transparent; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(227,37,76,.7), 0 0 0 0 rgba(227,37,76,.45); }
  50% { box-shadow: 0 10px 30px -8px rgba(227,37,76,.7), 0 0 0 14px rgba(227,37,76,0); }
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.1rem;
  background: linear-gradient(180deg, rgba(11,7,9,.85), rgba(11,7,9,0));
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand-mark, .sb-icon {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ff4d6d, var(--red-2));
  box-shadow: 0 4px 14px -4px rgba(227,37,76,.8);
}
.brand-mark svg, .sb-icon svg { width: 16px; fill: var(--gold); }
.brand-name { font: 1.25rem var(--display); letter-spacing: .01em; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; transform: scale(1.05); animation: kenburns 18s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(11,7,9,0) 30%, rgba(11,7,9,.6) 70%),
    linear-gradient(180deg, rgba(11,7,9,.25) 0%, rgba(11,7,9,.35) 35%, rgba(11,7,9,.92) 70%, var(--bg) 100%);
}
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }

.hero-inner {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding: 7rem 1.25rem 2.5rem;
  display: grid; gap: 2.5rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 500; color: var(--gold);
  padding: .3rem .85rem; border-radius: 999px;
  background: rgba(255,216,138,.08); border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.free-tag {
  font-weight: 700; font-size: .78rem; color: #fff; letter-spacing: .02em;
  padding: .1rem .55rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 0 0 0 var(--red); animation: live 1.6s infinite;
}
.hl-free { color: var(--gold); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(227,37,76,0); } 100% { box-shadow: 0 0 0 0 rgba(227,37,76,0); } }

h1 {
  font: 400 clamp(2.3rem, 8.5vw, 4.4rem)/1.15 var(--display);
  margin: 1rem 0 .9rem; text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.lead { color: #e7dad4; max-width: 34rem; font-size: 1.05rem; }

.cta-group { margin-top: 1.6rem; display: grid; gap: .9rem; justify-items: start; scroll-margin-top: 100px; }
.gift {
  display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted);
  padding: .55rem .9rem; border-radius: 12px; background: rgba(27,17,22,.7); border: 1px dashed rgba(255,216,138,.3);
}
.gift b { color: var(--gold); }
.gift-ico { font-size: 1.2rem; }
.countdown { font-variant-numeric: tabular-nums; }

.trust { list-style: none; display: flex; gap: 1.6rem; margin-top: 1.8rem; }
.trust li { display: flex; flex-direction: column; line-height: 1.25; }
.trust b { font: 1.4rem var(--display); color: var(--gold); }
.trust span { font-size: .8rem; color: var(--muted); }
.trust li + li { padding-left: 1.6rem; border-left: 1px solid var(--line); }

/* Phone mockup */
.phone-wrap { position: relative; display: none; justify-self: center; }
.phone {
  width: 270px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 10px;
  background: linear-gradient(145deg, #2a1d22, #0e0a0c);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,216,138,.2), inset 0 0 0 2px #000;
  transform: rotate(4deg); animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: rotate(4deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 80px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.ps-overlay { position: absolute; inset: auto 0 0; padding: 4rem 1rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.ps-tag { font-size: .7rem; padding: .15rem .5rem; border-radius: 6px; background: var(--red); }
.ps-title { font: 1.15rem var(--display); margin: .4rem 0 .6rem; }
.ps-bar { height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; }
.ps-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; animation: progress 8s linear infinite; }
@keyframes progress { to { width: 100%; } }
.ps-side { position: absolute; right: .6rem; bottom: 6.5rem; display: grid; gap: .9rem; text-align: center; font-size: 1.3rem; }
.ps-side small { display: block; font-size: .62rem; }
.float-card {
  position: absolute; padding: .6rem .9rem; border-radius: 14px; font-size: .78rem; line-height: 1.3;
  background: rgba(27,17,22,.75); border: 1px solid var(--line); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; box-shadow: 0 20px 40px -15px rgba(0,0,0,.8);
}
.float-card span { color: var(--muted); }
.fc-1 { top: 18%; left: -70px; animation: floaty2 5s ease-in-out infinite; }
.fc-2 { bottom: 16%; right: -60px; animation: floaty2 5s ease-in-out -2.5s infinite; }
@keyframes floaty2 { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: .85rem 0; }
.marquee-track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { white-space: nowrap; color: var(--muted); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1160px; margin: 0 auto; padding: 4rem 1.25rem 0; }
.section-head { margin-bottom: 1.6rem; }
.kicker { color: var(--red); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
h2 { font: 400 clamp(1.7rem, 5.5vw, 2.6rem)/1.25 var(--display); }

/* Drama rail */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem;
  margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.drama {
  scroll-snap-align: start; position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 9 / 15; background: var(--card); text-decoration: none; cursor: pointer;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.9);
  transition: transform .3s ease;
}
.drama:hover { transform: translateY(-6px); }
.drama img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.drama:hover img { transform: scale(1.06); }
.drama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,4,6,.95)); }
.drama .rank {
  position: absolute; top: .6rem; left: .6rem; z-index: 1; font: 1.6rem/1 var(--display);
  color: var(--gold); text-shadow: 0 2px 10px rgba(0,0,0,.7);
}
.drama .badge {
  position: absolute; top: .7rem; right: .6rem; z-index: 1; font-size: .68rem; font-weight: 600;
  padding: .12rem .5rem; border-radius: 6px; background: var(--red);
}
.drama .meta { position: absolute; inset: auto 0 0; z-index: 1; padding: .9rem; }
.drama h3 { font: 1.08rem/1.3 var(--display); }
.drama p { font-size: .75rem; color: var(--muted); margin-top: .2rem; }
.drama .play {
  position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.35);
  opacity: .9; transition: transform .2s;
}
.drama:hover .play { transform: scale(1.1); }
.drama .play svg { width: 18px; fill: #fff; margin-left: 3px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.feature {
  padding: 1.2rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,216,138,.06), rgba(227,37,76,.04) 60%, transparent), var(--card);
  border: 1px solid var(--line);
}
.f-ico { font-size: 1.6rem; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(227,37,76,.14); }
.feature h3 { font: 1.15rem var(--display); margin: .7rem 0 .25rem; }
.feature p { font-size: .88rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; display: grid; gap: .9rem; counter-reset: s; }
.steps li {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.step-n {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 1.3rem var(--display); color: #1a0d10;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}
.steps h3 { font-size: 1.05rem; font-weight: 600; }
.steps p { color: var(--muted); font-size: .9rem; }
.steps b { color: var(--text); }

.download-card {
  margin-top: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; align-items: center;
  padding: 1.4rem; border-radius: 24px; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(227,37,76,.35), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(255,216,138,.18), transparent 60%), var(--card);
  border: 1px solid rgba(255,216,138,.25);
}
.dc-icon { border-radius: 16px; box-shadow: 0 10px 24px -8px rgba(227,37,76,.8); }
.dc-info h3 { font: 1.15rem var(--display); }
.dc-info p { font-size: .85rem; color: var(--muted); }
.dc-safe { color: #7fdca0 !important; }
.download-card .btn { grid-column: 1 / -1; }

/* Reviews */
.reviews { display: grid; gap: .9rem; }
.review { padding: 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stars { color: var(--gold); letter-spacing: .15em; }
.review blockquote { font: 1.05rem/1.6 var(--display); margin: .5rem 0 .9rem; }
.review figcaption { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .88rem; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-2)); }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; }
.faq b { color: var(--text); }

/* Final CTA */
.final { text-align: center; padding: 5rem 1.25rem 3rem; position: relative; }
.final-posters { display: flex; justify-content: center; margin-bottom: 2rem; }
.final-posters img { width: 110px; aspect-ratio: 9/14; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.9); border: 2px solid rgba(255,216,138,.2); }
.final-posters img:nth-child(1) { transform: rotate(-9deg) translate(18px, 12px); }
.final-posters img:nth-child(2) { position: relative; z-index: 1; transform: scale(1.12); }
.final-posters img:nth-child(3) { transform: rotate(9deg) translate(-18px, 12px); }
.final h2 { margin-bottom: 1.6rem; }
.fineprint { margin-top: .9rem; font-size: .8rem; color: var(--muted); }

.footer { text-align: center; padding: 2rem 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: grid; gap: .3rem; }
.footer a { color: var(--muted); }

/* ---------- Sticky bar ---------- */
.sticky-bar {
  position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .75rem; padding: .6rem .6rem .6rem .75rem;
  border-radius: 20px; background: rgba(27,17,22,.86); border: 1px solid rgba(255,216,138,.22);
  backdrop-filter: blur(16px); box-shadow: 0 20px 50px -10px rgba(0,0,0,.9);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.sticky-bar.show { transform: none; }
.sb-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.sb-text small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- In-app hint & toast ---------- */
.inapp { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); display: grid; align-items: start; padding: 1rem; }
.inapp[hidden] { display: none; }
.inapp-card { margin-top: 3.5rem; padding: 1.4rem; border-radius: 20px; background: var(--card); border: 1px solid var(--line); position: relative; }
.inapp-arrow { position: absolute; top: -3.3rem; right: .4rem; font-size: 2.6rem; color: var(--gold); animation: floaty2 1.4s ease-in-out infinite; }
.inapp h3 { font: 1.3rem var(--display); margin-bottom: .4rem; }
.inapp p { color: var(--muted); font-size: .92rem; }
.inapp b { color: var(--gold); }
.inapp-actions { display: flex; gap: .6rem; margin-top: 1.1rem; }
.inapp-actions .btn { flex: 1; }

.toast {
  position: fixed; z-index: 95; left: 50%; top: 1rem; translate: -50% -150%;
  padding: .75rem 1.1rem; border-radius: 14px; font-size: .9rem; max-width: calc(100% - 2rem);
  background: #1f3a2a; border: 1px solid #3f7d57; color: #d9f7e4;
  transition: translate .35s ease; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.toast.show { translate: -50% 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .rail { grid-auto-columns: 30%; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .download-card { grid-template-columns: auto 1fr auto; }
  .download-card .btn { grid-column: auto; }
  .final-posters img { width: 150px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .hero { align-items: center; }
  .hero-inner { grid-template-columns: 1.2fr .8fr; align-items: center; padding-top: 6rem; }
  .phone-wrap { display: block; }
  .rail { grid-auto-columns: calc((100% - 4.5rem) / 6); overflow: visible; margin: 0; padding: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .faq { max-width: 760px; }
  .sticky-bar { left: auto; right: 1.5rem; bottom: 1.5rem; width: 360px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
