/* ============================================================
   Стрижи: Два мира — style.css (версия 1: «дневник экспедиции», тёмная)
   Палитра: ночные джунгли + раскалённая лава + лёд «второго мира»,
   акценты — бронза и пергамент дневника экспедиции
   ============================================================ */

:root {
  --bg-deep:      #0d1411;
  --bg-night:     #121c17;
  --bg-card:      #18231d;
  --bg-card-2:    #1f2d25;

  --lava:         #ff7a2e;
  --lava-light:   #ffc36b;
  --lava-deep:    #d9481c;
  --amber-text:   #ffcf86;

  --ice:          #7cb8ff;
  --ice-deep:     #4a6fe0;

  --parchment:    #f3e4c4;
  --parchment-2:  #e6cf9f;
  --ink:          #3b2a17;

  --text:         #f7f0e3;
  --text-soft:    #d2c6ad;
  --text-muted:   #978b72;
  --text-dark:    #2e1a08;

  --line:         rgba(255, 236, 200, .1);
  --glow:         rgba(255, 122, 46, .38);
  --glow-ice:     rgba(124, 184, 255, .35);

  --font-display: 'Oswald', 'Rubik', sans-serif;
  --font-ui:      'Rubik', sans-serif;
  --font-body:    'Nunito', sans-serif;
  --font-hand:    'Caveat', cursive;

  --radius-lg:  24px;
  --radius-md:  18px;
  --radius-sm:  12px;
  --radius-btn: 999px;

  --container:      1200px;
  --container-wide: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(217, 72, 28, .16), transparent 70%),
    repeating-radial-gradient(circle at 12% 18%, transparent 0 34px, rgba(255, 207, 134, .035) 34px 35px),
    repeating-radial-gradient(circle at 88% 62%, transparent 0 40px, rgba(124, 184, 255, .03) 40px 41px),
    linear-gradient(180deg, rgba(13, 20, 17, .9) 0%, rgba(13, 20, 17, .84) 50%, rgba(13, 20, 17, .92) 100%),
    url('img/bg-tomb.webp') center / cover no-repeat;
  background-attachment: fixed, scroll, scroll, fixed, fixed;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { max-width: 100%; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 14% 30%, rgba(255, 160, 80, .55), transparent),
    radial-gradient(1.5px 1.5px at 36% 70%, rgba(255, 200, 120, .4), transparent),
    radial-gradient(2px 2px at 62% 18%, rgba(255, 122, 46, .5), transparent),
    radial-gradient(1px 1px at 76% 52%, rgba(124, 184, 255, .5), transparent),
    radial-gradient(1.5px 1.5px at 90% 82%, rgba(255, 170, 90, .45), transparent),
    radial-gradient(1px 1px at 48% 92%, rgba(124, 184, 255, .4), transparent);
}

.ph-img { display: block; width: 100%; height: 100%; object-fit: cover; border: none; background: none; }
.ph-img--contain { object-fit: contain; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container       { max-width: var(--container);      margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section         { position: relative; padding: 60px 0; z-index: 1; }

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 6px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.eyebrow::after { transform: scaleX(-1); }
.eyebrow--left { justify-content: flex-start; }
.eyebrow--left::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 44px;
  /* постерный заголовок: лава-золото с объёмной «вырезанной» тенью */
  color: #ffb23f;
  text-shadow:
    0 1px 0 #f08a1c, 0 2px 0 #d9701a, 0 3px 0 #bd5814, 0 4px 0 #9c440f,
    0 5px 0 #7a320a, 0 6px 0 #5a2406, 0 12px 22px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 140, 40, .18);
}
.section-title--left { text-align: left; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(180deg, var(--lava-light) 0%, var(--lava) 55%, var(--lava-deep) 100%);
  color: var(--text-dark);
  border: 2px solid #ffb061;
  box-shadow: 0 8px 26px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--glow); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(124, 184, 255, .65);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(124, 184, 255, .14); }

.btn--card {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  background: linear-gradient(180deg, var(--lava-light) 0%, var(--lava) 55%, var(--lava-deep) 100%);
  color: var(--text-dark);
  border: 2px solid #ffb061;
  box-shadow: 0 6px 18px rgba(217, 72, 28, .28);
}
.btn--card:hover { transform: translateY(-2px); }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px 0; transition: background .3s, box-shadow .3s; }
.header--scrolled { background: rgba(13, 20, 17, .88); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { flex-shrink: 0; display: block; width: 118px; }
.header__logo img { display: block; width: 100%; height: auto; }
.header__nav { display: flex; align-items: center; gap: 30px; }
.header__link { font-family: var(--font-ui); font-weight: 500; font-size: 15px; color: var(--text-soft); transition: color .2s; position: relative; }
.header__link:hover { color: var(--lava-light); }
.header__link::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--lava); border-radius: 2px; transition: width .25s; }
.header__link:hover::after { width: 100%; }
.header__link--switch { padding: 6px 14px; border-radius: var(--radius-btn); border: 1px solid rgba(124, 184, 255, .45); color: var(--ice); font-size: 13.5px; }
.header__link--switch::after { display: none; }
.header__link--switch:hover { background: rgba(124, 184, 255, .12); color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s; }
.header__icon:hover { background: var(--lava); }
.header__icon img { width: 18px; height: 18px; filter: invert(1) brightness(1.4); transition: filter .2s; }
.header__icon:hover img { filter: none; }
.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.header__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, rgba(13, 20, 17, .45), transparent 75%),
    linear-gradient(180deg, rgba(13, 20, 17, .55) 0%, transparent 22%, transparent 42%, rgba(13, 20, 17, .82) 80%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero__kicker { font-family: var(--font-hand); font-size: 26px; font-weight: 600; color: var(--amber-text); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.hero__logo { width: min(640px, 88vw); height: auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .6)); animation: logoIn 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.hero__subtitle { font-size: 18px; font-weight: 600; color: var(--text-soft); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--radius-btn); background: rgba(13, 20, 17, .6); border: 1px solid rgba(255, 207, 134, .25); backdrop-filter: blur(6px); font-family: var(--font-ui); font-size: 13px; font-weight: 500; color: var(--amber-text); }
.hero__badge--ice { color: var(--ice); border-color: rgba(124, 184, 255, .35); }

/* ABOUT */
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__visual { position: relative; aspect-ratio: 1 / .92; }
.polaroid { position: absolute; padding: 10px 10px 40px; background: var(--parchment); border-radius: 4px; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.polaroid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--font-hand); font-size: 22px; font-weight: 600; color: var(--ink); }
.polaroid::before { content: ''; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(230, 207, 159, .75); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.polaroid--1 { top: 0; left: 0; width: 72%; transform: rotate(-4deg); z-index: 1; }
.polaroid--2 { bottom: 0; right: 0; width: 66%; transform: rotate(3.5deg); z-index: 2; }
.about__stamp {
  position: absolute;
  z-index: 3;
  left: 4%; bottom: -2%;
  width: 104px; height: 104px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--lava-light);
  border: 2px dashed rgba(255, 195, 107, .7);
  background: rgba(13, 20, 17, .82);
  transform: rotate(-12deg);
  box-shadow: 0 0 0 6px rgba(13, 20, 17, .5), 0 10px 26px rgba(0, 0, 0, .45);
}
.about__text { color: var(--text-soft); font-size: 17px; margin: 8px 0 28px; }
.about__facts { display: flex; flex-direction: column; gap: 18px; }
.about__fact { display: flex; gap: 14px; align-items: flex-start; }
.about__fact p { color: var(--text-soft); font-size: 15px; }
.about__fact b { color: var(--text); }
.about__fact-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 122, 46, .12); border: 1px solid rgba(255, 122, 46, .35); color: var(--lava-light); }

