/* Лендинги для поиска (/uk/, /pl/, /en/, /ru/): лёгкие, без three.js, в стиле сайта
   «ночная сказка»: индиго, золото, свет свечей. Генерирует их tools/build_seo.mjs. */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-700-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-ext-700-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-ext-400-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-cyrillic-800-normal.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/manrope-cyrillic-ext-800-normal.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Marck Script'; font-weight: 400; font-display: swap; src: url(/fonts/marck-script-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --night0: #060920; --night: #0b1033; --night2: #141b4f; --indigo: #262068;
  --gold: #e8c675; --gold-hi: #f8e6ad; --gold-lo: #b0812f; --candle: #ffc867;
  --velvet: #a3182f; --cream: #f7efdc;
  --text: #efe7d4; --text-2: rgba(239, 231, 212, .8); --text-3: rgba(239, 231, 212, .62);
  --line: rgba(232, 198, 117, .42); --line-soft: rgba(232, 198, 117, .18);
  --card: rgba(20, 27, 79, .55);
  --gold-grad: linear-gradient(180deg, #fbeab4 0%, #e8c272 48%, #c08f3c 100%);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: Manrope, 'Segoe UI', system-ui, sans-serif;
  --script: 'Marck Script', 'Segoe Script', cursive;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { background: var(--night0); -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; font: 400 17px/1.65 var(--sans); color: var(--text);
  background:
    radial-gradient(1100px 600px at 50% -10%, rgba(64, 58, 160, .5), transparent 62%),
    radial-gradient(800px 480px at 95% 105%, rgba(255, 176, 88, .1), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night0) 100%) fixed;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
/* звёзды (статичные, без анимации: страница должна быть тихой и быстрой) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
  background-image:
    radial-gradient(1.2px 1.2px at 23px 41px, #fff8e1 99%, transparent),
    radial-gradient(1px 1px at 141px 97px, #fff 99%, transparent),
    radial-gradient(1.6px 1.6px at 271px 33px, #ffe7b0 99%, transparent),
    radial-gradient(1px 1px at 333px 211px, #fff 99%, transparent),
    radial-gradient(1.3px 1.3px at 97px 263px, #fff3d6 99%, transparent),
    radial-gradient(1.5px 1.5px at 381px 371px, #ffe2a0 99%, transparent);
  background-size: 400px 400px;
}
a { color: var(--gold-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff3c4; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--night2); padding: 8px 14px; border-radius: 8px; }

/* ---------- шапка ---------- */
.top { border-bottom: 1px solid var(--line-soft); background: rgba(6, 9, 32, .55); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.logo img { width: 44px; height: 44px; flex: none; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 221, 150, .4), 0 6px 18px rgba(232, 110, 80, .35), 0 0 24px rgba(255, 190, 110, .3); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
/* «ADVENT» мелкой золотой разрядкой над рукописным «Cartoon Castle» / «Movie Castle», как в приложении */
.logo small { font-size: 10px; font-weight: 800; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: .9; margin: 0 0 -1px 2px; }
.logo b { font: 400 27px/1.15 var(--script); white-space: nowrap; background: linear-gradient(180deg, #fff6d6 10%, #efcf85 55%, #c99645 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu { display: flex; gap: 4px 16px; flex-wrap: wrap; font-size: 15px; }
.menu a { color: var(--text-2); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current] { color: var(--gold-hi); border-bottom-color: var(--line); }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.langs a, .langs span { padding: 5px 8px; border-radius: 999px; text-decoration: none; color: var(--text-3); }
.langs span { color: var(--night0); background: var(--gold-grad); }
.langs a:hover { color: var(--gold-hi); background: rgba(232, 198, 117, .12); }

/* ---------- крошки и заголовки ---------- */
.crumbs { font-size: 14px; color: var(--text-3); margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--gold-lo); }
.crumbs a { color: var(--text-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; font-variant-numeric: lining-nums; line-height: 1.12; color: var(--cream); margin: 0; }
h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.01em; margin: 18px 0 16px; text-wrap: balance; }
h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(27px, 3.4vw, 38px); margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 24px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 760px; }
section { margin: 56px 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }

/* ---------- первый экран ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; margin-top: 36px; }
.hero-art { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 6px rgba(232, 198, 117, .06); aspect-ratio: 1200 / 630; background: var(--night2); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; line-height: 1.2;
  border: 1px solid var(--line); color: var(--gold-hi); background: rgba(232, 198, 117, .07);
}
.btn:hover { background: rgba(232, 198, 117, .16); color: #fff3c4; }
.btn.gold { background: var(--gold-grad); color: #2a1a05; border-color: #f6dc97; box-shadow: 0 8px 26px rgba(232, 180, 80, .28); }
.btn.gold:hover { filter: brightness(1.06); color: #2a1a05; }
.btn svg { width: 18px; height: 18px; flex: none; }
.note { font-size: 14px; color: var(--text-3); }

/* ---------- карточки ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
a.card { display: block; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--line); transform: translateY(-2px); color: var(--text); }
a.card h3 { color: var(--gold-hi); }
a.card p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.card .ico { font-size: 30px; line-height: 1; display: block; margin-bottom: 10px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 70px 20px 20px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; }
.steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font: 700 20px/1 var(--serif); color: #2a1a05; background: var(--gold-grad);
}
.steps b { display: block; color: var(--cream); margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; }
.chips li { font-size: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text-2); background: rgba(255, 255, 255, .03); }

/* ---------- список фильмов ---------- */
.films { display: grid; gap: 14px; }
.film { display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 20px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; }
.film-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: 14px; background: linear-gradient(180deg, rgba(232, 198, 117, .16), rgba(232, 198, 117, .04));
  border: 1px solid var(--line); height: 92px; text-align: center;
}
.film-day b { font: 700 36px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold-hi); }
.film-day small { font-size: 12px; color: var(--text-3); line-height: 1.2; }
.film-day i { font-style: normal; font-size: 18px; line-height: 1; }
.film h3 { font-size: 26px; }
.film h3 span { color: var(--text-3); font-family: var(--sans); font-size: 16px; font-weight: 400; }
.film .meta { font-size: 14px; color: var(--gold); margin: 2px 0 10px; letter-spacing: .02em; }
.film p { color: var(--text-2); }
.film p:last-child { margin-bottom: 0; }
.film .why b, .film .alts b { color: var(--cream); }
.film .alts { font-size: 15px; color: var(--text-3); }

