/* Сценарии из Глубины — автономный лендинг. Бордово-золотистая палитра.
   Вынесено из inline <style> в scenarios.html, включая music-trigger/player. */

:root {
  --bg:          #0d0608;
  --bg-2:        #140a0e;
  --bg-3:        #1a0e13;
  --surface:     #1e1015;
  --surface-2:   #251318;
  --burgundy:    #6b1d35;
  --burgundy-l:  #8b2252;
  --burgundy-d:  #4a0e22;
  --wine:        #3d0f1e;
  --gold:        #d4a853;
  --gold-l:      #e8c677;
  --gold-d:      #b08930;
  --gold-10:     rgba(212, 168, 83, 0.10);
  --gold-15:     rgba(212, 168, 83, 0.15);
  --text:        #fff8ee;
  --text-soft:   #e8d8c8;
  --text-muted:  #b8a898;
  --line:        rgba(212, 168, 83, 0.08);
  --line-h:      rgba(212, 168, 83, 0.15);
  --glow:        0 0 80px rgba(212, 168, 83, 0.06);
  --glow-burg:   0 0 80px rgba(107, 29, 53, 0.15);
  --radius:      10px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: all 0.4s ease; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Forum', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* Длинные русские слова на 360px переносятся по символам. */
h1, h2, h3, h4, p, li, a, span, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
html { overflow-x: hidden; }
video { max-width: 100%; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── НАВБАР ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  background: rgba(13, 6, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 14px; }

.nav-logo__text {
  font-family: 'Forum', serif;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.nav-logo__text span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: italic;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--bg) !important;
  font-weight: 600;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.4s ease;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
  transform: translateY(-1px);
  color: var(--bg) !important;
}

.lang-switch { display: flex; gap: 4px; margin-left: 8px; }

.lang-switch__btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--line-h);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switch__btn:hover { color: var(--gold); border-color: var(--gold-d); }

.lang-switch__btn.active {
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
  border-color: var(--gold-d);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.4s ease;
}

.burger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── HERO ─── */
.sc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.sc-hero__bg { position: absolute; inset: 0; z-index: 0; }

.sc-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.sc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13,6,8,0.6) 0%,
      rgba(13,6,8,0.3) 40%,
      rgba(13,6,8,0.5) 70%,
      rgba(13,6,8,0.95) 100%),
    radial-gradient(ellipse at 50% 60%, rgba(107,29,53,0.2) 0%, transparent 60%);
  z-index: 1;
}

.sc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 160px 40px 120px;
}

.sc-hero__logo { margin: 0 auto 40px; }

.sc-hero__label {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.sc-hero__label::before,
.sc-hero__label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-d);
}

.sc-hero__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.05;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}

.sc-hero__subtitle {
  font-family: 'Cormorant Garamond', 'Forum', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--gold-l);
  margin-bottom: 48px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
}

.sc-hero__divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

.sc-hero__quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.9;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 56px;
}

.sc-hero__quote em {
  color: var(--gold);
  font-style: italic;
}

.sc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* ─── Кнопки ─── */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.sc-btn:hover {
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.25), 0 8px 32px rgba(212, 168, 83, 0.15);
  transform: translateY(-2px);
  color: var(--bg);
}

.sc-btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-d);
}

.sc-btn--outline:hover {
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold-l);
  border-color: var(--gold);
}

/* ─── Предисловие ─── */
.sc-preface {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sc-preface__text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sc-preface__label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.sc-preface__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.9;
  color: var(--text);
}

.sc-preface__text strong { color: var(--gold); font-weight: 600; }

.sc-preface__verse {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold-l);
  font-style: italic;
  line-height: 1.8;
  text-align: center;
}

/* ─── Фотополоса ─── */
.sc-photo-strip { overflow: hidden; }

.sc-photo-strip__track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: stripLeft 30s linear infinite;
}

.sc-photo-strip__track:hover { animation-play-state: paused; }

@keyframes stripLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sc-photo-strip__item {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}

.sc-photo-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.8);
}

