/* ============================================================
   Мухоморушка — тёмный мистический лес
   Палитра: тёмный лес + тёплый огонёк + мухоморный красный
   ============================================================ */

:root {
  /* Палитра */
  --bg:           #0a0e0a;   /* тёмный лес */
  --bg-2:         #0e1410;   /* чуть светлее */
  --bg-3:         #141c16;   /* карточки */
  --fg:           #e8e2d5;   /* тёплый кремовый текст */
  --fg-dim:       #a89f8c;   /* приглушённый */
  --fg-mute:      #6b6657;   /* совсем тусклый */
  --accent:       #ff8a3c;   /* огонёк */
  --accent-soft:  #ffb066;   /* светящийся край огонька */
  --red:          #c8102e;   /* мухомор */
  --red-deep:     #8b0a1f;
  --green:        #2d4a2d;   /* лесная зелень */
  --green-mist:   #1a2b1f;
  --gold:         #c8a04a;   /* руны */
  --white-spot:   #fff8ee;   /* белые точки мухомора */

  /* Тени и свечения */
  --glow-accent:  0 0 24px rgba(255, 138, 60, 0.35);
  --glow-red:     0 0 30px rgba(200, 16, 46, 0.45);
  --glow-red-soft: 0 0 18px rgba(200, 16, 46, 0.3);
  --shadow-card:  0 10px 40px rgba(0, 0, 0, 0.5);

  /* Градииент шляпки мухомора — для главных кнопок */
  --grad-cap:     linear-gradient(135deg, #d11735 0%, #c8102e 45%, #8b0a1f 100%);

  /* Радиусы */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* Шрифты */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
}

/* ============================================================
   РЕСЕТ
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

/* Текстура лесной мглы на фоне */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 74, 45, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 10, 31, 0.12), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10, 14, 10, 0.4), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Канвас со спорами — поверх фона, под контентом */
#spores {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

main, header, footer { position: relative; z-index: 2; }

/* Визуально скрыто, но доступно скринридерам и поисковикам */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.4em;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap;
  text-align: center;
}
.btn__icon { width: 1.1em; height: 1.1em; }
.btn--lg { padding: 0.95em 1.8em; font-size: 1.05rem; }

.btn--accent {
  background: var(--grad-cap);
  color: var(--white-spot);
  font-weight: 600;
  box-shadow: var(--glow-red-soft);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  animation: capGlow 3.5s ease-in-out infinite;
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red), 0 8px 24px rgba(0, 0, 0, 0.5);
  animation-play-state: paused;
}
/* Мягкое «дыхание» свечения шляпки мухомора */
@keyframes capGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(200, 16, 46, 0.3); }
  50%      { box-shadow: 0 0 30px rgba(200, 16, 46, 0.55), 0 0 60px rgba(139, 10, 31, 0.25); }
}

.btn--ghost {
  background: rgba(232, 226, 213, 0.06);
  border-color: rgba(232, 226, 213, 0.25);
  color: var(--fg);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--red);
  color: var(--white-spot);
  background: rgba(200, 16, 46, 0.12);
  box-shadow: var(--glow-red-soft);
}

.btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 14, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(232, 226, 213, 0.08);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav__logo-icon { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(200,16,46,0.5)); }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--fg-dim);
}
/* Контейнер навигации: на десктопе — обычный flex-ряд (ссылки + CTA),
   на мобиле (см. @media 768px) — раскрывается как выпадающая панель. */