/* WATCH */
.watch__grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 28px; align-items: stretch; }
.watch__player { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 207, 134, .18); }
.watch__player img { transition: transform .6s ease; }
.watch__player:hover img { transform: scale(1.03); }
.watch__player::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13, 20, 17, .75)); pointer-events: none; }
.watch__label { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--text); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.watch__play { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); box-shadow: 0 0 0 12px rgba(255, 122, 46, .2), 0 12px 32px var(--glow); transition: transform .25s; }
.watch__player:hover .watch__play { transform: translate(-50%, -50%) scale(1.08); }
.watch__play svg { margin-left: 4px; }
.ticket {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 50%, var(--bg-deep) 14px, transparent 15px),
    radial-gradient(circle at 100% 50%, var(--bg-deep) 14px, transparent 15px),
    linear-gradient(160deg, var(--parchment) 0%, var(--parchment-2) 100%);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.ticket__eyebrow { font-family: var(--font-hand); font-size: 22px; font-weight: 700; color: var(--lava-deep); }
.ticket__title { font-family: var(--font-display); font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.ticket__text { font-size: 14.5px; color: rgba(59, 42, 23, .85); }
.ticket__line { border-top: 2px dashed rgba(59, 42, 23, .25); margin: 4px 0; }
.ticket .btn--ghost { color: var(--ink); border-color: rgba(59, 42, 23, .45); background: rgba(255, 255, 255, .35); }
.ticket .btn--ghost:hover { background: rgba(255, 255, 255, .6); }

/* CHARACTERS */
.characters { overflow: hidden; }
.characters .section-title { margin-bottom: 0; }
.characters__wrap { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 76px; }
.characters__arrow { position: absolute; top: 58%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); color: var(--text); transition: background .2s, color .2s, transform .2s; z-index: 4; }
.characters__arrow--prev { left: 8px; }
.characters__arrow--next { right: 8px; }
.characters__arrow:hover { background: var(--lava); color: var(--text-dark); transform: translateY(-50%) scale(1.06); }
.characters__slider { position: relative; min-width: 0; margin: 0 auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 190px 0 34px; }
.characters__slider::-webkit-scrollbar { display: none; }
.characters__track { display: flex; gap: 24px; align-items: stretch; padding-inline: calc(50% - 137px); }
.char-card {
  position: relative;
  flex: 0 0 var(--card-w, 250px);
  width: var(--card-w, 250px);
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid rgba(255, 207, 134, .2);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.char-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.char-card__media { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 250px; margin-top: -110px; overflow: visible; }
.char-card__media::before { content: ''; position: absolute; left: 50%; bottom: 0; width: 150%; height: 58%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 70%, rgba(255, 150, 70, .45), transparent 65%); pointer-events: none; }
.char-card--villain .char-card__media::before { background: radial-gradient(ellipse at 50% 70%, rgba(150, 110, 255, .45), transparent 65%); }
.char-card__photo { position: relative; z-index: 1; width: auto; max-width: 118%; height: var(--h, 240px); object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5)); }
.char-card__tag { align-self: center; padding: 3px 12px; border-radius: var(--radius-btn); font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); background: rgba(255, 122, 46, .12); border: 1px solid rgba(255, 122, 46, .35); }
.char-card--villain .char-card__tag { color: #c9b4ff; background: rgba(150, 110, 255, .12); border-color: rgba(150, 110, 255, .4); }
.char-card__name { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.char-card__quote { font-size: 13.5px; color: var(--text-muted); flex-grow: 1; }
.char-card--main { background: linear-gradient(170deg, var(--parchment) 0%, var(--parchment-2) 100%); border: none; box-shadow: 0 18px 48px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 195, 107, .6); transform: scale(1.04); transition: transform .3s, box-shadow .3s, background .3s; }
.char-card--main:hover { transform: scale(1.04) translateY(-6px); }
.char-card--main .char-card__name  { color: var(--ink); }
.char-card--main .char-card__quote { color: rgba(59, 42, 23, .78); }
.char-card--main .char-card__tag   { color: var(--lava-deep); background: rgba(217, 72, 28, .1); border-color: rgba(217, 72, 28, .35); }
.char-card--main.char-card--villain .char-card__tag { color: #6a3fd6; background: rgba(106, 63, 214, .1); border-color: rgba(106, 63, 214, .35); }
.characters__dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: background .2s, width .2s; }
.dot--active { background: var(--lava); width: 26px; border-radius: 6px; }

/* QUIZ */
.quiz__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 520px; border-radius: var(--radius-lg); background: url('frames/temple.webp') no-repeat right center / cover; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 207, 134, .15); }
.quiz__card::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(13, 20, 17, .96) 0%, rgba(13, 20, 17, .88) 38%, rgba(13, 20, 17, .2) 70%, transparent 100%); }
.quiz__content { position: relative; z-index: 2; align-self: center; max-width: 620px; padding: 54px 40px 54px 56px; }
.quiz__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; text-transform: uppercase; background: linear-gradient(180deg, var(--lava-light) 20%, var(--lava) 70%, var(--lava-deep) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.quiz__text { color: var(--text-soft); margin: 16px 0 28px; max-width: 440px; }
.quiz__stats { display: flex; gap: 26px; margin-bottom: 32px; flex-wrap: wrap; max-width: 420px; }
.quiz__stat { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.quiz__stat-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 122, 46, .12); border: 1px solid rgba(255, 122, 46, .38); color: var(--lava-light); font-family: var(--font-display); font-size: 24px; }
.quiz__stat-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }

/* ACTIVITIES + маршрут */
.activities__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.activities__text { color: var(--text-soft); font-size: 15px; margin-top: 18px; }
.activities__text b { color: var(--text); }
.route { display: flex; align-items: center; margin-top: 28px; padding: 18px 18px 14px; border-radius: var(--radius-md); background: rgba(255, 122, 46, .07); border: 1px dashed rgba(255, 195, 107, .4); }
.route__step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.25; color: var(--text-muted); }
.route__step + .route__step::before { content: ''; position: absolute; top: 18px; right: calc(50% + 22px); width: calc(100% - 44px); border-top: 2px dashed rgba(255, 207, 134, .3); }
.route__mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px dashed rgba(255, 207, 134, .45); font-family: var(--font-display); font-size: 16px; color: var(--amber-text); background: var(--bg-deep); }
.route__step--done { color: var(--amber-text); }
.route__step--done .route__mark { border: none; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); box-shadow: 0 0 14px var(--glow); }
.route__step--done + .route__step::before { border-top-style: solid; border-color: var(--lava); }
.route__step--prize .route__mark { font-size: 18px; border-color: rgba(124, 184, 255, .6); }
.route__caption { margin-top: 12px; font-size: 13.5px; color: var(--amber-text); }
.route__caption b { color: var(--lava-light); }
.activities__games { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.game-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 20px 22px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card)); border: 1px solid rgba(255, 176, 97, .55); text-align: center; transition: transform .25s, box-shadow .25s; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.game-card__art { height: 250px; width: auto; margin-top: -70px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }
.game-card__title { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--text); }
.game-card__text { font-size: 13.5px; color: var(--text-muted); flex-grow: 1; }