.sc-photo-strip__item:hover img {
  transform: scale(1.08);
  filter: saturate(1);
}

.sc-leopard-strip {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  max-height: 700px;
}

.sc-leopard-strip img,
.sc-leopard-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Section head ─── */
.sc-section-head {
  text-align: center;
  margin-bottom: 72px;
}

.sc-section-head__label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.sc-section-head__title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--text);
}

/* ─── Модули ─── */
.sc-modules { padding: 140px 0; background: var(--bg); }

.sc-module { margin-bottom: 100px; }
.sc-module:last-child { margin-bottom: 0; }

.sc-module__header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}

.sc-module__number {
  font-family: 'Forum', serif;
  font-size: 5.5rem;
  color: var(--burgundy);
  line-height: 1;
  opacity: 0.7;
  flex-shrink: 0;
}

.sc-module__title {
  font-family: 'Forum', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text);
  line-height: 1.2;
}

.sc-module__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.sc-module__topics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.sc-module__topic {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.6;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.sc-module__topic::before {
  content: '';
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--gold), var(--burgundy));
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

.sc-module__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}

.sc-module__gallery--3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}

.sc-module__gallery--3 .sc-module__img:first-child { grid-column: 1 / -1; }

.sc-module__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
}

.sc-module__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sc-module__img:hover img { transform: scale(1.05); }

.sc-module__divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-h), transparent);
  margin-top: 100px;
}

/* ─── Для кого ─── */
.sc-audience {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sc-audience__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.sc-audience__item {
  padding: 44px 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.sc-audience__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--burgundy));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.sc-audience__item:hover {
  border-color: var(--line-h);
  box-shadow: var(--glow-burg);
}

.sc-audience__item:hover::before { opacity: 1; }

.sc-audience__num {
  font-family: 'Forum', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.sc-audience__title {
  font-family: 'Forum', serif;
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}

.sc-audience__text {
  font-size: 1.25rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ─── Бонус ─── */
.sc-bonus { padding: 140px 0; background: var(--bg); }

.sc-bonus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sc-bonus__image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.sc-bonus__image img { width: 100%; height: 100%; object-fit: cover; }

.sc-bonus__content { max-width: 600px; }

.sc-bonus__badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 28px;
  border: 1px solid var(--burgundy);
  border-radius: 40px;
  margin-bottom: 28px;
  background: rgba(107, 29, 53, 0.15);
}

.sc-bonus__title {
  font-family: 'Forum', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 32px;
}

.sc-bonus__text {
  font-size: 1.35rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.sc-bonus__text strong { color: var(--gold); font-weight: 500; }

.sc-bonus__highlight {
  margin-top: 32px;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid rgba(107, 29, 53, 0.25);
  border-radius: var(--radius);
  border-left: 3px solid var(--burgundy);
}

.sc-bonus__highlight p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold-l);
  line-height: 1.7;
  font-style: italic;
}

/* ─── Стоимость ─── */
.sc-pricing {
  padding: 140px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.sc-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(107,29,53,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.sc-pricing__card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 60px;
  background: var(--bg);
  border: 1px solid rgba(212, 168, 83, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.sc-pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy));
}

.sc-pricing__label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.sc-pricing__price {
  font-family: 'Forum', serif;
  font-size: clamp(4rem, 9vw, 6rem);
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1;
}

.sc-pricing__currency { font-size: 0.4em; color: var(--text-muted); }

.sc-pricing__includes {
  margin: 44px 0;
  text-align: left;
  display: inline-block;
}

.sc-pricing__includes li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
}

.sc-pricing__includes li::before {
  content: '';
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--gold), var(--burgundy));
  border-radius: 50%;
  flex-shrink: 0;
}

.sc-pricing__cta { margin-top: 36px; }

/* ─── Галерея ─── */
.sc-gallery {
  padding: 0;
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.sc-gallery__item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.sc-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(0.7) brightness(0.85);
}

.sc-gallery__item:hover img {
  transform: scale(1.08);
  filter: saturate(1) brightness(1);
}

