/* =============================================================
   MOVIE LANDING ("Фильм" mode) — stylesheet
   Block naming follows the shared template contract:
   nav.navbar > ul.navbar-nav > li.nav-item / div#player.dreams-player /
   div.movie > .movie-details / div.comments > h2 + ul > li / footer > .row > .col
   Accent scheme is switched via <html data-theme="..."> (config.js).
   Loads after Bootstrap 5 CSS and overrides its defaults where needed.
   ============================================================= */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --bg:        #07080c;
  --bg-2:      #0c0e15;
  --surface:   rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.15);

  --ink:   #f3f5f9;
  --ink-2: #c8cfdb;
  --muted: #8f99aa;
  --faint: #66707f;

  /* default scheme: crimson */
  --accent:      #ff2f45;
  --accent-2:    #b8001f;
  --accent-soft: rgba(255,47,69,.14);
  --accent-glow: rgba(255,47,69,.55);
  --glow-b:      #3b6dff;

  --font-display: 'Unbounded Variable', 'Unbounded', system-ui, sans-serif;
  --font-ui:      'Manrope Variable', 'Manrope', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius:    18px;
  --gutter:    clamp(16px, 4vw, 32px);
  --shadow:    0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
}
[data-theme="gold"]    { --accent:#f2b632; --accent-2:#b87d0b; --accent-soft:rgba(242,182,50,.14);  --accent-glow:rgba(242,182,50,.5);  --glow-b:#ff6a3d; }
[data-theme="indigo"]  { --accent:#7c6cff; --accent-2:#4a3bc0; --accent-soft:rgba(124,108,255,.16); --accent-glow:rgba(124,108,255,.55); --glow-b:#ff4fb0; }
[data-theme="emerald"] { --accent:#22c77a; --accent-2:#0e8a52; --accent-soft:rgba(34,199,122,.14);  --accent-glow:rgba(34,199,122,.5);  --glow-b:#22b8cf; }
[data-theme="ocean"]   { --accent:#22b8cf; --accent-2:#0d7f92; --accent-soft:rgba(34,184,207,.14);  --accent-glow:rgba(34,184,207,.5);  --glow-b:#7c6cff; }

/* ------------------------------ Base (overrides Bootstrap reboot) ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: clamp(56px, 8vw, 104px); }
.section-head { margin-bottom: clamp(20px, 3vw, 32px); }
.eyebrow { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(24px, 3.4vw, 38px); letter-spacing: -.01em; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------ Background layers ------------------------------ */
.bg-image {
  position: fixed; inset: -6%; z-index: -2; pointer-events: none;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: var(--bg-opacity, .28);
  filter: blur(var(--bg-blur, 4px)) saturate(.9);
  transform: scale(1.04);
}
.bg-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(0,0,0,.15), transparent 70%),
    linear-gradient(180deg, rgba(7,8,12,.55) 0%, rgba(7,8,12,.82) 42%, var(--bg) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ------------------------------ Buttons (.cta avoids Bootstrap .btn) ------------------------------ */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border: none; border-radius: 14px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.cta:active { transform: translateY(1px) scale(.99); }
.cta-primary {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 36px var(--accent-glow);
}
.cta-primary::after { /* soft sheen sweeping across */
  content: ''; position: absolute; top: -40%; bottom: -40%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); animation: sheen 4.5s ease-in-out infinite;
}
.cta-primary:hover { color: #fff; box-shadow: 0 18px 44px var(--accent-glow); }
.cta-ghost { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); }
.cta-ghost:hover { background: rgba(255,255,255,.09); }
.cta .play { display: inline-block; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ------------------------------ Animations ------------------------------ */
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 140%; } }
@keyframes drift {
  0%   { transform: translate(-6%, -4%) scale(1); }
  50%  { transform: translate(6%, 5%) scale(1.08); }
  100% { transform: translate(-6%, -4%) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes focusGlow {
  0%, 100% { box-shadow: var(--shadow); }
  45%      { box-shadow: 0 0 0 2px var(--accent), 0 0 46px var(--accent-glow), 0 30px 80px rgba(0,0,0,.6); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ------------------------------ Navbar (contract: nav.navbar > ul.navbar-nav > li.nav-item) ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,8,12,.6);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(7,8,12,.82); }
.navbar { /* reset Bootstrap .navbar spacing/wrapping */
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 18px;
  padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .04em;
  box-shadow: 0 8px 22px var(--accent-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.navbar-nav { /* explicitly row: Bootstrap sets column by default */
  display: flex; flex-direction: row; align-items: center; gap: 2px;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.nav-item { display: flex; }
.nav-link {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background .18s, color .18s;
}
.nav-link:hover, .nav-link:focus { color: #fff; background: var(--surface-2); }
.navbar .cta { height: 42px; padding: 0 20px; font-size: 13px; flex: 0 0 auto; }

/* ------------------------------ Player (contract: #player.dreams-player inside .video-wrapper) ------------------------------ */
.player-section { position: relative; max-width: 1080px; margin: clamp(20px, 3vw, 36px) auto 0; }
.ambient {
  position: absolute; inset: -14% -10%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .85;
  background:
    radial-gradient(45% 55% at 25% 40%, var(--accent-glow), transparent 70%),
    radial-gradient(45% 55% at 78% 65%, color-mix(in srgb, var(--glow-b) 55%, transparent), transparent 70%);
  animation: drift 16s ease-in-out infinite;
}
.player-frame {
  position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: #000; box-shadow: var(--shadow);
}
.player-frame::before { /* 1px gradient edge */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,.05) 40%, var(--accent-glow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.player-frame.is-focus { animation: focusGlow 1.3s ease-in-out 4; }
.video-wrapper {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.video-wrapper::after { /* scrim over the preview still */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.dreams-player {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #e9edf5; font-weight: 600; font-size: clamp(13px, 1.6vw, 15px); letter-spacing: .02em; text-align: center;
}
.dreams-player.is-loading::after { /* CSS loading ring, no extra DOM inside the player node */
  content: ''; order: -1; width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18); border-top-color: var(--accent);
  animation: spin .9s linear infinite;
}

/* ------------------------------ Trust strip ------------------------------ */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px auto 0; max-width: 1080px; }
.trust-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.trust-item .ico { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.trust-item .ico svg { width: 18px; height: 18px; }
.trust-item .t { font-size: 13.5px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }

/* ------------------------------ Movie (contract: div.movie > .movie-details) ------------------------------ */
.movie { margin-top: clamp(36px, 5vw, 56px); }
.movie-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.movie-title {
  font-weight: 800; font-size: clamp(30px, 5vw, 58px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #dfe4ee 60%, #a9b2c3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.movie-title .accent { background: linear-gradient(180deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; }

.movie-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.movie-rating .score {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.movie-rating .score svg { width: 13px; height: 13px; fill: #fff; }
.stars { position: relative; display: inline-block; width: 92px; height: 16px; --fill: 70%; }
.stars svg { position: absolute; inset: 0; width: 92px; height: 16px; }
.stars .base { fill: rgba(255,255,255,.14); }
.stars .fill { fill: var(--accent); clip-path: inset(0 calc(100% - var(--fill)) 0 0); }

.movie-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.movie-meta > span {
  padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.movie-meta > span.hot { background: var(--accent-soft); border-color: var(--accent-glow); color: #fff; }
.movie-tagline { margin-top: 16px; color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); max-width: 66ch; }

.movie-body { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.poster {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 2 / 3;
  background: linear-gradient(160deg, #1a1f2b, #0b0e15); box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(0deg); transition: transform .5s ease;
}
.poster:hover { transform: perspective(1200px) rotateY(-4deg) translateY(-4px); }
.poster::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.description-poster { width: 100%; height: 100%; object-fit: cover; }
.description { color: var(--ink-2); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; max-width: 66ch; }
.description p + p { margin-top: 12px; }

.movie-facts { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fact .k { color: var(--muted); font-weight: 600; }
.fact .v { color: var(--ink); }
.fact.wide { grid-column: 1 / -1; }
.actors-section { margin-top: 22px; }
.actors-section h2 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.actors-list { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

/* ------------------------------ Why watch (.why-card avoids Bootstrap .card) ------------------------------ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.why-card {
  position: relative; padding: 26px 24px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.why-card .num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: rgba(255,255,255,.05); position: absolute; top: 10px; right: 16px; }
.why-card .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.why-card .ico svg { width: 20px; height: 20px; }
.why-card h3 { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ------------------------------ Steps ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { padding: 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step .n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px; color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  font-family: var(--font-display); font-weight: 700; font-size: 18px; box-shadow: 0 8px 20px var(--accent-glow);
}
.step h3 { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ------------------------------ Comments (contract: div.comments > h2 + ul.comments-list > li.comment-card) ------------------------------ */
.comments-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.comment-card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px;
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
}
.comment-avatar {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.comment-card:nth-child(3n+2) .comment-avatar { background: linear-gradient(135deg, #3b6dff, #1f3fae); }
.comment-card:nth-child(3n)   .comment-avatar { background: linear-gradient(135deg, #22b8cf, #0d7f92); }
.comment-content { min-width: 0; }
.comment-header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.comment-author { font-weight: 800; font-size: 14px; }
.comment-date { font-size: 12px; color: var(--faint); }
.comment-body { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }

.comment-form { margin-top: 18px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.comment-form h3 { font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.comment-form textarea {
  width: 100%; min-height: 96px; resize: vertical; padding: 14px; border-radius: 12px; outline: none;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--ink); font: inherit;
}
.comment-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.comment-form .form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.comment-form .note { font-size: 13px; color: var(--muted); }
.comment-form .thanks { display: none; font-size: 13px; color: var(--accent); font-weight: 700; }
.comment-form.is-sent .thanks { display: inline; }
.comment-form.is-sent .note { display: none; }
.comment-form .cta { height: 46px; padding: 0 22px; }

/* ------------------------------ FAQ ------------------------------ */
.faq { max-width: 860px; margin-inline: auto; }
.faq .section-head { text-align: center; }
.faq-item { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: none; cursor: pointer; text-align: left; color: var(--ink); }
.faq-q .q { font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.faq-q .plus { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; line-height: 1; transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ------------------------------ Closing CTA ------------------------------ */
.closing {
  position: relative; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 40px);
  border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, #0b0e15), #0b0e15 55%, color-mix(in srgb, var(--glow-b) 18%, #0b0e15));
}
.closing::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 90% at 50% 0%, var(--accent-soft), transparent 65%); }
.closing .in { position: relative; }
.closing h2 { font-size: clamp(22px, 3.4vw, 36px); margin-bottom: 12px; }
.closing p { color: var(--ink-2); max-width: 54ch; margin: 0 auto 26px; }

/* ------------------------------ Footer (contract: footer > .container > .row > .col) ------------------------------ */
.site-footer { margin-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); padding: 44px 0 clamp(96px, 10vw, 40px); }
.site-footer > .container { max-width: var(--container); padding-inline: var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; margin: 0; }
.footer-grid > * { padding-left: 0; padding-right: 0; } /* neutralize Bootstrap .row > * gutters */
.footer-col { min-width: 0; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--faint); font-size: 12.5px; line-height: 1.6; max-width: 46ch; }
.footer-title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 14px; transition: color .18s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }

/* ------------------------------ Sticky mobile CTA ------------------------------ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7,8,12,0), rgba(7,8,12,.94) 35%);
}
.sticky-cta .cta { width: 100%; height: 54px; }

/* ------------------------------ Reveal on scroll ------------------------------ */
html[data-reveal="on"] [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html[data-reveal="on"] [data-reveal].in { opacity: 1; transform: none; }
[hidden] { display: none !important; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 900px) {
  .movie-body { grid-template-columns: 1fr; }
  .poster { max-width: 280px; }
  .movie-facts { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 110px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .navbar-nav { display: none; }   /* 3 short anchors, hidden on phones; sticky CTA takes over */
  .navbar .cta { display: none; }
  .brand-sub { max-width: 52vw; }
  .sticky-cta { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html[data-reveal="on"] [data-reveal] { opacity: 1; transform: none; }
}