/* GALLERY */
.gallery__subtitle { text-align: center; color: var(--text-soft); max-width: 560px; margin: -24px auto 44px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.compare-card__box { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 10.5; cursor: ew-resize; box-shadow: 0 14px 36px rgba(0, 0, 0, .4); touch-action: none; background: var(--bg-card); }
.compare-card__img { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.compare-card__img--real { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare-card__img--pending { display: flex; align-items: center; justify-content: flex-end; padding-right: 8%; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px), #1b2620; font-family: var(--font-hand); font-size: 22px; color: var(--text-muted); }
.compare-card__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: var(--lava-light); transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px var(--glow); }
.compare-card__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; letter-spacing: 2px; }
.compare-card__tag { position: absolute; bottom: 12px; padding: 5px 14px; border-radius: var(--radius-btn); font-family: var(--font-ui); font-size: 11px; font-weight: 500; background: rgba(13, 20, 17, .72); border: 1px solid rgba(255, 207, 134, .3); color: var(--amber-text); backdrop-filter: blur(4px); pointer-events: none; }
.compare-card__tag--left  { left: 12px; }
.compare-card__tag--right { right: 12px; color: var(--ice); border-color: rgba(124, 184, 255, .35); }
.compare-card__caption { text-align: center; margin-top: 14px; font-family: var(--font-ui); font-weight: 500; color: var(--text-soft); }

/* TOUR */
.tour { position: relative; padding: 130px 0 150px; overflow: hidden; }
.tour__bg { position: absolute; inset: 0; z-index: 0; }
.tour::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(13, 20, 17, .45) 30%, rgba(13, 20, 17, .55) 70%, var(--bg-deep) 100%); }
.tour__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.tour__logo { width: min(460px, 80vw); height: auto; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6)); }
.tour__text { font-size: 19px; font-weight: 600; color: var(--text); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.tour__address { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-btn); background: rgba(13, 20, 17, .65); border: 1px solid rgba(255, 207, 134, .28); color: var(--amber-text); font-family: var(--font-ui); font-size: 14px; backdrop-filter: blur(6px); }
.tour__btn { margin-top: 8px; padding: 17px 40px; }

