/* ============================================================
   TRUST Fan Community — фан-сообщество игры TRUST
   Тёмная готическая тема: кровь, туман, луна, зерно плёнки
   ============================================================ */

:root {
  --bg: #0a0608;
  --bg-2: #120a0e;
  --bg-3: #1a0f14;
  --blood: #a3122a;
  --blood-bright: #d41f3f;
  --blood-dim: #5c0d1c;
  --bone: #e8ddd2;
  --bone-dim: #a89a8f;
  --muted: #6e5f5c;
  --amber: #e8a34c;
  --border: rgba(163, 18, 42, 0.25);
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--blood); color: #fff; }

/* Тонкий тёмный скроллбар */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--blood-dim);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--blood); }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.accent { color: var(--blood-bright); }

/* ---------- Зерно плёнки поверх всего ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 200;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Орнамент над заголовками секций ---------- */
.section__head { margin-bottom: 26px; }
.ornament {
  width: 180px;
  height: 16px;
  margin-bottom: 14px;
  stroke: var(--blood);
  fill: var(--blood);
  opacity: 0.7;
}
.ornament line { stroke-width: 1; }
.section__head .section__title { margin-bottom: 0; }

/* ---------- Анимация появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .hero__bat, .hero__stars { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Шапка
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 6, 8, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blood-bright);
}
.logo__icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(212, 31, 63, 0.6));
  transition: transform 0.4s var(--ease);
}
.logo__img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo__img { transform: scale(1.12) rotate(-6deg); }
.logo:hover .logo__icon { transform: scale(1.12) rotate(-6deg); }
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--bone);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--blood-bright);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--bone); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  color: var(--bone);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border: 1px solid var(--blood);
  border-radius: 3px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav__cta:hover {
  background: var(--blood);
  box-shadow: 0 0 24px rgba(163, 18, 42, 0.5);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--bone);
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, #241016 0%, var(--bg) 60%);
}

/* Мерцающие звёзды */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(232, 221, 210, 0.8), transparent 100%),
    radial-gradient(1px 1px at 28% 42%, rgba(232, 221, 210, 0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(232, 221, 210, 0.7), transparent 100%),
    radial-gradient(1px 1px at 58% 30%, rgba(232, 221, 210, 0.45), transparent 100%),
    radial-gradient(2px 2px at 71% 9%, rgba(232, 221, 210, 0.7), transparent 100%),
    radial-gradient(1px 1px at 83% 38%, rgba(232, 221, 210, 0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 91% 16%, rgba(232, 221, 210, 0.6), transparent 100%),
    radial-gradient(1px 1px at 6% 55%, rgba(232, 221, 210, 0.4), transparent 100%),
    radial-gradient(1px 1px at 36% 66%, rgba(232, 221, 210, 0.35), transparent 100%),
    radial-gradient(1.5px 1.5px at 64% 58%, rgba(232, 221, 210, 0.4), transparent 100%);
  animation: starsTwinkle 6s ease-in-out infinite alternate;
}
@keyframes starsTwinkle {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

.hero__embers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__moon {
  position: absolute;
  top: 9%;
  right: 12%;
  width: clamp(120px, 16vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f3d9c8 0%, #d9a08a 34%, #8c4a44 68%, #54262c 100%);
  box-shadow:
    0 0 60px 18px rgba(212, 90, 70, 0.22),
    0 0 160px 60px rgba(163, 18, 42, 0.16);
  animation: moonPulse 9s ease-in-out infinite;
  will-change: transform;
}
.hero__moon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 55%, rgba(84, 38, 44, 0.5) 0 8%, transparent 12%),
    radial-gradient(circle at 42% 68%, rgba(84, 38, 44, 0.4) 0 6%, transparent 10%),
    radial-gradient(circle at 55% 30%, rgba(84, 38, 44, 0.35) 0 5%, transparent 9%);
}
@keyframes moonPulse {
  0%, 100% { box-shadow: 0 0 60px 18px rgba(212, 90, 70, 0.22), 0 0 160px 60px rgba(163, 18, 42, 0.16); }
  50%      { box-shadow: 0 0 80px 26px rgba(212, 90, 70, 0.3),  0 0 200px 80px rgba(163, 18, 42, 0.22); }
}

/* Летучие мыши */
.hero__bat {
  position: absolute;
  z-index: 1;
  width: 54px;
  opacity: 0.9;
}
.hero__bat--1 {
  top: 16%;
  animation: batFly1 22s linear infinite;
}
.hero__bat--2 {
  top: 24%;
  width: 36px;
  animation: batFly2 30s linear infinite 7s;
}
@keyframes batFly1 {
  0%   { left: -8%; transform: translateY(0) scaleY(1); }
  25%  { transform: translateY(-26px) scaleY(0.7); }
  50%  { transform: translateY(10px) scaleY(1); }
  75%  { transform: translateY(-18px) scaleY(0.75); }
  100% { left: 108%; transform: translateY(-6px) scaleY(1); }
}
@keyframes batFly2 {
  0%   { left: 108%; transform: translateY(0) scale(-1, 1); }
  30%  { transform: translateY(22px) scale(-1, 0.72); }
  60%  { transform: translateY(-12px) scale(-1, 1); }
  100% { left: -8%; transform: translateY(8px) scale(-1, 0.8); }
}

.hero__castle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(140px, 26vh, 300px);
  z-index: 1;
}