/* ---------- раскраски ---------- */
.pages { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cp { margin: 0; background: var(--card); border: 1px solid var(--line-soft); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; }
.cp img { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; background: #fff; }
.cp figcaption { padding: 10px 4px 2px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cp figcaption b { font-size: 16px; color: var(--cream); }
.cp .acts { display: flex; gap: 8px; margin-top: auto; }
.cp .acts a { flex: 1; text-align: center; font-size: 13.5px; font-weight: 800; padding: 8px 6px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); }
.cp .acts a:first-child { background: var(--gold-grad); color: #2a1a05; border-color: #f6dc97; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 0 20px; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 30px 17px 0; font-weight: 800; color: var(--cream); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font: 400 28px/1 var(--serif); color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-2); margin: 0 0 18px; }

/* ---------- текстовые блоки ---------- */
.prose { max-width: 780px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; margin: 0 0 14px; }
.band { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(600px 240px at 0% 0%, rgba(232, 198, 117, .12), transparent 70%), var(--card); }
.band .cta { margin-bottom: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-soft); text-decoration: none; color: var(--text-2); }
.toc a:hover { border-color: var(--line); color: var(--gold-hi); }
.rewards { columns: 2 220px; column-gap: 24px; padding: 0; list-style: none; margin: 0; }
.rewards li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); color: var(--text-2); display: flex; justify-content: space-between; gap: 10px; }
.rewards li span { color: var(--gold); white-space: nowrap; }

/* ---------- подвал ---------- */
.foot { margin-top: 70px; border-top: 1px solid var(--line-soft); padding: 34px 0 40px; font-size: 14.5px; color: var(--text-3); background: rgba(6, 9, 32, .5); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h2 { font-size: 20px; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--text-2); }
.foot .small { font-size: 13px; margin-top: 22px; }

@media (max-width: 860px) {
  .hero, .two { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 8px 14px; }
  .logo b { font-size: 23px; }
  .logo img { width: 38px; height: 38px; border-radius: 10px; }
  .menu { order: 3; width: 100%; font-size: 14px; gap: 2px 14px; }
  section { margin: 42px 0; }
  .film { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .film-day { flex-direction: row; height: auto; padding: 8px 12px; justify-content: flex-start; gap: 10px; }
  .film-day b { font-size: 28px; }
  .film h3 { font-size: 23px; }
  .pages { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cp { padding: 8px; }
  .cp .acts { flex-direction: column; }
  .band { padding: 22px 18px; }
  .btn { width: 100%; }
  .foot .cols { grid-template-columns: 1fr; }
}
@media print {
  body { background: #fff; color: #000; }
  .top, .foot, .cta, .band, .crumbs { display: none; }
}

/* картинка первого экрана внутренних страниц (замок, ёлка) */
.page-art { margin: 6px 0 34px; max-width: 920px; }

.page-art.tall { aspect-ratio: 670 / 780; max-width: 420px; }