/* FOOTER */
.footer { position: relative; z-index: 1; background: #09100d; border-top: 1px solid var(--line); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__logo { width: 150px; height: auto; }
.footer__heading { font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.footer__list { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.footer__list--social li { flex-direction: row; }
.footer__link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 14.5px; transition: color .2s; }
.footer__link:hover { color: var(--lava-light); }
.footer__link--static { cursor: default; }
.footer__link--static:hover { color: var(--text-soft); }
.footer__list--social img { width: 16px; height: 16px; filter: invert(1) brightness(1.3); opacity: .85; }
.footer__hint { font-size: 12px; color: var(--text-muted); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
.legal-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.legal-footer a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.legal-footer a:hover { color: var(--lava-light); }
.legal-footer .dot { color: var(--text-muted); opacity: .6; }

/* COOKIE */
.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 200; width: min(440px, calc(100vw - 48px)); display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--radius-md); background: rgba(13, 20, 17, .96); border: 1px solid rgba(255, 207, 134, .28); box-shadow: 0 18px 48px rgba(0, 0, 0, .5); backdrop-filter: blur(12px); animation: cookieIn .35s ease-out; }
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.cookie__text a { color: var(--lava-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { flex-shrink: 0; }
.cookie__btn { padding: 11px 24px; font-size: 14px; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* АДАПТИВ */
@media (max-width: 1100px) {
  .header__nav { gap: 20px; }
  .activities__inner { grid-template-columns: 1fr; gap: 90px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .watch__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .characters__arrow { display: none; }
  .characters__wrap { padding: 0 12px; }
  .header__nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); flex-direction: column; align-items: flex-start; gap: 8px; padding: 100px 32px 32px; background: rgba(13, 20, 17, .97); backdrop-filter: blur(16px); transform: translateX(100%); transition: transform .3s; z-index: 90; }
  .header__nav--open { transform: translateX(0); }
  .header__link { font-size: 18px; padding: 12px 0; }
  .header__link--switch { padding: 10px 16px; margin-top: 12px; font-size: 15px; }
  .header__burger { display: flex; z-index: 95; }
  .header__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__burger--open span:nth-child(2) { opacity: 0; }
  .header__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__icon { display: none; }
  .header__icon:nth-of-type(2) { display: inline-flex; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .section-title--left { text-align: center; }
  .eyebrow--left { justify-content: center; }
  .eyebrow--left::before { display: block; }
  .about__text { text-align: center; }
  .quiz__card { min-height: 0; background-position: 70% top; background-size: 180% auto; padding-top: 240px; text-align: center; }
  .quiz__card::before { background: linear-gradient(180deg, transparent 10%, rgba(13, 20, 17, .9) 40%, var(--bg-card) 60%); }
  .quiz__content { max-width: none; padding: 0 24px 40px; }
  .quiz__text { margin-left: auto; margin-right: auto; }
  .quiz__stats { justify-content: center; margin-left: auto; margin-right: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .eyebrow { font-size: 20px; text-align: center; }
  .eyebrow::before, .eyebrow::after, .eyebrow--left::before { display: none; }
  .about__stamp { width: 84px; height: 84px; font-size: 11px; }
  .hero { padding: 110px 0 44px; }
  .hero__kicker { font-size: 21px; }
  .hero__subtitle { font-size: 15px; }
  .hero__badge { padding: 7px 13px; font-size: 12px; }
  .btn { padding: 14px 24px; font-size: 14px; }
  .watch__play { width: 64px; height: 64px; }
  .watch__label { font-size: 18px; left: 16px; bottom: 12px; }
  .char-card { flex-basis: 78vw; }
  .char-card--main { flex-basis: 78vw; transform: none; }
  .char-card--main:hover { transform: translateY(-6px); }
  .characters__track { padding-inline: 11vw; }
  .activities__games { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 90px; }
  .route__step { font-size: 11px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer__col, .footer__list, .footer__list li { align-items: center; }
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .legal-footer { justify-content: center; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .cookie__btn { width: 100%; }
}

/* MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(5, 9, 7, .8); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .25s ease; }
.modal-overlay--open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; padding: 44px 40px 40px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%); border: 1px solid rgba(255, 207, 134, .2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: translateY(24px) scale(.97); transition: transform .3s ease; }
.modal-overlay--open .modal { transform: translateY(0) scale(1); }
.modal--wide { max-width: 860px; }
.modal--video { max-width: 1000px; padding: 0; background: #000; overflow: hidden; }
.modal__body--video { display: flex; }
.video-modal__player { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-modal__soon { width: 100%; aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; text-align: center; color: var(--text-soft); background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%); }
.video-modal__soon svg { color: var(--lava-light); }
.video-modal__soon h3 { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; color: var(--text); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--text-soft); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, color .2s, transform .2s; z-index: 5; }
.modal__close:hover { background: var(--lava); color: var(--text-dark); transform: rotate(90deg); }

.char-modal { text-align: center; }
.char-modal__photo { display: block; height: 230px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto 18px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.char-modal__tag { display: inline-block; margin-bottom: 8px; }
.char-modal__name { font-family: var(--font-display); font-size: 30px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; background: linear-gradient(180deg, var(--lava-light) 20%, var(--lava-deep) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.char-modal__quote { font-family: var(--font-hand); font-size: 24px; font-weight: 600; color: var(--amber-text); margin-bottom: 14px; }
.char-modal__bio { color: var(--text-soft); font-size: 15px; line-height: 1.6; }

.game-head { text-align: center; margin-bottom: 22px; }
.game-head__title { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; background: linear-gradient(180deg, var(--lava-light) 20%, var(--lava-deep) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.game-head__hint { color: var(--text-soft); font-size: 14.5px; }
.game-progress { display: inline-flex; margin-top: 14px; padding: 6px 16px; border-radius: var(--radius-btn); background: rgba(255, 122, 46, .12); border: 1px solid rgba(255, 122, 46, .32); font-family: var(--font-ui); font-weight: 700; font-size: 13px; color: var(--amber-text); }
.game-note { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 16px; }

.quiz-step { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 26px; }
.quiz-progress__seg { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.quiz-progress__seg::after { content: ''; display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--lava-light), var(--lava)); transition: width .3s; }
.quiz-progress__seg--done::after, .quiz-progress__seg--active::after { width: 100%; }
.quiz-step__eyebrow { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); margin-bottom: 10px; }
.quiz-step__question { font-family: var(--font-ui); font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 22px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option { text-align: left; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .04); border: 1.5px solid var(--line); color: var(--text); font-size: 15px; font-weight: 600; transition: border-color .2s, background .2s, transform .15s; }
.quiz-option:hover { border-color: rgba(255, 122, 46, .55); background: rgba(255, 122, 46, .08); }
.quiz-option:active { transform: scale(.99); }
.quiz-option--correct { border-color: #6fd67f; background: rgba(111, 214, 127, .12); color: #a8f0b3; }
.quiz-option--wrong   { border-color: #e6636b; background: rgba(230, 99, 107, .12); color: #ffb3b8; }
.quiz-option[disabled] { pointer-events: none; }
.quiz-result { text-align: center; padding-top: 6px; }
.quiz-result__score { font-family: var(--font-display); font-size: 46px; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px; }
.quiz-result__label { color: var(--text-soft); margin-bottom: 26px; }
.quiz-result__note { color: var(--text-soft); font-size: 14.5px; max-width: 380px; margin: 0 auto 22px; }

.progress-bar { max-width: 320px; margin: 0 auto 22px; }
.progress-bar__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.progress-bar__label { font-size: 12.5px; color: var(--text-muted); }
.progress-bar__count { font-family: var(--font-ui); font-weight: 800; font-size: 14px; color: var(--lava-light); }
.progress-bar__track { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); overflow: hidden; }
.progress-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lava-deep), var(--lava-light)); box-shadow: 0 0 12px var(--glow); transition: width .5s ease; }

.progress-note { text-align: center; }
.progress-note .btn { display: flex; width: fit-content; margin: 0 auto; }
.progress-note__text { color: var(--text-soft); font-size: 14.5px; max-width: 400px; margin: 0 auto 18px; }
.progress-note__list { display: inline-flex; flex-direction: column; gap: 10px; margin-bottom: 24px; text-align: left; }
.progress-note__item { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); }
.progress-note__mark { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .25); font-size: 13px; font-weight: 800; }
.progress-note__item--done { border-color: rgba(255, 122, 46, .55); background: rgba(255, 122, 46, .12); color: var(--amber-text); }
.progress-note__item--done .progress-note__mark { border: none; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); }

.hotspot-scene { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16 / 9; cursor: crosshair; }
.hotspot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 9%; height: 15%; border-radius: 50%; background: transparent; border: 3px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s; }
.hotspot--found { pointer-events: none; border-color: var(--lava-light); background: rgba(255, 122, 46, .18); box-shadow: 0 0 0 4px rgba(13, 20, 17, .45), 0 0 22px var(--glow); }
.hotspot--found::after { content: '✓'; position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); }
.hotspot-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.hotspot-legend__item { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: var(--radius-btn); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-family: var(--font-ui); font-size: 13px; color: var(--text-soft); transition: border-color .25s, background .25s; }
.hotspot-legend__item img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.hotspot-legend__item--found { border-color: rgba(255, 122, 46, .6); background: rgba(255, 122, 46, .12); color: var(--amber-text); }
.hotspot-legend__item--found span { text-decoration: line-through; opacity: .8; }

.word-clue { text-align: center; font-size: 13.5px; color: var(--amber-text); background: rgba(255, 122, 46, .08); border: 1px solid rgba(255, 122, 46, .22); border-radius: var(--radius-sm); padding: 10px 16px; margin-bottom: 18px; }
.word-clue b { color: var(--lava-light); }
.word-lanterns { display: flex; justify-content: center; gap: 12px; margin: 4px 0 24px; }
.word-lantern { width: 20px; height: 28px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 70%, #fff3c4 0%, var(--lava-light) 30%, var(--lava) 60%, var(--lava-deep) 100%); box-shadow: 0 0 14px var(--glow); animation: flicker 1.8s ease-in-out infinite; transition: opacity .3s, background .3s, box-shadow .3s; }
.word-lantern:nth-child(2n) { animation-delay: .5s; }
.word-lantern:nth-child(3n) { animation-delay: .9s; }
@keyframes flicker { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.08) translateY(-1px); } }
.word-lantern--off { background: rgba(255, 255, 255, .1); box-shadow: none; opacity: .45; animation: none; }
.word-display { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.word-letter { width: 40px; height: 48px; display: flex; align-items: center; justify-content: center; border-bottom: 3px solid rgba(255, 207, 134, .45); font-family: var(--font-display); font-size: 24px; color: var(--text); }
.word-keyboard { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-bottom: 20px; }
.word-key { aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-family: var(--font-ui); font-weight: 700; font-size: 15px; color: var(--text); transition: background .15s, transform .15s, border-color .15s; }
.word-key:hover:not([disabled]) { border-color: rgba(255, 122, 46, .55); background: rgba(255, 122, 46, .1); }
.word-key:active:not([disabled]) { transform: scale(.92); }
.word-key--correct { background: rgba(111, 214, 127, .18); border-color: #6fd67f; color: #a8f0b3; }
.word-key--wrong   { background: rgba(230, 99, 107, .15); border-color: #e6636b; color: #ffb3b8; }
.word-key[disabled] { opacity: .55; pointer-events: none; }

.lead-form { text-align: center; padding-top: 4px; }
.lead-form__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); }
.lead-form__title { font-family: var(--font-display); font-size: 28px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 6px; background: linear-gradient(180deg, var(--lava-light) 20%, var(--lava-deep) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead-form__subtitle { font-family: var(--font-ui); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.lead-form__text { color: var(--text-soft); font-size: 14.5px; margin-bottom: 26px; }
.lead-form__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; text-align: left; }
.lead-form__input { width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1.5px solid var(--line); color: var(--text); font-family: var(--font-body); font-size: 15px; transition: border-color .2s, background .2s; }
.lead-form__input::placeholder { color: var(--text-muted); }
.lead-form__input:focus { outline: none; border-color: var(--lava); background: rgba(255, 122, 46, .06); }
.lead-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 20px; text-align: left; cursor: pointer; }
.lead-form__consent input { margin-top: 2px; accent-color: var(--lava); }
.lead-form .btn { width: 100%; }

.tour-form__title { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.tour-form__lead { color: var(--text-soft); font-size: 14.5px; text-align: center; margin-bottom: 16px; }
.tour-form__perks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 122, 46, .06); border: 1px solid rgba(255, 122, 46, .2); }
.tour-form__perks li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--text-soft); }
.tour-form__perks li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--lava); }
.lead-form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2c6ad' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.lead-form__select option { background: var(--bg-card); color: var(--text); }
.tour-form__label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-soft); }
.tour-form__hint { color: var(--text-muted); font-weight: 400; }
.tour-form__checks { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-form__check { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1.5px solid var(--line); font-size: 13.5px; color: var(--text-soft); cursor: pointer; }
.tour-form__check input { accent-color: var(--lava); }
.tour-form__textarea { resize: vertical; min-height: 70px; font-family: var(--font-body); }

.lead-success { text-align: center; padding: 10px 0; }
.lead-success__icon { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--lava-light), var(--lava-deep)); color: var(--text-dark); box-shadow: 0 0 0 10px rgba(255, 122, 46, .15); }
.lead-success__title { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.lead-success__text { color: var(--text-soft); margin-bottom: 24px; line-height: 1.6; }
.lead-success__text a { color: var(--lava-light); font-weight: 700; white-space: nowrap; }
.lead-success__text a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .modal { padding: 36px 20px 26px; border-radius: var(--radius-md); }
  .word-keyboard { grid-template-columns: repeat(6, 1fr); }
  .word-letter { width: 30px; height: 40px; font-size: 20px; }
  .hotspot { width: 13%; height: 20%; }
  .hotspot-legend__item { padding: 4px 10px 4px 4px; font-size: 12px; }
  .hotspot-legend__item img { width: 26px; height: 26px; }
  .char-modal__photo { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}


/* ============================================================
   ВЕРСИЯ 4: новое меню, сокровища, заросли джунглей
   ============================================================ */

.quiz__title, .char-card__name, .game-card__title, .ticket__title, .watch__label,
.char-modal__name, .game-head__title, .lead-form__title, .tour-form__title,
.lead-success__title, .quiz-result__score, .video-modal__soon h3, .about__stamp { font-weight: 700; }
.quiz__title {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #ffb23f;
  text-shadow: 0 1px 0 #f08a1c, 0 2px 0 #d9701a, 0 3px 0 #bd5814, 0 4px 0 #9c440f, 0 5px 0 #7a320a, 0 10px 18px rgba(0, 0, 0, .5);
  font-size: clamp(32px, 3.8vw, 48px);
}

/* ---------- МЕНЮ: парящая панель с золотой каймой ---------- */
.header { padding: 14px 0; background: none !important; box-shadow: none !important; backdrop-filter: none !important; }
.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background:
    linear-gradient(rgba(13, 20, 17, .55), rgba(13, 20, 17, .55)) padding-box,
    linear-gradient(90deg, rgba(255, 195, 107, .7), rgba(255, 122, 46, .25) 40%, rgba(124, 184, 255, .35) 70%, rgba(255, 195, 107, .7)) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: background .3s, box-shadow .3s;
}
.header--scrolled .header__bar {
  background:
    linear-gradient(rgba(12, 18, 15, .92), rgba(12, 18, 15, .92)) padding-box,
    linear-gradient(90deg, rgba(255, 195, 107, .8), rgba(255, 122, 46, .3) 40%, rgba(124, 184, 255, .4) 70%, rgba(255, 195, 107, .8)) border-box;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}
.header__logo { width: 104px; }
.header__nav { flex: 1; justify-content: center; gap: 4px; }
.header__link {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .2s, background .2s;
}
.header__link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 7px; height: 7px;
  background: var(--lava-light);
  box-shadow: 0 0 10px var(--lava);
  border-radius: 1px;
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .25s;
}
.header__link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.header__link:hover::after { width: 7px; }
.header__link.is-active { color: var(--lava-light); }
.header__link.is-active::after { width: 7px; transform: translateX(-50%) rotate(45deg) scale(1); }
.header__mobile-extra { display: none; }

.header__actions { gap: 8px; }
.header__sonya {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: rgba(125, 92, 255, .18);
  border: 1px solid rgba(160, 130, 255, .5);
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  color: #d8ccff;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.header__sonya img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; background: #2b2260; }
.header__sonya:hover { background: rgba(125, 92, 255, .32); transform: translateY(-1px); }
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-family: var(--font-ui); font-weight: 700; font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
  background: linear-gradient(180deg, var(--lava-light), var(--lava) 60%, var(--lava-deep));
  box-shadow: 0 6px 18px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .2s, box-shadow .2s;
}
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--glow); }

@media (max-width: 1180px) {
  .header__sonya span { display: none; }
  .header__sonya { padding: 4px; }
  .header__link { padding: 9px 11px; font-size: 14px; }
}
@media (max-width: 900px) {
  .header__bar { padding: 6px 6px 6px 16px; justify-content: space-between; }
  .header__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(340px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 100px 26px 30px;
    background: linear-gradient(180deg, #121c17, #0d1411);
    border-left: 1px solid rgba(255, 195, 107, .3);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .5);
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    z-index: 90;
  }
  .header__nav--open { transform: none; }
  .header__link { font-size: 20px; padding: 12px 16px 12px 22px; text-align: left; }
  .header__link::after { left: 4px; top: 50%; bottom: auto; transform: translateY(-50%) rotate(45deg) scale(0); }
  .header__link.is-active::after { transform: translateY(-50%) rotate(45deg) scale(1); }
  .header__mobile-extra { display: flex; flex-direction: column; gap: 18px; margin-top: auto; }
  .header__switch { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(125, 92, 255, .18); border: 1px solid rgba(160, 130, 255, .45); font-weight: 700; color: #d8ccff; }
  .header__switch img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: #2b2260; }
  .header__socials { display: flex; gap: 10px; }
  .header__socials a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
  .header__socials img { width: 18px; height: 18px; filter: invert(1); }
  .header__sonya { display: none; }
  .header__burger { display: flex; }
}
@media (max-width: 420px) {
  .header__cta { padding: 10px 14px; font-size: 13px; }
  .header__logo { width: 92px; }
}

/* ---------- Иконки-сокровища в «О фильме» ---------- */
.about__fact { align-items: center; }
.about__fact-icon { width: 64px; height: 64px; background: none; border: none; border-radius: 0; }
.about__fact-icon img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)); transition: transform .3s; }
.about__fact:hover .about__fact-icon img { transform: scale(1.1) rotate(-5deg); }

/* ---------- Заросли и руины ---------- */
.vine, .deco { position: absolute; pointer-events: none; z-index: 1; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .45)); }
.vine { width: 200px; height: auto; transform-origin: top center; animation: vineSway 9s ease-in-out infinite; }
.vine--hero-l { top: -40px; left: -30px; z-index: 3; width: 230px; }
.vine--hero-r { top: -60px; right: -30px; z-index: 3; width: 210px; transform: scaleX(-1); animation-name: vineSwayR; animation-delay: -3s; }
.vine--sec-l { top: -30px; left: -50px; width: 170px; opacity: .9; }
.vine--sec-r { top: -30px; right: -50px; width: 170px; opacity: .9; transform: scaleX(-1); animation-name: vineSwayR; animation-delay: -4s; }
@keyframes vineSway  { 50% { rotate: 2deg; } }
@keyframes vineSwayR { 50% { rotate: -2deg; } }
.deco--column { right: -40px; top: 40px; width: 230px; opacity: .95; }
.deco--coins  { left: -30px; bottom: 10px; width: 250px; }
.section > .container, .section > .container-wide, .characters__wrap { position: relative; z-index: 2; }