/* Окна замка — тёплый мерцающий свет */
.win { fill: var(--amber); opacity: 0.55; }
.win--1 { animation: winFlicker 4.2s ease-in-out infinite; }
.win--2 { animation: winFlicker 5.1s ease-in-out infinite 0.8s; }
.win--3 { animation: winFlicker 3.6s ease-in-out infinite 1.6s; }
.win--4 { animation: winFlicker 4.8s ease-in-out infinite 0.4s; }
.win--5 { animation: winFlicker 5.6s ease-in-out infinite 2.1s; }
.win--6 { animation: winFlicker 4.4s ease-in-out infinite 1.1s; }
@keyframes winFlicker {
  0%, 100% { opacity: 0.55; }
  42%      { opacity: 0.9; }
  55%      { opacity: 0.35; }
  70%      { opacity: 0.75; }
}

.hero__fog {
  position: absolute;
  bottom: -10%;
  width: 140%;
  height: 45%;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(26, 15, 20, 0.9), transparent 70%);
  filter: blur(30px);
  opacity: 0.8;
}
.hero__fog--1 { left: -20%; animation: fogDrift 26s ease-in-out infinite alternate; }
.hero__fog--2 { right: -20%; animation: fogDrift 34s ease-in-out infinite alternate-reverse; }
@keyframes fogDrift {
  from { transform: translateX(-6%) scale(1); }
  to   { transform: translateX(6%) scale(1.08); }
}

/* Виньетка по краям */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, transparent 55%, rgba(5, 3, 4, 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: 120px 0 140px;
  will-change: transform, opacity;
}

.hero__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blood-bright);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: rgba(163, 18, 42, 0.08);
  backdrop-filter: blur(4px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  font-style: italic;
  background: linear-gradient(120deg, var(--blood-bright) 20%, #ff6b5e 50%, var(--blood-bright) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 7s ease-in-out infinite;
  filter: drop-shadow(0 0 26px rgba(212, 31, 63, 0.4));
}
@keyframes titleShimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

.hero__subtitle {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--bone-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.hero__subtitle strong { color: var(--bone); }

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero__note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 24px;
  height: 40px;
  border: 1px solid var(--muted);
  border-radius: 14px;
}
.hero__scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--blood-bright);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   Бегущая строка
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(163, 18, 42, 0.1), rgba(163, 18, 42, 0.03), rgba(163, 18, 42, 0.1));
  padding: 14px 0;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blood-dim);
  padding-right: 12px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Блик, пробегающий при наведении */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