/* ─── Финальная секция ─── */
.sc-final { position: relative; padding: 0; overflow: hidden; }

.sc-final__bg {
  position: relative;
  height: 70vh;
  min-height: 500px;
}

.sc-final__bg img { width: 100%; height: 100%; object-fit: cover; }

.sc-final__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,6,8,0.7) 0%, rgba(13,6,8,0.4) 40%, rgba(13,6,8,0.8) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(107,29,53,0.2) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.sc-final__quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--gold-l);
  max-width: 800px;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
  text-shadow: 0 4px 30px rgba(0,0,0,0.7);
  padding: 0 40px;
}

/* ─── Футер ─── */
.sc-footer {
  padding: 60px 0 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.sc-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.sc-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-footer__name {
  font-family: 'Forum', serif;
  font-size: 1.1rem;
  color: var(--text);
}

.sc-footer__social { display: flex; gap: 20px; }

.sc-footer__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sc-footer__social a:hover { color: var(--gold); }

.sc-footer__copy {
  width: 100%;
  text-align: center;
  padding-top: 32px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Адаптивность ─── */
@media (max-width: 1024px) {
  .sc-audience__grid { grid-template-columns: 1fr; }
  .sc-module__body   { grid-template-columns: 1fr; }
  .sc-gallery        { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: rgba(13, 6, 8, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right 0.4s ease;
  }

  .nav-links.active { right: 0; }
  .nav-links a      { font-size: 1.1rem; }
  .burger           { display: flex; }

  .sc-hero__content       { padding: 140px 24px 100px; }
  .sc-preface__verse      { font-size: 1.6rem; }
  .sc-photo-strip__item   { width: 220px; height: 220px; }
  .sc-module__header      { flex-direction: column; gap: 8px; }
  .sc-module__number      { font-size: 2.5rem; }
  .sc-bonus__grid         { grid-template-columns: 1fr; gap: 40px; }
  .sc-pricing__card       { padding: 48px 28px; }
  .sc-gallery             { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .sc-module__gallery { grid-template-columns: 1fr; }
  .sc-gallery         { grid-template-columns: repeat(2, 1fr); }
  .sc-btn             { padding: 18px 36px; width: 100%; justify-content: center; }
  .sc-hero__cta       { flex-direction: column; width: 100%; }
}

/* ─── Музыкальные триггеры в галерее ─── */
.music-trigger {
  position: relative;
  cursor: pointer;
}

.music-trigger img {
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.6s ease, filter 0.6s ease;
}

.music-trigger.playing img {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(212,168,83,0.25);
}

/* Кнопка play/pause */
.music-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  border: 1.5px solid rgba(212, 168, 83, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, background 0.35s ease;
}

.music-trigger:hover .music-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.music-trigger.playing .music-btn {
  opacity: 1;
  border-color: rgba(212, 168, 83, 0.7);
  background: rgba(10, 10, 10, 0.75);
}

/* SVG-иконки play / pause */
.music-btn__play,
.music-btn__pause {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.music-btn__play {
  opacity: 1;
  transform: scale(1);
}

.music-btn__pause {
  opacity: 0;
  transform: scale(0.5);
}

.music-trigger.playing .music-btn__play {
  opacity: 0;
  transform: scale(0.5);
}

.music-trigger.playing .music-btn__pause {
  opacity: 1;
  transform: scale(1);
}

/* Пульсация при воспроизведении */
.music-trigger.playing .music-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.2);
  animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 0; }
}

/* ─── DEV-бейджи ─── */
.sc-dev-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(212,168,83,0.4);
  font: 600 12px/1 'Inter', monospace;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  background: rgba(30,30,30,0.8);
  color: #d8c999;
}

.sc-dev-btn.active {
  background: rgba(212,168,83,0.92);
  color: #0a0a0a;
}

.sc-dev-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 100;
  background: rgba(212,168,83,0.92);
  color: #0a0a0a;
  font: 600 11px/1 'Inter', monospace;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  display: none;
}

.sc-dev-badge.active { display: block; }