/* ---------- Викторина: книга-артефакт ---------- */
.quiz__card { overflow: visible; }
.quiz__card::before { border-radius: var(--radius-lg); }
.quiz__art {
  position: absolute;
  z-index: 3;
  right: -30px; bottom: -40px;
  width: 400px;
  filter: drop-shadow(0 0 40px rgba(63, 240, 216, .35)) drop-shadow(0 20px 30px rgba(0, 0, 0, .5));
  animation: artFloat 5s ease-in-out infinite;
}
@keyframes artFloat { 50% { translate: 0 -10px; } }

/* ---------- Игры: артефакты ---------- */
.game-card__art { width: 92%; height: 200px; object-fit: contain; margin-top: -80px; filter: drop-shadow(0 0 30px rgba(255, 170, 60, .35)) drop-shadow(0 14px 20px rgba(0, 0, 0, .5)); transition: transform .4s; }
.game-card:hover .game-card__art { transform: translateY(-8px) scale(1.04); }

@media (max-width: 1100px) {
  .deco--column { width: 170px; opacity: .6; }
  .quiz__art { width: 300px; right: -10px; }
}
@media (max-width: 900px) {
  .quiz__card { padding-top: 0; }
  .quiz__art { position: relative; right: auto; bottom: auto; width: 80%; max-width: 360px; margin: 20px auto 0; }
  .deco--column, .deco--coins { display: none; }
  .vine--hero-l { width: 150px; }
  .vine--hero-r { width: 140px; }
  .vine--sec-l, .vine--sec-r { width: 110px; }
}
@media (max-width: 640px) {
  .vine--sec-l { display: none; }
  .vine--hero-l { width: 110px; top: -30px; left: -30px; }
  .vine--hero-r { width: 100px; top: -40px; right: -30px; }
  .about__fact-icon, .about__fact-icon img { width: 52px; height: 52px; }
}