.btn--primary {
  background: linear-gradient(135deg, var(--blood) 0%, var(--blood-bright) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(163, 18, 42, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 44px rgba(212, 31, 63, 0.5);
}

.btn--ghost {
  border-color: rgba(232, 221, 210, 0.25);
  color: var(--bone);
  background: rgba(232, 221, 210, 0.03);
}
.btn--ghost:hover {
  border-color: var(--blood-bright);
  color: var(--blood-bright);
  background: rgba(163, 18, 42, 0.08);
}

.btn--small { padding: 11px 24px; font-size: 0.88rem; }
.btn--wide { width: 100%; text-align: center; }

/* ============================================================
   Секции
   ============================================================ */
.section { padding: 110px 0; position: relative; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.15;
}
.section__lead {
  max-width: 640px;
  color: var(--bone-dim);
  margin-bottom: 54px;
  font-size: 1.05rem;
}

/* ---------- Об игре ---------- */
.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.about__text p { color: var(--bone-dim); margin-bottom: 18px; }
.about__text strong, .about__text em { color: var(--bone); }
.about__text .btn { margin-top: 12px; }

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fact-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
/* Акцентная линия сверху, проявляется при наведении */
.fact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blood), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.fact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 31, 63, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
.fact-card:hover::before { opacity: 1; }
.fact-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blood-dim);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.35s;
}
.fact-card:hover .fact-card__num { color: var(--blood); }
.fact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.fact-card p { font-size: 0.9rem; color: var(--bone-dim); }

/* ---------- Сообщество ---------- */
.community__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perk {
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid rgba(232, 221, 210, 0.07);
  border-radius: 6px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
/* Мягкое свечение из угла при наведении */
.perk::after {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(212, 31, 63, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.perk:hover {
  transform: translateY(-5px);
  border-color: var(--border);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.perk:hover::after { opacity: 1; }
.perk__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blood-bright);
  margin-bottom: 18px;
  background: rgba(163, 18, 42, 0.08);
  box-shadow: 0 0 18px rgba(163, 18, 42, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.perk__icon svg { width: 26px; height: 26px; }
.perk:hover .perk__icon {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(212, 31, 63, 0.35);
}
.perk h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.perk p { font-size: 0.92rem; color: var(--bone-dim); }

/* ---------- Тариф ---------- */
.pricing {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(163, 18, 42, 0.09), transparent 70%),
    var(--bg-2);
}
.pricing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.pricing__card {
  background: linear-gradient(165deg, #1d0e15 0%, var(--bg-3) 100%);
  border: 1px solid rgba(212, 31, 63, 0.35);
  border-radius: 10px;
  padding: 46px 42px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(163, 18, 42, 0.12);
}
/* Дышащее свечение вокруг карточки тарифа */
.pricing__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(212, 31, 63, 0.6), transparent 35%, transparent 65%, rgba(212, 31, 63, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: cardGlow 5s ease-in-out infinite;
}
@keyframes cardGlow {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.pricing__badge {
  position: absolute;
  top: -14px;
  left: 42px;
  background: linear-gradient(135deg, var(--blood) 0%, var(--blood-bright) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(163, 18, 42, 0.45);
}
.pricing__price {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  margin: 10px 0 4px;
  background: linear-gradient(160deg, var(--bone) 40%, var(--bone-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pricing__currency { font-size: 2.6rem; vertical-align: super; color: var(--blood-bright); -webkit-text-fill-color: var(--blood-bright); }
.pricing__period { color: var(--muted); font-size: 0.88rem; margin-bottom: 30px; }
.pricing__list {
  list-style: none;
  margin-bottom: 34px;
}
.pricing__list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--bone-dim);
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(232, 221, 210, 0.06);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.pricing__list li:hover { color: var(--bone); padding-left: 34px; }
.pricing__list li::before {
  content: '✦';
  position: absolute;
  left: 2px;
  top: 10px;
  font-size: 0.85rem;
  color: var(--blood-bright);
}
.pricing__disclaimer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}
.pricing__how h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 24px;
}
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 58px;
  color: var(--bone-dim);
  font-size: 0.97rem;
}
.steps li strong { color: var(--bone); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blood-bright);
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 18, 42, 0.07);
  transition: background 0.3s, box-shadow 0.3s;
}
.steps li:hover::before {
  background: rgba(163, 18, 42, 0.16);
  box-shadow: 0 0 16px rgba(163, 18, 42, 0.3);
}
.steps li::after {
  content: '';
  position: absolute;
  left: 20px; top: 44px; bottom: 4px;
  width: 1px;
  background: var(--border);
}
.steps li:last-child::after { display: none; }
.pricing__refund { font-size: 0.85rem; color: var(--muted); }

/* ---------- Форма ---------- */
.apply__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.apply__intro p { color: var(--bone-dim); margin: 26px 0; }
.apply__hints { list-style: none; }
.apply__hints li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--bone-dim);
  font-size: 0.94rem;
}
.apply__hints li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blood-bright);
}