.nav__panel {
  display: contents;
}
.nav__links a { transition: color 0.25s; position: relative; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s;
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { margin-left: 8px; padding: 0.55em 1.2em; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0a0e0a;
}
.hero__bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55) saturate(1.15);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(10,14,10,0.5) 60%, rgba(10,14,10,0.92) 100%),
    linear-gradient(180deg, rgba(10,14,10,0.6) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.hero__content { max-width: 800px; }
.hero__kicker {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e8405a;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-shadow:
    0 0 40px rgba(255, 138, 60, 0.4),
    0 0 80px rgba(200, 16, 46, 0.2);
}
.hero__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3.5vw, 1.9rem);
  color: var(--fg-dim);
  margin-bottom: 14px;
  font-weight: 400;
}
.hero__offer {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--fg);
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero__offer strong { color: var(--accent-soft); font-weight: 500; }
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Горизонтальный ряд стриминговых платформ: иконка + подпись */
.streamings {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 32px;
  flex-wrap: wrap;
}
.streamings__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.3s;
}
.streamings__item:hover {
  transform: translateY(-4px);
}
.streamings__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: filter 0.3s;
}
.streamings__icon svg {
  width: 48px;
  height: 48px;
  display: block;
}
.streamings__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
.streamings__item:hover .streamings__icon {
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}
.streamings__label {
  font-size: 0.7rem;
  color: var(--fg-dim);
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.streamings__item:hover .streamings__label {
  color: var(--fg);
}
/* Ховер — усиленное свечение в цвете платформы */
.streamings__item--yandex:hover  .streamings__icon { filter: drop-shadow(0 4px 16px rgba(255,204,0,0.5)); }
.streamings__item--vk:hover      .streamings__icon { filter: drop-shadow(0 4px 16px rgba(0,119,255,0.5)); }
.streamings__item--kion:hover    .streamings__icon { filter: drop-shadow(0 4px 16px rgba(227,6,17,0.5)); }
.streamings__item--spotify:hover .streamings__icon { filter: drop-shadow(0 4px 16px rgba(29,185,84,0.5)); }
.streamings__item--apple:hover   .streamings__icon { filter: drop-shadow(0 4px 16px rgba(255,255,255,0.25)); }
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--fg-mute);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--fg-mute);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-mouse::after {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* ============================================================
   ПОЛОСА ДОВЕРИЯ
   ============================================================ */
.trust {
  background: var(--bg-2);
  border-top: 1px solid rgba(232, 226, 213, 0.05);
  border-bottom: 1px solid rgba(232, 226, 213, 0.05);
  padding: 48px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  position: relative;
}
.trust__item + .trust__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(232, 226, 213, 0.12), transparent);
}
.trust__num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 24px rgba(200, 16, 46, 0.4);
}
.trust__label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ============================================================
   ФИНАЛЬНЫЙ ПРИЗЫВ (CTA)
   ============================================================ */