/* декор не должен давать горизонтальную прокрутку */
html { overflow-x: clip; }
.hero, .watch, .activities, .gallery, .characters, .about { overflow-x: clip; }

.deco--coins { left: auto; right: -50px; bottom: -30px; width: 220px; z-index: 0; }
body { background-image: radial-gradient(ellipse 80% 50% at 50% 110%, rgba(217, 72, 28, .16), transparent 70%), linear-gradient(180deg, rgba(13, 20, 17, .82) 0%, rgba(13, 20, 17, .74) 50%, rgba(13, 20, 17, .86) 100%), url(img/bg-tomb.webp); background-size: auto, auto, cover; background-position: center; background-attachment: fixed, fixed, fixed; }


/* ============================================================
   ВЕРСИЯ 5: широкая шапка, диорама, карточки-сокровища, джунгли
   ============================================================ */

body {
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(217, 72, 28, .16), transparent 70%),
    linear-gradient(180deg, rgba(10, 16, 14, .8) 0%, rgba(10, 16, 14, .7) 50%, rgba(10, 16, 14, .84) 100%),
    url('img/bg-temple.webp');
  background-size: auto, auto, cover;
  background-position: center;
  background-attachment: fixed, fixed, fixed;
}

/* ---------- Подписи-«записи» — белые ---------- */
.eyebrow { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

/* ---------- Шапка: шире, без обводки, логотип вылезает за край ---------- */
.header > .container { max-width: 1560px; }
.header__bar {
  padding: 8px 10px 8px 24px;
  border: none;
  background: rgba(10, 16, 14, .5);
}
.header--scrolled .header__bar { background: rgba(10, 16, 14, .9); }
.header__logo {
  position: relative;
  z-index: 2;
  width: 190px;
  margin: -14px 0 -46px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6));
  transition: transform .3s, width .3s, margin .3s;
}
.header__logo:hover { transform: rotate(-3deg) scale(1.04); }
.header--scrolled .header__logo { width: 160px; margin: -10px 0 -34px; }
.header__link { font-size: 16px; padding: 10px 18px; }

@media (max-width: 1180px) {
  .header__logo { width: 150px; margin: -8px 0 -30px; }
}
@media (max-width: 900px) {
  .header__logo, .header--scrolled .header__logo { width: 130px; margin: -8px 0 -26px; }
}

/* ---------- Hero: подпись ближе к логотипу ---------- */
.hero__inner { gap: 18px; }
.hero__kicker { position: relative; z-index: 1; margin-bottom: -34px; }
.hero__logo { margin-bottom: -10px; }

/* ---------- Заросли и листья ---------- */
.jungle, .foliage, .corner, .vine-hang, .ruins {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5));
}
.jungle { width: 260px; height: auto; }
.jungle--hero-l { left: -40px; bottom: 40px; z-index: 3; animation: sway 10s ease-in-out infinite; transform-origin: bottom left; }
.jungle--hero-r { right: -40px; bottom: 40px; z-index: 3; animation: sway 11s ease-in-out -4s infinite reverse; transform-origin: bottom right; }
.foliage--hero { left: 50%; bottom: -60px; width: max(1500px, 110vw); transform: translateX(-50%); z-index: 3; }
.hero__inner { z-index: 4; }
.jungle--tour-l { left: -30px; bottom: -20px; width: 240px; z-index: 3; }
.jungle--tour-r { right: -30px; bottom: -20px; width: 250px; z-index: 3; }
@keyframes sway { 50% { rotate: 1.5deg; } }

.corner { width: 320px; height: auto; }
.corner--about   { top: -30px; left: -40px; }
.corner--chars-l { top: 20px; left: -60px; width: 280px; }
.corner--chars-r { top: 20px; right: -60px; width: 280px; transform: scaleX(-1); }

.vine-hang { width: 190px; height: auto; top: -40px; transform-origin: top center; animation: hang 8s ease-in-out infinite; }
.vine-hang--watch   { right: -20px; }
.vine-hang--gallery { left: -20px; transform: scaleX(-1); animation-delay: -3s; }
@keyframes hang { 50% { rotate: 2.5deg; } }

.ruins { width: min(900px, 90vw); height: auto; }
.ruins--activities { right: -120px; bottom: -70px; z-index: 0; opacity: .95; }

.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.leaf-fly { position: absolute; width: 70px; opacity: .9; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); animation: leafFall 16s linear infinite; }
.leaf-fly--1 { left: 58%; animation-delay: 0s; }
.leaf-fly--2 { left: 82%; width: 60px; animation-delay: -6s; animation-duration: 19s; }
.leaf-fly--3 { left: 40%; width: 56px; animation-delay: -11s; animation-duration: 22s; }
@keyframes leafFall {
  0%   { top: -80px; transform: translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translateX(-60px) rotate(160deg); }
  90%  { opacity: .9; }
  100% { top: 100%; transform: translateX(30px) rotate(320deg); opacity: 0; }
}

/* ---------- About: диорама + текст ---------- */
.about { padding-top: 110px; }
.about__inner { grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about__visual { aspect-ratio: auto; display: flex; justify-content: center; }
.about__glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 70, .45), rgba(63, 240, 216, .15) 50%, transparent 70%);
  filter: blur(20px);
}
.about__diorama {
  position: relative;
  width: 100%;
  max-width: 580px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  animation: floatIsland 6s ease-in-out infinite;
}
@keyframes floatIsland { 50% { transform: translateY(-14px); } }
.about__text { font-size: 18px; margin: 6px 0 14px; }
.about__text--accent { font-family: var(--font-hand); font-size: 26px; font-weight: 700; color: var(--lava-light); line-height: 1.2; }

/* ---------- Карточки-сокровища ---------- */
.treasures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 110px;
}
.treasure-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 96px 20px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(40, 56, 48, .75), rgba(20, 30, 25, .85));
  border: 1px solid rgba(255, 207, 134, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s, border-color .35s;
}
.treasure-card::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 170px; height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 180, 70, .45), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.treasure-card__icon {
  position: absolute;
  top: -80px; left: 50%;
  width: 160px; height: 160px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5));
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.treasure-card:hover { transform: translateY(-8px); border-color: rgba(255, 195, 107, .6); box-shadow: 0 24px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 170, 60, .2); }
.treasure-card:hover .treasure-card__icon { transform: translateX(-50%) translateY(-8px) rotate(-6deg) scale(1.08); }
.treasure-card__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .03em; color: var(--lava-light); margin-bottom: 6px; }
.treasure-card__text { font-size: 15px; color: var(--text-soft); line-height: 1.4; }