.form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 42px 38px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.form__field { margin-bottom: 20px; }
.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--bone);
}
.form__optional { color: var(--muted); font-weight: 400; }
.form__field input,
.form__field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(232, 221, 210, 0.14);
  border-radius: 4px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--muted); }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--blood-bright);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(212, 31, 63, 0.15);
}
.form__field input.is-invalid {
  border-color: var(--blood-bright);
  background: rgba(163, 18, 42, 0.07);
}
.form__error {
  display: block;
  font-size: 0.78rem;
  color: var(--blood-bright);
  margin-top: 6px;
  min-height: 1em;
}
.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--bone-dim);
  margin: 6px 0 4px;
  cursor: pointer;
}
.form__consent input { margin-top: 3px; accent-color: var(--blood); }
.form__consent a { color: var(--blood-bright); }
.form button[type="submit"] { margin-top: 18px; }
.form button[type="submit"].is-loading {
  opacity: 0.65;
  pointer-events: none;
}
.form__status {
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}
.form__status.is-success { color: #7ac79a; }
.form__status.is-error { color: var(--blood-bright); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); }
.faq__list { max-width: 780px; }
.faq__item {
  border: 1px solid rgba(232, 221, 210, 0.09);
  border-radius: 6px;
  margin-bottom: 12px;
  background: var(--bg-3);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item[open] {
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blood-bright);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--blood-bright); }
.faq__answer {
  padding: 0 24px 22px;
  color: var(--bone-dim);
  font-size: 0.94rem;
}

/* ---------- Футер ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(163, 18, 42, 0.07), transparent 70%),
    var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--bone);
}
.footer__col a {
  display: block;
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.footer__col a:hover { color: var(--blood-bright); padding-left: 6px; }
.footer__col span { font-size: 0.82rem; color: var(--muted); }
.footer__disclaimer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.6;
}
.footer__bottom {
  border-top: 1px solid rgba(232, 221, 210, 0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 960px) {
  .about__grid,
  .pricing__inner,
  .apply__inner { grid-template-columns: 1fr; gap: 48px; }
  .community__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: rgba(10, 6, 8, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav__link { font-size: 1.3rem; }
  .burger { display: flex; z-index: 101; position: relative; }
  .community__grid { grid-template-columns: 1fr; }
  .about__cards { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .form { padding: 32px 24px; }
  .hero__moon { right: 50%; margin-right: calc(clamp(120px, 16vw, 220px) / -2); top: 6%; opacity: 0.75; }
  .hero__content { padding-top: 180px; }
  .marquee__track span { font-size: 0.9rem; }
  .grain { animation: none; }
}