.cta-final {
  padding: 110px 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(255, 138, 60, 0.08), transparent 60%),
    var(--bg);
}
.cta-final__inner { max-width: 640px; margin: 0 auto; }
.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 0 40px rgba(255, 138, 60, 0.25);
}
.cta-final__text {
  color: var(--fg-dim);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta-final__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-final__also {
  color: var(--fg-mute);
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================================
   СЕКЦИИ (общее)
   ============================================================ */
.section {
  padding: 110px 0;
  position: relative;
}
.section--music { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section--saga  { background: var(--bg-2); }
.section--about { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 18px;
}
.section__lead {
  color: var(--fg-dim);
  font-size: 1.05rem;
}
.section__lead strong { color: var(--fg); font-weight: 500; }
.section__head-actions { margin-top: 28px; }

/* ============================================================
   ТРЕКИ
   ============================================================ */
.tracks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.track {
  background: var(--bg-3);
  border: 1px solid rgba(232, 226, 213, 0.06);
  border-radius: var(--r-md);
  padding: 20px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.track:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 60, 0.3);
  box-shadow: var(--shadow-card), 0 0 24px rgba(255, 138, 60, 0.08);
}
.track__header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.track__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.85;
  letter-spacing: 0.02em;
  line-height: 1;
}
.track__badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-spot);
  background: var(--red);
  border-radius: 3px;
  padding: 2px 7px;
  line-height: 1.3;
}
.track__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  min-height: 1.2em;
}
.track__desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  font-style: italic;
  font-family: var(--font-serif);
  line-height: 1.35;
  margin-top: -6px;
}
.track__links {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.track__link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid rgba(232, 226, 213, 0.15);
  background: rgba(232, 226, 213, 0.04);
  transition: all 0.25s;
}
.track__link svg { width: 16px; height: 16px; }
.track__link:hover { background: rgba(232, 226, 213, 0.1); border-color: var(--fg-dim); }
.track__link--yandex:hover { color: #ffcc00; border-color: #ffcc00; }
.track__link--vk:hover { color: #5181b8; border-color: #5181b8; }

.tracks__note {
  text-align: center;
  margin-top: 48px;
  color: var(--fg-dim);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}
.tracks__note span { color: var(--red); margin-right: 8px; }

/* ============================================================
   ВИДЕО-САГА
   ============================================================ */
.saga {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.episode {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  border: 1px solid rgba(232, 226, 213, 0.08);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  background: var(--bg-3);
}
.episode:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 60, 0.4);
  box-shadow: var(--shadow-card), 0 0 30px rgba(255, 138, 60, 0.12);
}
/* Карточка-ссылка: вся площадь эпизода кликабельна */
a.episode { display: block; color: inherit; text-decoration: none; }
.episode {
  background: linear-gradient(135deg, var(--cover-a, #8b0a1f), var(--cover-b, #0e1410));
}
.episode__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.episode__placeholder span {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 600;
  color: rgba(255, 248, 238, 0.18);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 20px;
}
.episode__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: filter 0.4s, transform 0.6s;
  z-index: 1;
}
.episode:hover .episode__poster { filter: brightness(0.9); transform: scale(1.04); }
.episode__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.1);
  transition: filter 0.4s, transform 0.6s;
  z-index: 1;
}
.episode:hover .episode__video { filter: brightness(0.85) saturate(1.2); transform: scale(1.04); }
.episode__play, .episode__info { z-index: 2; }
.episode__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 138, 60, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-accent);
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}
.episode:hover .episode__play { transform: translate(-50%, -50%) scale(1.1); }
.episode__play::after {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #1a0f04;
  margin-left: 4px;
}
.episode__soon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(232, 226, 213, 0.1);
  border: 1px solid rgba(232, 226, 213, 0.2);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.episode__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(10,14,10,0.92));
}
.episode__num {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.episode__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

/* ============================================================
   О ПЕРСОНАЖЕ
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.about__img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  filter: brightness(0.92) contrast(1.05);
}
.about__media-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 138, 60, 0.25), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.about__text { max-width: 560px; }
.about__text .section__title { text-align: left; margin-bottom: 24px; }
.about__text p { color: var(--fg-dim); margin-bottom: 18px; font-size: 1.08rem; }
.about__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem !important;
  color: var(--accent-soft) !important;
  margin-top: 28px !important;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__item {
  border: 1px solid rgba(232, 226, 213, 0.08);
  border-radius: var(--r-md, 14px);
  background: rgba(232, 226, 213, 0.03);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq__item:hover { border-color: rgba(232, 226, 213, 0.15); }
.faq__item[open] {
  border-color: rgba(255, 138, 60, 0.35);
  background: rgba(255, 138, 60, 0.04);
}
.faq__question {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  transition: color 0.3s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq__item[open] .faq__question::after {
  content: '−';
}
.faq__answer {
  padding: 0 24px 22px;
  color: var(--fg-dim);
  line-height: 1.6;
}
.faq__answer a { color: var(--accent-soft); text-decoration: underline; }
.faq__answer a:hover { color: var(--accent); }

/* noscript-фолбэки (для crawlers без JS) */
.tracks-fallback, .saga-fallback {
  max-width: 640px;
  margin: 24px auto;
  padding: 24px;
  background: rgba(232, 226, 213, 0.03);
  border: 1px solid rgba(232, 226, 213, 0.08);
  border-radius: 14px;
  color: var(--fg-dim);
}
.tracks-fallback__title, .saga-fallback__title {
  font-family: var(--font-serif);
  color: var(--fg);
  margin-bottom: 14px;
}
.tracks-fallback__list, .saga-fallback__list {
  padding-left: 20px;
  line-height: 1.8;
}
.tracks-fallback a, .saga-fallback a { color: var(--accent-soft); }


/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(232, 226, 213, 0.06);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer__logo-icon { width: 32px; height: 32px; }
.footer__tagline { color: var(--fg-dim); font-style: italic; font-family: var(--font-serif); }

.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 226, 213, 0.05);
  border: 1px solid rgba(232, 226, 213, 0.1);
  color: var(--fg-dim);
  transition: all 0.3s;
}
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover {
  color: var(--white-spot);
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.15);
  transform: translateY(-2px);
}
/* Соцсети «скоро» — приглушённые, некликабельные, с бейджем */
.footer__social a.is-soon {
  opacity: 0.45;
  cursor: not-allowed;
  position: relative;
}
.footer__social a.is-soon::after {
  content: 'скоро';
  position: absolute;
  top: -6px; right: -6px;
  font-size: 0.55rem;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #1a0f04;
  padding: 2px 5px;
  border-radius: 6px;
  font-weight: 600;
}
.footer__social a.is-soon:hover {
  color: var(--fg-dim);
  border-color: rgba(232, 226, 213, 0.1);
  background: rgba(232, 226, 213, 0.05);
  transform: none;
}