@media (max-width: 1100px) {
  .treasures { grid-template-columns: repeat(2, 1fr); row-gap: 110px; }
  .jungle { width: 190px; }
  .ruins--activities { right: -200px; opacity: .6; }
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__diorama { max-width: 440px; }
  .corner { width: 200px; }
  .corner--chars-l, .corner--chars-r { width: 170px; }
}
@media (max-width: 640px) {
  .jungle--hero-l, .jungle--hero-r { width: 120px; bottom: 80px; }
  .jungle--tour-l, .jungle--tour-r { width: 120px; }
  .foliage--hero { width: 900px; bottom: -30px; }
  .vine-hang { width: 120px; }
  .corner { width: 150px; }
  .corner--chars-l, .corner--chars-r { width: 120px; top: 0; }
  .ruins--activities { display: none; }
  .treasures { gap: 16px; row-gap: 90px; margin-top: 90px; }
  .treasure-card { padding: 70px 12px 18px; }
  .treasure-card__icon { width: 118px; height: 118px; top: -60px; }
  .treasure-card__title { font-size: 19px; }
  .treasure-card__text { font-size: 13.5px; }
  .hero__kicker { margin-bottom: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  .leaves { display: none; }
}

.foliage--hero { bottom: -220px; }
.hero { padding-bottom: 130px; }
.hero__subtitle, .hero__badge { text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.hero__badges { position: relative; }
@media (max-width: 640px) { .foliage--hero { bottom: -120px; } }
.hero__kicker { margin-bottom: -52px; }
@media (max-width: 640px) { .hero__kicker { margin-bottom: -30px; } }

/* ============================================================
   ВЕРСИЯ 6: спокойный фон как у «Сони», декор без обрезки
   ============================================================ */
body {
  background-color: #08140f;
  background-image: url('img/bg-jungle.webp');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  background-attachment: scroll;
}
.hero { padding-bottom: 70px; }

/* декор прижат к краям — картинки видны целиком */
.corner--about   { top: 0; left: 0; width: 280px; }
.corner--chars-l { top: 0; left: 0; width: 240px; }
.corner--chars-r { top: 0; right: 0; width: 240px; }
.vine-hang { top: 0; animation: none; }
.vine-hang--watch   { right: 0; width: 170px; }
.vine-hang--gallery { left: 0; width: 170px; }
.jungle--tour-l { left: 0; bottom: 0; width: 230px; }
.jungle--tour-r { right: 0; bottom: 0; width: 240px; }
.ruins--activities { right: 0; bottom: 0; width: min(760px, 60vw); }
@media (max-width: 1100px) { .ruins--activities { opacity: .5; } }
@media (max-width: 900px) {
  .corner--about { width: 180px; }
  .corner--chars-l, .corner--chars-r { width: 150px; }
  .vine-hang--watch, .vine-hang--gallery { width: 110px; }
  .jungle--tour-l, .jungle--tour-r { width: 150px; }
}
@media (max-width: 640px) {
  .corner--about { width: 130px; }
  .corner--chars-l, .corner--chars-r { width: 110px; }
  .vine-hang--watch, .vine-hang--gallery { width: 80px; }
  .jungle--tour-l, .jungle--tour-r { width: 100px; }
}
.leaves { z-index: 0; }
.leaf-fly--1 { left: 3%; } .leaf-fly--2 { left: 93%; } .leaf-fly--3 { left: 47%; }
.about .container { position: relative; z-index: 2; }
.hero::after { background: radial-gradient(ellipse 70% 55% at 50% 58%, rgba(8, 20, 15, .45), transparent 75%), linear-gradient(180deg, rgba(8, 20, 15, .55) 0%, transparent 22%, transparent 42%, rgba(8, 20, 15, .85) 82%, #08140f 100%); }


/* ============================================================
   ВЕРСИЯ 7: новый фон, заросли по бокам, плавный переход, викторина
   ============================================================ */
body {
  background-color: #06150f;
  background-image: url('img/bg-jungle.webp');
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: top center;
}

/* ---- Плавный переход hero → страница ---- */
.hero { padding-bottom: 150px; }
.hero__bg {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.hero::after {
  background:
    radial-gradient(ellipse 70% 55% at 50% 55%, rgba(6, 21, 15, .45), transparent 75%),
    linear-gradient(180deg, rgba(6, 21, 15, .55) 0%, transparent 20%, transparent 55%, rgba(6, 21, 15, .7) 85%, transparent 100%);
}
.about { padding-top: 40px; }

/* ---- Заросли по бокам первого экрана ---- */
.hero-vine {
  position: absolute;
  bottom: -90px;
  z-index: 3;
  height: min(88vh, 900px);
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55));
}
.hero-vine--l { left: 0; transform-origin: bottom left; animation: vineL 9s ease-in-out infinite; }
.hero-vine--r { right: 0; transform-origin: bottom right; animation: vineR 10s ease-in-out -3s infinite; }
@keyframes vineL { 50% { transform: rotate(1.2deg); } }
@keyframes vineR { 50% { transform: rotate(-1.2deg); } }
.hero__inner { position: relative; z-index: 4; }
@media (max-width: 1200px) { .hero-vine { height: 70vh; } }
@media (max-width: 900px)  { .hero-vine { height: 52vh; opacity: .9; } }
@media (max-width: 640px)  { .hero-vine { height: 300px; bottom: -40px; } .hero-vine--l { left: -30px; } .hero-vine--r { right: -30px; } }

/* ---- Викторина: сцена-открытка ---- */
.quiz { padding: 140px 0 80px; }
.quiz__card {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px;
  border-radius: 36px;
  background: #0b1a14;
  overflow: visible;
  box-shadow: 0 0 0 2px rgba(255, 195, 107, .55), 0 0 0 10px rgba(255, 195, 107, .08), 0 40px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(255, 170, 60, .15);
}
.quiz__card::before { display: none; }
.quiz__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 28%, #000 55%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 28%, #000 55%);
}
.quiz__sparks { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; pointer-events: none; }
.quiz__sparks span {
  position: absolute; bottom: -10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffd27a; box-shadow: 0 0 10px 3px rgba(255, 190, 90, .7);
  animation: qSpark 7s linear infinite;
}
.quiz__sparks span:nth-child(1) { left: 48%; animation-delay: 0s; }
.quiz__sparks span:nth-child(2) { left: 58%; animation-delay: -2s; background: #7ff5e3; box-shadow: 0 0 10px 3px rgba(63, 240, 216, .7); }
.quiz__sparks span:nth-child(3) { left: 67%; animation-delay: -4s; }
.quiz__sparks span:nth-child(4) { left: 76%; animation-delay: -1s; background: #c9a5ff; box-shadow: 0 0 10px 3px rgba(178, 107, 255, .7); }
.quiz__sparks span:nth-child(5) { left: 85%; animation-delay: -5s; }
.quiz__sparks span:nth-child(6) { left: 93%; animation-delay: -3s; background: #7ff5e3; box-shadow: 0 0 10px 3px rgba(63, 240, 216, .7); }
@keyframes qSpark { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-560px) translateX(-30px); opacity: 0; } }

.quiz__panel {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 100px 38px 38px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(14, 32, 26, .88), rgba(8, 20, 16, .92));
  border: 1px solid rgba(255, 195, 107, .35);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.quiz__art {
  position: absolute;
  top: -120px; left: 50%;
  right: auto; bottom: auto;
  width: 280px; height: auto;
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 40px rgba(63, 240, 216, .4)) drop-shadow(0 16px 24px rgba(0, 0, 0, .5));
  animation: artFloatQ 5s ease-in-out infinite;
}
@keyframes artFloatQ { 50% { transform: translateX(-50%) translateY(-10px); } }
.quiz__panel .eyebrow { justify-content: center; }
.quiz__panel .eyebrow::before { display: block; }
.quiz__title { text-align: center; }
.quiz__text { text-align: center; margin: 14px auto 24px; }
.quiz__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.quiz__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 195, 107, .1);
  border: 1px solid rgba(255, 195, 107, .35);
  font-family: var(--font-ui); font-weight: 600; font-size: 13.5px;
  color: var(--amber-text);
}
.quiz__chip img { width: 34px; height: 34px; object-fit: contain; }
.quiz__chip-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--lava-light), var(--lava-deep));
  color: var(--text-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
.quiz__panel .btn { display: flex; width: fit-content; margin: 0 auto; }

@media (max-width: 900px) {
  .quiz__card { flex-direction: column; min-height: 0; padding: 0 0 24px; }
  .quiz__bg { position: relative; height: 300px; border-radius: 36px 36px 0 0; object-position: 75% center;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
  .quiz__panel { margin: -40px 16px 0; max-width: none; padding: 90px 22px 28px; }
  .quiz__art { width: 210px; top: -100px; }
}

.hero { overflow: visible; overflow-x: clip; }
.hero-vine { bottom: -140px; }
.corner--about { display: none; }
.about { z-index: 5; }


/* ============================================================
   ВЕРСИЯ 8: логотип в шапке, листья, экскурсия, мобильное меню
   ============================================================ */

/* ---- Логотип: ровно по центру панели, чуть выше ---- */
.header__bar { min-height: 64px; }
.header__logo,
.header--scrolled .header__logo {
  align-self: center;
  width: 150px;
  margin: -18px 0 -10px;
}
.header__logo img { display: block; }
@media (max-width: 1180px) { .header__logo, .header--scrolled .header__logo { width: 130px; margin: -14px 0 -8px; } }
@media (max-width: 900px)  { .header__logo, .header--scrolled .header__logo { width: 116px; margin: -12px 0 -6px; } }

/* ---- Падающие листья: целиком, плавно появляются и исчезают ---- */
.leaves { overflow: visible; }
.leaf-fly { width: 64px; animation-name: leafFall2; }
.leaf-fly--2 { width: 56px; }
.leaf-fly--3 { width: 50px; }
@keyframes leafFall2 {
  0%   { top: 4%;  transform: translateX(0) rotate(0deg);      opacity: 0; }
  12%  { opacity: .85; }
  50%  { transform: translateX(-50px) rotate(150deg); }
  85%  { opacity: .85; }
  100% { top: 88%; transform: translateX(25px) rotate(300deg);  opacity: 0; }
}

/* ---- Экскурсия: сцена храма с мягкими переходами сверху и снизу ---- */
.tour { overflow: visible; overflow-x: clip; padding: 170px 0 170px; }
.tour__bg {
  object-fit: cover;
  object-position: center 40%;
  opacity: .85;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 70%, transparent 100%);
}
.tour::after {
  background:
    radial-gradient(ellipse 45% 55% at 50% 52%, rgba(6, 21, 15, .75), transparent 80%);
}
.tour__inner { gap: 18px; }
.jungle--tour-l, .jungle--tour-r { z-index: 3; bottom: -40px; height: min(80vh, 760px); width: auto; }

/* ---- Мобильное меню: полноэкранное, в стиле страницы ---- */
@media (max-width: 900px) {
  .header__nav {
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 110px 28px 32px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    box-shadow: none;
    background:
      radial-gradient(ellipse 70% 45% at 50% 40%, rgba(255, 170, 60, .12), transparent 70%),
      linear-gradient(180deg, rgba(6, 21, 15, .9), rgba(6, 21, 15, .96)),
      url('img/bg-jungle.webp') center / cover;
    transform: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
  }
  .header__nav--open { opacity: 1; visibility: visible; }
  .header__nav::before,
  .header__nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150px; height: 300px;
    background: url('img/jungle-left.webp') left bottom / contain no-repeat;
    pointer-events: none;
    opacity: .9;
  }
  .header__nav::before { left: -20px; }
  .header__nav::after  { right: -20px; background-image: url('img/jungle-right.webp'); background-position: right bottom; }

  .header__link {
    position: relative;
    z-index: 1;
    width: auto;
    padding: 10px 20px;
    font-size: 30px;
    letter-spacing: .05em;
    text-align: center;
    color: var(--text);
    background: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .35s, transform .35s, color .2s;
  }
  .header__link:hover { background: none; color: var(--lava-light); }
  .header__link.is-active { color: var(--lava-light); }
  .header__link::after { left: 50%; top: auto; bottom: 0; transform: translateX(-50%) rotate(45deg) scale(0); }
  .header__link.is-active::after { transform: translateX(-50%) rotate(45deg) scale(1); }
  .header__nav--open .header__link { opacity: 1; transform: none; }
  .header__nav--open .header__link:nth-child(1) { transition-delay: .05s; }
  .header__nav--open .header__link:nth-child(2) { transition-delay: .1s; }
  .header__nav--open .header__link:nth-child(3) { transition-delay: .15s; }
  .header__nav--open .header__link:nth-child(4) { transition-delay: .2s; }
  .header__nav--open .header__link:nth-child(5) { transition-delay: .25s; }

  .header__mobile-extra {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    align-items: center;
    opacity: 0;
    transition: opacity .4s .3s;
  }
  .header__nav--open .header__mobile-extra { opacity: 1; }
  .header__switch { justify-content: center; }
  .header__socials { justify-content: center; }

  /* шапка поверх меню, бургер превращается в крестик */
  .header__bar { position: relative; z-index: 95; }
  .header__actions { position: relative; z-index: 96; }
  body.menu-open .header__bar { background: transparent; box-shadow: none; }
  body.menu-open .header__cta { opacity: 0; pointer-events: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 900px) { .header__bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 18, 14, .88); } }
@media (max-width: 900px) { .header__logo { position: relative; z-index: 96; } }


/* ============================================================
   ВЕРСИЯ 9: киноплёнка с кадрами + лайтбокс
   ============================================================ */
.filmstrip { overflow: hidden; padding-bottom: 70px; }
.filmstrip .section-title { margin-bottom: 10px; }
.filmstrip__lead { text-align: center; color: var(--text-soft); margin-bottom: 36px; }
.filmstrip__rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: rotate(-2deg);
  margin: 0 -40px;
}
.filmstrip__row {
  position: relative;
  padding: 22px 0;
  background: #0a0d0c;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  overflow: hidden;
}
/* перфорация плёнки */
.filmstrip__row::before,
.filmstrip__row::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 220, 160, .55) 14px 26px);
  border-radius: 2px;
  opacity: .8;
}
.filmstrip__row::before { top: 6px; }
.filmstrip__row::after  { bottom: 6px; }
.filmstrip__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: filmLeft 70s linear infinite;
}
.filmstrip__row[data-dir="right"] .filmstrip__track { animation-name: filmRight; animation-duration: 80s; }
.filmstrip__rows:hover .filmstrip__track { animation-play-state: paused; }
@keyframes filmLeft  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes filmRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.frame {
  flex: 0 0 auto;
  width: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s, filter .3s; filter: saturate(.9) brightness(.9); }
.frame:hover img { transform: scale(1.08); filter: none; }
.frame::after {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border-color .3s, box-shadow .3s;
}
.frame:hover::after { border-color: var(--lava-light); box-shadow: inset 0 0 30px rgba(255, 170, 60, .35); }

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background: rgba(3, 8, 6, .92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox--open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(1200px, 100%); }
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 0 0 2px rgba(255, 195, 107, .5), 0 30px 80px rgba(0, 0, 0, .7);
  transform: scale(.94);
  transition: transform .35s;
}
.lightbox--open .lightbox__img { transform: none; }
.lightbox__count { text-align: center; margin-top: 14px; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; color: var(--amber-text); }
.lightbox__close, .lightbox__nav {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.lightbox__close { position: absolute; top: 20px; right: 20px; font-size: 28px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--lava); color: var(--text-dark); }

@media (max-width: 640px) {
  .frame { width: 220px; }
  .filmstrip__rows { transform: rotate(-3deg); }
  .lightbox { padding: 70px 10px 20px; gap: 0; flex-wrap: wrap; }
  .lightbox__figure { order: -1; width: 100%; }
  .lightbox__nav { margin: 16px 12px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .filmstrip__row { overflow-x: auto; }
}