.footer__contact p { color: var(--fg-mute); font-size: 0.9rem; margin-bottom: 6px; }

/* Стриминги в футере */
.footer__streamings {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer__streamings-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 226, 213, 0.08);
  background: rgba(232, 226, 213, 0.04);
  transition: all 0.3s;
  text-decoration: none;
}
.footer__streamings-item:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 226, 213, 0.2);
  background: rgba(232, 226, 213, 0.1);
}
.footer__streamings-item img,
.footer__streamings-item svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.footer__contact a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--fg);
  transition: color 0.25s;
}
.footer__contact a:hover { color: var(--red); }

.footer__bottom {
  border-top: 1px solid rgba(232, 226, 213, 0.06);
  padding: 24px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { color: var(--fg-mute); font-size: 0.85rem; }
.footer__credit { font-style: italic; font-family: var(--font-serif); }

/* ============================================================
   SCROLL-REVEAL АНИМАЦИИ
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
/* Каскад для дочерних карточек */
.tracks .track, .saga .episode { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.tracks.in .track, .saga.in .episode { opacity: 1; transform: none; }
.tracks.in .track:nth-child(1), .saga.in .episode:nth-child(1) { transition-delay: 0.05s; }
.tracks.in .track:nth-child(2), .saga.in .episode:nth-child(2) { transition-delay: 0.1s; }
.tracks.in .track:nth-child(3), .saga.in .episode:nth-child(3) { transition-delay: 0.15s; }
.tracks.in .track:nth-child(4), .saga.in .episode:nth-child(4) { transition-delay: 0.2s; }
.tracks.in .track:nth-child(5), .saga.in .episode:nth-child(5) { transition-delay: 0.25s; }
.tracks.in .track:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .about__text .section__title { text-align: center; }
  .about__text { margin: 0 auto; text-align: center; }
  .about__text p { text-align: center; }
  .about__quote { text-align: left; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer__logo { justify-content: center; }
  .footer__social { justify-content: center; }
  .footer__streamings { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  /* На мобиле отключаем канвас со спорами: экономим батарею/GPU
     и избегаем подёргивания fixed-слоёв (стабильнее клики по шапке). */
  #spores { display: none; }

  /* Мобильная навигация: вся панель (ссылки + CTA) скрыта и
     раскрывается как единый выпадающий блок под шапкой. */
  .nav__panel {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: rgba(10, 14, 10, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 226, 213, 0.08);
  }
  .nav.menu-open .nav__panel { display: flex; }
  .nav.menu-open { background: rgba(10, 14, 10, 0.96); }
  .nav__links {
    flex-direction: column;
    gap: 18px;
    margin-left: 0;
    font-size: 1.1rem;
  }
  .nav__cta { justify-content: center; width: 100%; }
  .nav__burger { display: flex; }

  .section { padding: 80px 0; }
  .cta-final { padding: 80px 0; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .trust__item:nth-child(odd)::before { display: none; }
  .hero__actions,
  .cta-final__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero__actions .btn,
  .cta-final__actions .btn { justify-content: center; }

  /* Hero стриминги: уменьшаем иконки и зазоры, чтобы 5 влезли в ряд */
  .streamings { gap: 14px; margin-top: 24px; }
  .streamings__icon { width: 40px; height: 40px; border-radius: 10px; }
  .streamings__icon svg,
  .streamings__icon img { width: 40px; height: 40px; }
  .streamings__label { font-size: 0.65rem; }
  .streamings__item { gap: 6px; }

  /* Скролл-индикатор: опускаем ниже стримингов */
  .hero__scroll { bottom: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav__inner { padding: 12px 18px; }
  .tracks { grid-template-columns: 1fr; }
  .saga { grid-template-columns: 1fr; }
  .episode { max-height: 220px; }
  .episode__play { width: 48px; height: 48px; }
  .episode__play::after { border-width: 9px 0 9px 15px; margin-left: 3px; }
  .episode__info { padding: 14px; }
  .episode__title { font-size: 1rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }

  /* Hero стриминги: ещё компактнее на узких экранах, переносим 3+2 */
  .streamings { gap: 12px; }
  .streamings__icon { width: 36px; height: 36px; border-radius: 8px; }
  .streamings__icon svg,
  .streamings__icon img { width: 36px; height: 36px; }
  .streamings__label { font-size: 0.6rem; }

  /* Скролл-индикатор: ещё ниже на узких экранах */
  .hero__scroll { bottom: 12px; }

  /* Футер стриминги: центрируем и разрешаем перенос */
  .footer__streamings { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .footer__streamings-item { width: 36px; height: 36px; }
  .footer__streamings-item img,
  .footer__streamings-item svg { width: 24px; height: 24px; }
}

/* ============================================================
   ПЛАВАЮЩАЯ ПАНЕЛЬ ВНИЗУ (В магазин / Форум)
   ============================================================ */
.dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 90;
  display: flex;
  gap: 12px;
  padding: 8px;
  background: rgba(14, 20, 16, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 226, 213, 0.12);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 16, 46, 0.1);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), opacity 0.4s;
}
/* Прячем панель, когда Hero в полной видимости (чтобы не мешала) */
.dock.hidden { transform: translateX(-50%) translateY(140%); opacity: 0; }

.dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.3s;
}
.dock__icon { width: 18px; height: 18px; }

.dock__btn--shop {
  background: var(--grad-cap);
  color: var(--white-spot);
  box-shadow: var(--glow-red-soft);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.dock__btn--shop:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

.dock__btn--forum {
  background: rgba(232, 226, 213, 0.08);
  color: var(--fg);
  border: 1px solid rgba(232, 226, 213, 0.2);
}
.dock__btn--forum:hover {
  border-color: var(--red);
  background: rgba(200, 16, 46, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .dock { bottom: 14px; padding: 6px; gap: 8px; }
  .dock__btn { padding: 9px 16px; font-size: 0.85rem; }
  /* Отступ снизу, чтобы панель не перекрывала контент в самом низу */
  .footer__bottom { padding-bottom: 80px; }
}

/* ============================================================
   ДОСТУПНОСТЬ: отключаем анимации по запросу
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .tracks .track, .saga .episode { opacity: 1 !important; transform: none !important; }
  #spores { display: none; }
}

/* Печать */
@media print {
  #spores, .hero__bg, .nav { display: none; }
  body { background: #fff; color: #000; }
}
