/* =============================================
   ТИХОНОВ ФМ — Версия 3.3
   Мини-плеер: одна бегущая строка + бейдж "В эфире"
============================================= */

/* ========== 1. ПЕРЕМЕННЫЕ ========== */
:root {
  --bg: #050403;
  --gold: #ef8a2f;
  --gold-light: #ffb04c;
  --gold-soft: rgba(239, 138, 47, 0.35);
  --gold-glow: rgba(239, 138, 47, 0.5);
  --amber: #ef8a2f;
  --text: #f2e8d5;
  --text-muted: #a89778;
  --glass: rgba(18, 13, 9, 0.62);
  --glass-border: rgba(239, 138, 47, 0.18);
  --live: #e05a5a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== 2. ОБНУЛЕНИЕ И БАЗОВЫЕ СТИЛИ ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== 3. ФОН ========== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.bg__image {
  position: absolute;
  inset: -6%;
  background: url('../assets/background.webp') center center / cover no-repeat;
  filter: brightness(1) saturate(1.2) contrast(1.00);
  animation: bgBreathe 50s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bgBreathe {
  0%   { transform: scale(1.02) translate(0, 0); }
  50%  { transform: scale(1.07) translate(-1%, 0.7%); }
  100% { transform: scale(1.03) translate(0.7%, -0.5%); }
}

.bg__mist {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
  rgba(5,4,3,0.35) 0%,
  rgba(8,6,4,0.10) 28%,
  rgba(10,7,4,0.20) 58%,
  rgba(5,3,2,0.65) 100%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(239, 138, 47, 0.14) 0%, transparent 70%);
}

.bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(0,0,0,0.45) 100%);
}

.bg__breath {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(239, 138, 47, 0.09) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 2s var(--ease);
}

body.is-playing .bg__breath,
body.is-watching .bg__breath {
  opacity: 1;
  animation: softPulse 7s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.9; transform: scale(1.05); }
}

.bg__particles { position: absolute; inset: 0; }

.particle {
  position: absolute;
  background: rgba(239, 138, 47, 0.68);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 0 6px rgba(239, 138, 47, 0.30),
    0 0 12px rgba(239, 138, 47, 0.12);
  will-change: transform, opacity;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translate3d(0,0,0) scale(.55);
  }
  10% {
    opacity: .65;
  }
  35% {
    transform: translate3d(-8px,-35vh,0) scale(.85);
  }
  70% {
    transform: translate3d(10px,-70vh,0) scale(1);
    opacity: .35;
  }
  100% {
    opacity: 0;
    transform: translate3d(-5px,-110vh,0) scale(1.15);
  }
}

/* ========== 4. ОБЩАЯ СТРУКТУРА СТРАНИЦЫ ========== */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== 5. ШАПКА ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 2.2rem;
  background: linear-gradient(180deg, rgba(5,4,3,0.94) 0%, rgba(5,4,3,0.55) 75%, transparent 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Бренд */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand__mark {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg);
  filter: drop-shadow(0 0 8px rgba(239, 138, 47, 0.35));
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.brand__icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: none;
  transition: none;
}

body.is-playing .brand__mark {
  animation: logoGlow 2.6s ease-in-out infinite;
  will-change: filter;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(239,138,47,.35)); }
  50%      { filter: drop-shadow(0 0 18px rgba(255,176,76,.85)); }
}

.brand__eq {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

body.is-playing .brand__eq { opacity: 0; }

.brand__eq i {
  display: block;
  width: 2px;
  height: 8px;
  border-radius: 1px;
  background: var(--gold-light);
  animation: miniBar 0.7s ease-in-out infinite alternate;
}

.brand__eq i:nth-child(1) { animation-delay: 0s; }
.brand__eq i:nth-child(2) { animation-delay: 0.12s; }
.brand__eq i:nth-child(3) { animation-delay: 0.05s; }
.brand__eq i:nth-child(4) { animation-delay: 0.2s; }
.brand__eq i:nth-child(5) { animation-delay: 0.08s; }

@keyframes miniBar {
  from { transform: scaleY(0.4); opacity: 0.5; }
  to   { transform: scaleY(1.3); opacity: 1; }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Десктопная навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: nowrap;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--gold-light);
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =============================================
   MINI-HI-END ПЛЕЕР (новая версия)
============================================= */
.header-player {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px 0 8px;
  background: rgba(10, 8, 6, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(239, 138, 47, 0.20);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 176, 76, 0.05);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  flex: 1;
  min-width: 240px;
  max-width: 480px;
  margin-left: auto;
  margin-right: 2rem;
  flex-shrink: 0;
}

body.is-playing .header-player {
  border-color: rgba(239, 138, 47, 0.45);
  box-shadow: 0 4px 24px rgba(239, 138, 47, 0.15), inset 0 0 0 1px rgba(255, 176, 76, 0.12);
}

/* Кнопка Play/Pause */
.player-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 138, 47, 0.40);
  background: rgba(5, 4, 3, 0.5);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  color: var(--gold-light);
}

.player-btn:hover {
  border-color: var(--gold);
  background: rgba(239, 138, 47, 0.15);
  box-shadow: 0 0 20px rgba(239, 138, 47, 0.15);
}

body.is-playing .player-btn {
  border-color: var(--gold);
  background: rgba(239, 138, 47, 0.20);
  box-shadow: 0 0 24px rgba(239, 138, 47, 0.20);
}

.player-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: opacity 0.25s ease;
}

.player-btn .icon-play { display: block; }
.player-btn .icon-pause { display: none; }

body.is-playing .player-btn .icon-play { display: none; }
body.is-playing .player-btn .icon-pause { display: block; }

/* Информация о треке */
.player-info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.player-track-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.player-track {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.3;
  letter-spacing: 0.01em;
  display: block;
  position: relative;
  text-align: left;
}

.player-track-inner {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
  transform: translateX(100%);
  text-align: left;
  padding-left: 0;
}

/* Стили для названия и артиста внутри одной строки */
.track-name {
  color: var(--gold-light);
  font-weight: 500;
}

.track-sep {
  color: var(--text-muted);
  margin: 0 4px;
}

.track-artist {
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.7;
}

body.is-playing .track-name {
  color: var(--gold-light);
}

/* Бейдж "В эфире" */
.player-live {
  display: none;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(239, 138, 47, 0.15);
}

body.is-playing .player-live {
  display: flex;
}

.player-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5ecf7a;
  box-shadow: 0 0 0 0 rgba(94, 207, 122, 0.5);
  animation: liveDot 1.8s ease-out infinite;
}

.player-live__text {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5ecf7a;
  font-weight: 600;
}

@keyframes liveDot {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { opacity: 1; }
}

/* Ключевые кадры бегущей строки */
@keyframes marquee {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   ОСТАЛЬНЫЕ КНОПКИ
============================================= */
.btn-ether {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  color: var(--gold-light);
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s, border-color 0.3s, opacity 0.3s;
}

.btn-ether:hover {
  border-color: var(--gold);
  box-shadow: 0 0 22px rgba(239, 138, 47, 0.25);
}

.btn-ether:active { transform: scale(0.98); }

.btn-ether[aria-pressed="true"] {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(239,138,47,0.28) 0%, rgba(40,24,8,0.65) 100%);
  box-shadow: 0 0 28px rgba(239, 138, 47, 0.35);
}

.btn-ether--header {
  padding: 0.55rem 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(20, 14, 8, 0.55);
  flex-shrink: 0;
}

.btn-ether--primary,
.btn-ether--watch {
  padding: 0.9rem 1.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-width: 9.5rem;
}

.btn-ether--primary {
  background: linear-gradient(180deg, rgba(239,138,47,0.18) 0%, rgba(20,12,6,0.55) 100%);
}

.btn-ether--watch {
  background: linear-gradient(180deg, rgba(239,138,47,0.12) 0%, rgba(14,10,6,0.5) 100%);
}

.btn-ether--inline {
  margin-top: 1.1rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.75rem;
}

/* Иконки кнопок */
.btn-ether__icon--play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

body.is-playing #btnListen .btn-ether__icon--play,
body.is-playing #btnHeader .btn-ether__icon {
  width: 10px;
  height: 12px;
  border: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 3px 100% no-repeat;
}

.btn-ether__icon--video {
  width: 14px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  box-sizing: border-box;
}

.btn-ether__icon--video::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 1px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3.5px 0 3.5px 4px;
  border-color: transparent transparent transparent currentColor;
  opacity: 0.85;
}

#btnHeader .btn-ether__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}

/* Бургер-меню (мобильное) */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold-light);
  transition: transform 0.3s, opacity 0.3s;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Мобильное.drawer меню */
.drawer {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(8, 6, 4, 0.96);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 1.5rem 1.5rem;
  backdrop-filter: blur(16px);
}

.drawer[hidden] { display: none !important; }

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer__nav a {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.drawer__nav a:hover { color: var(--gold-light); }

/* ========== 6. ГЛАВНЫЙ ЭКРАН (ГЕРОЙ) ========== */
.main {
  flex: 1;
  padding-top: 5.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem 2.5rem;
  min-height: calc(100vh - 5.5rem);
  justify-content: center;
}

.hero__stage {
  position: relative;
  width: min(420px, 86vw);
  height: min(420px, 86vw);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

/*==========================================
АУРА ЛОГОТИПА
==========================================*/

.aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aura__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(239, 138, 47, 0.10);
  opacity: .18;
  will-change: transform;
  transition: border-color .5s, opacity .5s;
}

.aura__ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef8a2f;
  transform: translateX(-50%);
  box-shadow:
    0 0 8px rgba(239,138,47,.55),
    0 0 18px rgba(239,138,47,.18);
  pointer-events: none;
}

.aura__ring--1 {
  inset: 9%;
}

.aura__ring--2 {
  inset: 3%;
  opacity: .14;
}

.aura__ring--3 {
  inset: -4%;
  opacity: .08;
}

body.is-playing .aura__ring {
  border-color: rgba(239, 138, 47, 0.20);
  opacity: .38;
  animation: ringSpin 22s linear infinite;
  box-shadow:
    0 0 10px rgba(239, 138, 47, 0.08);
}

body.is-playing .aura__ring--2 {
  animation-duration: 32s;
  animation-direction: reverse;
}

body.is-playing .aura__ring--3 {
  animation-duration: 42s;
}

body.is-playing .aura__ring::after {
  animation: dotPulse 2.8s ease-in-out infinite;
}

@keyframes ringSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dotPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow:
      0 0 8px rgba(239,138,47,.45),
      0 0 18px rgba(239,138,47,.16);
  }
  50% {
    transform: translateX(-50%) scale(1.18);
    box-shadow:
      0 0 12px rgba(239,138,47,.65),
      0 0 24px rgba(239,138,47,.24);
  }
}

/* Боковые волны */
.waves {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 40%;
  pointer-events: none;
  opacity: 0.25;
  transition: opacity 0.5s;
}

.waves--left  { right: calc(100% - 10%); transform: translateY(-50%); flex-direction: row-reverse; }
.waves--right { left:  calc(100% - 10%); transform: translateY(-50%); }

body.is-playing .waves { opacity: 0.85; }

.waves span {
  display: block;
  width: 3px;
  height: 20%;
  border-radius: 2px;
  background: linear-gradient(180deg, #ffb04c, #ef8a2f 55%, #c96b17);
  box-shadow: 0 0 8px rgba(239,138,47,.55);
  transform-origin: center;
  animation: waveIdle 2.5s ease-in-out infinite alternate;
}

.waves span:nth-child(1) { animation-delay: 0.05s; height: 28%; }
.waves span:nth-child(2) { animation-delay: 0.18s; height: 45%; }
.waves span:nth-child(3) { animation-delay: 0.08s; height: 62%; }
.waves span:nth-child(4) { animation-delay: 0.25s; height: 38%; }
.waves span:nth-child(5) { animation-delay: 0.12s; height: 70%; }
.waves span:nth-child(6) { animation-delay: 0.3s;  height: 42%; }
.waves span:nth-child(7) { animation-delay: 0.15s; height: 55%; }
.waves span:nth-child(8) { animation-delay: 0.22s; height: 30%; }

body.is-playing .waves span {
  animation-name: wavePlay;
  animation-duration: 2.30s;
}

@keyframes waveIdle {
  from { transform: scaleY(0.55); opacity: 0.4; }
  to   { transform: scaleY(1); opacity: 0.75; }
}

@keyframes wavePlay {
  0%   { transform: scaleY(0.35); }
  50%  { transform: scaleY(1.25); }
  100% { transform: scaleY(0.55); }
}

/* Логотип и эквалайзер */
.hero__logo {
  position: relative;
  width: 78%;
  max-width: 340px;
  aspect-ratio: 1;
  z-index: 2;
}

.hero__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 0 28px rgba(239, 138, 47, 0.25));
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
  animation: logoFloat 8s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

body.is-playing .hero__logo-img {
  filter:
    drop-shadow(0 0 18px rgba(255, 176, 76, 0.35))
    drop-shadow(0 0 48px rgba(239, 138, 47, 0.45));
  animation: logoAlive 3.2s ease-in-out infinite;
}

@keyframes logoAlive {
  0%, 100% { transform: scale(1) translateY(0); }
  50%      { transform: scale(1.025) translateY(-3px); }
}

.logo-eq {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  width: 42%;
  height: 28%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4.3%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s var(--ease);
  z-index: 3;
}

body.is-playing .logo-eq { opacity: 0.92; }

.logo-eq span {
  flex: 1;
  max-width: 9px;
  height: 35%;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb04c 0%, #ef8a2f 45%, #c87020 100%);
  box-shadow:
    0 0 6px rgba(255, 176, 76, 0.7),
    0 0 16px rgba(239, 138, 47, 0.45);
  transform-origin: bottom center;
  animation: eqBar 0.7s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.07s);
  animation-play-state: paused;
}

body.is-playing .logo-eq span { animation-play-state: running; }

.logo-eq span:nth-child(1) { height: 48%; animation-duration: 0.93s; }
.logo-eq span:nth-child(2) { height: 32%; animation-duration: 0.72s; }
.logo-eq span:nth-child(3) { height: 72%; animation-duration: 0.87s; }
.logo-eq span:nth-child(4) { height: 44%; animation-duration: 1.08s; }
.logo-eq span:nth-child(5) { height: 95%; animation-duration: 0.78s; }
.logo-eq span:nth-child(6) { height: 50%; animation-duration: 0.99s; }
.logo-eq span:nth-child(7) { height: 70%; animation-duration: 0.83s; }
.logo-eq span:nth-child(8) { height: 36%; animation-duration: 1.05s; }
.logo-eq span:nth-child(9) { height: 48%; animation-duration: 0.90s; }

@keyframes eqBar {
  0%   { transform: scaleY(0.45); opacity: 0.75; filter: brightness(0.95); }
  100% { transform: scaleY(1.15); opacity: 1; filter: brightness(1.2); }
}

/* Индикатор прямого эфира */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.live-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(224, 90, 90, 0.5);
  animation: liveDot 1.8s ease-out infinite;
}

body.is-playing .live-pill { color: var(--gold-light); }

body.is-playing .live-pill__dot {
  background: #5ecf7a;
  box-shadow: 0 0 0 0 rgba(94, 207, 122, 0.45);
}

/* Заголовки и подзаголовки героя */
.hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.45);
}

.hero__lead {
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.4rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 0.9rem;
  margin-top: 0.5rem;
}

/* ========== 7. ВИДЕОПАНЕЛЬ (VK) ========== */
.video-panel {
  width: min(860px, 100%);
  margin: 1.75rem auto 0;
  padding: 0.85rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  animation: videoIn 0.45s var(--ease);
}

@keyframes videoIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.video-panel[hidden] { display: none !important; }

.video-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.15rem 0.35rem 0.75rem;
}

.video-panel__title {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.video-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  color: var(--gold-light);
  font-size: 0.95rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}

.video-panel__close:hover {
  border-color: var(--gold);
  background: rgba(239, 138, 47, 0.12);
}

.video-panel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(239, 138, 47, 0.12);
}

.video-panel__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Эффекты при просмотре видео */
body.is-watching .hero__logo-img {
  filter:
    drop-shadow(0 0 18px rgba(255, 176, 76, 0.3))
    drop-shadow(0 0 40px rgba(239, 138, 47, 0.35));
}

body.is-watching .live-pill { color: var(--gold-light); }

body.is-watching .live-pill__dot {
  background: #6eb8ff;
  box-shadow: 0 0 0 0 rgba(110, 184, 255, 0.45);
}

body.is-watching .header-player .player-btn {
  opacity: 0.35;
  pointer-events: none;
}

/* ========== 8. БЛОК "СЕЙЧАС В ЭФИРЕ" ========== */
.now {
  padding: 0 1.25rem 3rem;
  display: flex;
  justify-content: center;
}

.now__card {
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  gap: 1.25rem 1.5rem;
  padding: 1.15rem 1.4rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  transition: border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

body.is-playing .now__card {
  border-color: rgba(239, 138, 47, 0.32);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.4),
    0 0 32px rgba(239, 138, 47, 0.12);
}

.now__cover-wrap {
  position: relative;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(20, 14, 8, 0.85);
  border: 1px solid rgba(239, 138, 47, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.now__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), filter 0.45s;
  background: #1a120a;
}

.now__cover.is-loading { opacity: 0.35; }

.now__cover.is-placeholder {
  object-fit: contain;
  padding: 18%;
  opacity: 0.75;
  filter: saturate(0.9);
}

body.is-playing .now__cover:not(.is-placeholder) {
  opacity: 1;
  animation: coverBreath 4.5s ease-in-out infinite;
}

@keyframes coverBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

.now__cover-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(239, 138, 47, 0.08);
  opacity: 0;
  transition: opacity 0.4s;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 176, 76, 0.12), transparent 55%);
}

body.is-playing .now__cover-glow {
  opacity: 1;
  animation: coverGlow 3.2s ease-in-out infinite;
}

@keyframes coverGlow {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(239, 138, 47, 0.1),
      0 0 0 rgba(239, 138, 47, 0);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(239, 138, 47, 0.22),
      0 0 22px rgba(239, 138, 47, 0.35);
  }
}

.now__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 1.35rem;
}

.now__block { flex: 1; min-width: 0; }

.now__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.now__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.now__artist {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.now__prev {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-light);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.now__divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-soft), transparent);
  flex-shrink: 0;
}

/* ========== 9. СЕКЦИИ И ФУТЕР ========== */
.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(239, 138, 47, 0.08);
}

.section__title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.section__text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem 1.25rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-top: 1px solid rgba(239, 138, 47, 0.08);
}

.footer__soft { opacity: 0.7; }

/* ========== 10. АДАПТИВ ========== */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  .btn-ether--header { display: none; }

  .header {
    padding: 0.6rem 1rem;
  }

  .brand {
    flex-shrink: 0;
  }
  .brand__text {
    display: none !important;
  }
  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .header-player {
    flex: 1;
    margin: 0 0.8rem;
    height: 38px;
    padding: 0 8px 0 4px;
    gap: 8px;
    min-width: 100px;
    max-width: 260px;
  }

  .player-btn {
    width: 30px;
    height: 30px;
  }
  .player-btn svg {
    width: 13px;
    height: 13px;
  }

  .player-track {
    font-size: 0.7rem;
  }

  .player-live__text {
    display: none;
  }
  .player-live {
    border-left: none;
    padding-left: 0;
  }

  .nav {
    gap: 0.8rem;
  }
  .nav a {
    font-size: 0.65rem;
  }
}

@media (max-width: 560px) {
  /* Шапка и плеер */
  .header {
    padding: 0.5rem 0.6rem;
  }
  .brand__text {
    display: none !important;
  }
  .brand__mark {
    width: 32px;
    height: 32px;
  }
  .header-player {
    max-width: 180px;
    margin: 0 0.4rem;
    padding: 0 6px 0 3px;
    height: 34px;
    gap: 6px;
    flex-shrink: 1;
  }
  .player-btn {
    width: 24px;
    height: 24px;
  }
  .player-btn svg {
    width: 10px;
    height: 10px;
  }
  .player-track {
    font-size: 0.6rem;
  }
  .burger {
    width: 32px;
    height: 32px;
    gap: 4px;
  }
  .burger span {
    width: 16px;
    height: 1.5px;
  }

  /* Боковые волны — адаптация вместо скрытия */
  .waves {
    height: 25%;
    gap: 3px;
    opacity: 0.35;
  }
  .waves--left  { right: calc(100% - 6%); }
  .waves--right { left:  calc(100% - 6%); }
  .waves span {
    width: 2px;
    height: 15%;
    box-shadow: 0 0 4px rgba(239,138,47,.4);
  }

  /* Контентные блоки */
  .now__card {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
  }
  .now__cover-wrap {
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }
  .now__meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  .now__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  }
  .now__title { font-size: 1.15rem; }

  .hero__stage {
    width: min(320px, 88vw);
    height: min(320px, 88vw);
  }

  .brand__tag { display: none; }

  .btn-ether--primary,
  .btn-ether--watch {
    min-width: 8.2rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
  }

  .video-panel { margin-top: 1.25rem; padding: 0.65rem; }
}

/* ========== 11. СОКРАЩЕНИЕ АНИМАЦИЙ (ПОЛЬЗОВАТЕЛЬСКИЕ НАСТРОЙКИ) ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.is-playing .now__cover,
  body.is-playing .now__cover-glow {
    animation: none !important;
  }

  .player-track-inner {
    animation: none !important;
  }
}

/* ========== 12. СТИЛИ ДЛЯ СТРАНИЦ-ЗАГЛУШЕК ========== */
.page-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1.5rem;
  text-align: center;
}

.page-placeholder__content {
  max-width: 600px;
}

.page-placeholder h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.page-placeholder p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.page-placeholder a {
  color: var(--gold);
  text-decoration: underline;
  transition: color 0.3s;
}

.page-placeholder a:hover {
  color: var(--gold-light);
}

/* ========== СТРАНИЦА "МУЗЫКА" ========== */

/* Фон для страницы музыки */
body.page-music .bg__image {
  background-image: url('../assets/background-music.webp?v=2');
  filter: brightness(0.75) saturate(1.1) contrast(1.05);
}

/* Фон для страницы альбома (опционально) */
body.page-album .bg__image {
  background-image: url('../assets/background-music.webp?v=2');
  filter: brightness(0.7) saturate(1.2) contrast(1.05);
}

/* Фон для главной страницы (опционально) */
body.page-home .bg__image {
  background-image: url('../assets/background.webp');
  filter: brightness(0.68) saturate(1.2) contrast(1.06);
}

.music-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.music-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.music-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  color: var(--gold-light);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.music-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.music-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  opacity: 0.85;
}

/* Панель фильтров */
.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-bottom: 1px solid rgba(239, 138, 47, 0.08);
  margin-bottom: 2rem;
}

.filter-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--gold-light);
  font-weight: 600;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 24px rgba(239, 138, 47, 0.3);
}

/* Сетка */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Карточка релиза */
.music-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.music-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 40px rgba(239,138,47,0.06);
  border-color: rgba(239,138,47,0.35);
}

.music-card__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0806;
}

.music-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.music-card:hover .music-card__cover img {
  transform: scale(1.05);
}

.music-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(239, 138, 47, 0.85);
  color: #fff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
}

.music-card__info {
  padding: 1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.music-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.15rem;
  line-height: 1.2;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-height: 3.6em;         /* примерно 3 строки */
  overflow: hidden;
}

.music-card__year {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.music-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.music-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}

.music-card__btn--detail {
  background: rgba(239,138,47,0.08);
  border-color: rgba(239,138,47,0.15);
  color: var(--gold-light);
}

.music-card__btn--detail:hover {
  background: rgba(239,138,47,0.2);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(239,138,47,0.1);
}

.music-card__btn--listen {
  background: rgba(239,138,47,0.15);
  border-color: rgba(239,138,47,0.25);
  color: var(--gold-light);
}

.music-card__btn--listen:hover {
  background: rgba(239,138,47,0.25);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(239,138,47,0.15);
}

/* Лоадер */
.music-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
}

.music-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* Адаптив */
@media (max-width: 768px) {
  .music-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .music-title {
    font-size: 2.4rem;
  }
  .music-description {
    font-size: 0.9rem;
  }
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  .filter-stats {
    justify-content: center;
    font-size: 0.75rem;
    gap: 0.8rem;
  }
  .filter-buttons {
    justify-content: center;
  }
  .filter-btn {
    font-size: 0.65rem;
    padding: 0.3rem 0.9rem;
  }
  .music-card__title {
    font-size: 0.95rem;
  }
  .music-card__info {
    padding: 0.7rem 0.9rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .music-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.8rem;
  }
  .music-page {
    padding: 1rem 0.8rem 2rem;
  }
  .music-title {
    font-size: 1.8rem;
  }
  .music-subtitle {
    font-size: 0.9rem;
  }
  .music-description {
    font-size: 0.8rem;
  }
  .stat-item {
    font-size: 0.7rem;
  }
  .filter-btn {
    font-size: 0.55rem;
    padding: 0.2rem 0.7rem;
  }
  .music-card__badge {
    font-size: 0.45rem;
    padding: 0.1rem 0.5rem;
    top: 6px;
    right: 6px;
  }
  .music-card__btn {
    font-size: 0.55rem;
    padding: 0.3rem 0.6rem;
  }
}
/* ========== СТРАНИЦА АЛЬБОМА ========== */
.album-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.album-back {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s var(--ease);
  margin-bottom: 2rem;
}

.album-back:hover {
  color: var(--gold-light);
}

.album-container {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.album-cover-wrapper {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0806;
  border: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.album-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-info {
  flex: 1;
  min-width: 0;
}

.album-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.album-meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.album-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  font-weight: 300;
  max-width: 500px;
}

/* Ссылки на площадки */
.album-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(10,8,6,0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.platform-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(239,138,47,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(239,138,47,0.1);
}

.platform-link .platform-icon {
  font-size: 1.1rem;
}

.platform-link--bandlink {
  border-color: rgba(239,138,47,0.3);
  background: rgba(239,138,47,0.08);
}

.platform-link--bandlink:hover {
  background: rgba(239,138,47,0.2);
}

/* Треки */
.album-tracks {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  backdrop-filter: blur(12px);
}

.tracks-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.tracks-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-item {
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(239,138,47,0.05);
}

.track-item:last-child {
  border-bottom: none;
}

.track-number {
  width: 2.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  flex-shrink: 0;
}

.track-title {
  flex: 1;
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
}

.track-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.track-play {
  color: var(--gold-light);
  opacity: 0.4;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-size: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}

.track-play:hover {
  opacity: 1;
  transform: scale(1.1);
}

.album-loader {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
}

/* Адаптив для страницы альбома */
@media (max-width: 768px) {
  .album-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .album-cover-wrapper {
    width: 220px;
  }
  .album-description {
    max-width: 100%;
  }
  .album-links {
    justify-content: center;
  }
  .album-title {
    font-size: 2rem;
  }
  .album-tracks {
    padding: 1.2rem 1rem;
  }
  .track-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .album-cover-wrapper {
    width: 180px;
  }
  .album-title {
    font-size: 1.6rem;
  }
  .album-page {
    padding: 1rem 0.8rem 2rem;
  }
  .tracks-title {
    font-size: 1.3rem;
  }
  .track-item {
    padding: 0.4rem 0;
    flex-wrap: wrap;
  }
  .track-title {
    flex: 1 0 100%;
    margin-bottom: 0.2rem;
  }
  .track-duration, .track-play {
    margin-left: 2.2rem;
  }
}

/* Блок авторов (альбом) */
.album-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.credit-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.credit-label {
  font-weight: 500;
  color: var(--gold-light);
  opacity: 0.8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Информация об авторах в списке треков */
.track-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 0.1rem;
}

.track-credits .credit-item {
  font-size: 0.7rem;
}

.track-credits .credit-label {
  font-size: 0.6rem;
  opacity: 0.6;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .album-credits {
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .track-credits {
    font-size: 0.6rem;
  }
}

/* ========== НОВОСТИ ИЗ VK ========== */
.vk-news {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.vk-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.vk-news__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.vk-news__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(239,138,47,0.06);
  border-color: rgba(239,138,47,0.25);
}

.vk-news__image-link {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0806;
}

.vk-news__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.vk-news__card:hover .vk-news__image-link img {
  transform: scale(1.04);
}

.vk-news__content {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vk-news__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.vk-news__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.vk-news__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;   /* увеличил с 4 до 6 */
  line-clamp: 6;
  -webkit-box-orient: vertical;
}

.vk-news__text a {
  color: var(--gold-light);
  text-decoration: underline;
  word-break: break-all;
}

.vk-news__read-more {
  align-self: flex-start;
  font-size: 0.8rem;
  color: var(--gold-light);
  text-decoration: none;
  border: 1px solid var(--gold-soft);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  font-weight: 500;
}

.vk-news__read-more:hover {
  background: rgba(239,138,47,0.1);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(239,138,47,0.1);
}

.vk-news__loader,
.vk-news__empty,
.vk-news__error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  font-weight: 300;
}

.vk-news__error p {
  margin: 0.3rem 0;
}

/* Адаптив */
@media (max-width: 600px) {
  .vk-news__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vk-news__text {
    font-size: 0.9rem;
    -webkit-line-clamp: 5;   /* увеличил с 3 до 5 */
    line-clamp: 5;
  }
  .vk-news__content {
    padding: 1rem;
  }
}
/* ==========================================
   АНИМИРОВАННАЯ КНОПКА ВОСПРОИЗВЕДЕНИЯ
========================================== */
.track-play {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(239, 138, 47, 0.35);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.35s;
  overflow: hidden;
  flex-shrink: 0;
}

.track-play:hover {
  border-color: #ef8a2f;
  box-shadow: 0 0 18px rgba(239, 138, 47, 0.25);
}

.track-play__icon {
  font-size: 18px;
  color: #ef8a2f;
  transition: 0.3s;
}

.track-play__eq {
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}

.track-play__eq i {
  display: block;
  width: 2px;
  background: #ffb04c;
  border-radius: 2px;
  animation: eq 0.55s ease-in-out infinite alternate;
}

.track-play__eq i:nth-child(1) { height: 6px; animation-delay: 0.05s; }
.track-play__eq i:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.track-play__eq i:nth-child(3) { height: 16px; animation-delay: 0.08s; }
.track-play__eq i:nth-child(4) { height: 10px; animation-delay: 0.22s; }
.track-play__eq i:nth-child(5) { height: 7px; animation-delay: 0.11s; }

.track-card.is-playing .track-play__icon {
  display: none;
}

.track-card.is-playing .track-play__eq {
  display: flex;
}

/* ==========================================
   ЭКВАЛАЙЗЕР ВОЗЛЕ НАЗВАНИЯ ТРЕКА
========================================== */
.track-title {
  position: relative;
  transition: 0.35s;
  display: flex;
  align-items: center;
}

.track-card.is-playing .track-title {
  color: #ffb04c;
  text-shadow: 0 0 8px rgba(239, 138, 47, 0.35);
}

.track-playing {
  display: none;
  margin-left: 10px;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}

.track-playing i {
  display: block;
  width: 2px;
  background: #ef8a2f;
  border-radius: 2px;
  animation: eq 0.6s ease-in-out infinite alternate;
}

.track-playing i:nth-child(1) { height: 5px; }
.track-playing i:nth-child(2) { height: 12px; }
.track-playing i:nth-child(3) { height: 8px; }
.track-playing i:nth-child(4) { height: 13px; }
.track-playing i:nth-child(5) { height: 6px; }

.track-card.is-playing .track-playing {
  display: flex;
}

/* ==========================================
   ЗОЛОТОЙ ОРЕОЛ КАРТОЧКИ
========================================== */
.track-card {
  position: relative;
  transition: 0.35s;
}

.track-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transition: 0.45s;
  box-shadow:
    0 0 18px rgba(239, 138, 47, 0.18),
    0 0 35px rgba(239, 138, 47, 0.08);
}

.track-card.is-playing::after {
  opacity: 1;
}

/* ==========================================
   ЗОЛОТАЯ ЛИНИЯ ПРОГРЕССА
========================================== */
.track-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.track-progress::before {
  content: "";
  position: absolute;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ef8a2f, #ffb04c, transparent);
  transform: translateX(-120%);
}

.track-card.is-playing .track-progress::before {
  animation: progressWave 3s linear infinite;
}

@keyframes progressWave {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

@keyframes eq {
  0%   { transform: scaleY(0.4); opacity: 0.55; }
  100% { transform: scaleY(1.3); opacity: 1; }
}
.section-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s var(--ease);
}
.section-link:hover {
  opacity: 0.85;
}
.section-link .section {
  pointer-events: none; /* чтобы клик проходил через родительскую ссылку */
}
/* Ссылки на авторов в треках */
.author-link {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  border-bottom: 1px solid transparent;
}

.author-link:hover {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(239, 138, 47, 0.3);
  border-bottom-color: var(--gold-soft);
}
/* ============================================
   СТРАНИЦА АВТОРА (заглушка)
============================================ */
.author-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.author-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: transparent;
  transition: all 0.3s var(--ease);
  margin-bottom: 2rem;
}

.author-back:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(239,138,47,0.08);
}

.author-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.author-card__photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(239,138,47,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.author-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-card__info {
  flex: 1;
  min-width: 0;
}

.author-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.author-card__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.author-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.author-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.author-card__links .platform-link {
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: rgba(10,8,6,0.6);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.author-card__links .platform-link:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(239,138,47,0.1);
}

@media (max-width: 600px) {
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .author-card__photo {
    width: 140px;
    height: 140px;
  }
  .author-card__name {
    font-size: 1.8rem;
  }
  .author-card__meta {
    justify-content: center;
  }
  .author-card__links {
    justify-content: center;
  }
}
/* ============================================
   КНОПКИ НА СТРАНИЦЕ АЛЬБОМА
============================================= */
.album-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.album-links .btn-ether,
.album-links .platform-link {
  height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  flex-shrink: 0;
}

.album-links .btn-ether {
  background: linear-gradient(135deg, rgba(239, 138, 47, 0.18), rgba(255, 176, 76, 0.05));
  border-color: rgba(239, 138, 47, 0.25);
  color: var(--gold-light);
}
.album-links .btn-ether:hover {
  background: linear-gradient(135deg, rgba(239, 138, 47, 0.28), rgba(255, 176, 76, 0.1));
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(239, 138, 47, 0.12);
}

.album-links .platform-link {
  background: rgba(10, 8, 6, 0.5);
  border-color: var(--glass-border);
  color: var(--text-muted);
}
.album-links .platform-link:hover {
  border-color: rgba(239, 138, 47, 0.3);
  color: var(--gold-light);
  background: rgba(239, 138, 47, 0.06);
}

@media (max-width: 480px) {
  .album-links .btn-ether,
  .album-links .platform-link {
    height: 42px;
    padding: 0 16px;
    font-size: 0.75rem;
  }
}
/* ============================================
   СООБЩЕСТВО — АСТРОЛЯБИЯ (кольца)
============================================= */

/* Фон для страницы сообщества */
body.page-community .bg__image {
  background-image: url('../assets/background-community.webp?v=2');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7) saturate(1.1) contrast(1.05);
  animation: bgBreathe 50s ease-in-out infinite alternate;
}

.community-page {
  display: flex;
  flex-direction: column;      /* элементы идут сверху вниз */
  align-items: center;         /* горизонтальное центрирование */
  justify-content: flex-start; /* прижимаем к верху, без центрирования по вертикали */
  min-height: 80vh;
  padding: 2rem 1.5rem;
}

.community-astrolabe {
  position: relative;
  width: 680px;
  height: 680px;
  max-width: 92vw;
  max-height: 92vw;
  aspect-ratio: 1/1;
  margin: 0 auto;
}

/* Контейнер для колец */
.astrolabe-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Базовый стиль для всех колец */
/* Стили для всех колец */
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-sizing: border-box;
}

/* Сплошная линия (по умолчанию) */
.ring.solid {
  border-style: solid;
}

/* Пунктирная */
.ring.dashed {
  border-style: dashed;
}

/* Точечная */
.ring.dotted {
  border-style: dotted;
}

/* Размеры колец (от центра к краю) */
.r1 { width: 285px; height: 285px; }
.r2 { width: 310px; height: 310px; }
.r3 { width: 390px; height: 390px; }
.r4 { width: 460px; height: 460px; }
.r5 { width: 575px; height: 575px; }
.r6 { width: 620px; height: 620px; }
.r7 { width: 662px; height: 662px; }
.r8 { width: 670px; height: 670px; }

/* Для разнообразия можно сделать некоторые кольца чуть ярче */
.r1 { border-color: rgba(239, 138, 47, 0.08); }
.r2 { border-color: rgba(239, 138, 47, 0.14); }
.r3 { border-color: rgba(239, 138, 47, 0.12); }
.r4 { border-color: rgba(239, 138, 47, 0.14); }
.r5 { border-color: rgba(239, 138, 47, 0.12); }
.r6 { border-color: rgba(239, 138, 47, 0.12); }
.r7 { border-color: rgba(239, 138, 47, 0.16); }
.r8 { border-color: rgba(239, 138, 47, 0.08); }


/* ===== КНОПКИ ===== */
.community-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(239,138,47,0.22);

  background:
    radial-gradient(circle at 30% 28%,
      rgba(255,180,90,0.08) 0%,
      rgba(40,33,28,1) 55%,
      rgba(22,18,16,1) 100%);

  color: #d4c9b0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease,
    background .3s ease;

  font-family: 'Manrope', sans-serif;

  box-shadow:
      inset 0 2px 2px rgba(255,170,80,.10),
      inset 0 -10px 18px rgba(0,0,0,.45),
      0 6px 14px rgba(0,0,0,.45),
      0 0 12px rgba(239,138,47,.05);

  z-index: 1;
  padding: 0;
  user-select: none;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;

  overflow: hidden;
}

/* Внутренняя рамка */
.community-btn::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,170,70,.10);
  pointer-events: none;
}

/* Блик сверху */
.community-btn::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 28%;
  top: 12%;
  left: 15%;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.10), rgba(255,255,255,0));
  pointer-events: none;
}

/* ОБЩЕЕ НАВЕДЕНИЕ — для всех кнопок */
.community-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: rgba(239,138,47,.65);
  background:
    radial-gradient(circle at 30% 25%,
      rgba(255,180,90,.12) 0%,
      rgba(48,40,34,1) 60%,
      rgba(27,22,19,1) 100%);
  color: #ffb04c;
  box-shadow:
      inset 0 2px 3px rgba(255,180,90,.16),
      inset 0 -10px 20px rgba(0,0,0,.55),
      0 10px 22px rgba(0,0,0,.55),
      0 0 22px rgba(239,138,47,.14);
}

.community-btn .btn-icon {
  line-height: 1;
  margin-bottom: 4px;
}
.community-btn .btn-label {
  font-weight: 400;
  line-height: 1.2;
}
.community-btn .btn-count {
  opacity: 0.6;
  margin-top: 2px;
}

/* Центральная кнопка */
.community-btn--center {
  width: 240px;
  height: 240px;
  border-color: rgba(255,176,76,0.5);
  box-shadow:
      inset 0 2px 2px rgba(255,170,80,.12),
      inset 0 -10px 18px rgba(0,0,0,.5),
      0 8px 20px rgba(0,0,0,.5),
      0 0 30px rgba(239,138,47,.08);
  z-index: 10 !important;
  position: relative;
  pointer-events: auto;
}
.community-btn--center .btn-icon {
  font-size: 44px;
}
.community-btn--center .btn-label {
  font-size: 26px;
}
.community-btn--center .btn-count {
  font-size: 15px;
}
.community-btn--center:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* Обычные кнопки (точки) */
.community-btn--point {
  width: 160px;
  height: 160px;
}
.community-btn--point .btn-icon {
  font-size: 34px;
}
.community-btn--point .btn-label {
  font-size: 18px;
}
.community-btn--point .btn-count {
  font-size: 12px;
}
/* Явное наведение для точек с !important */
.community-btn--point:hover {
  transform: translate(-50%, -50%) scale(1.06) !important;
}

/* Активное состояние для всех */
.community-btn.active {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 30% 25%,
      rgba(255,180,90,.15) 0%,
      rgba(48,40,34,1) 60%,
      rgba(27,22,19,1) 100%);
  color: var(--gold-light);
  box-shadow:
      inset 0 2px 3px rgba(255,180,90,.2),
      inset 0 -10px 20px rgba(0,0,0,.55),
      0 10px 22px rgba(0,0,0,.55),
      0 0 30px rgba(239,138,47,.2);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
  .community-astrolabe {
    width: 520px;
    height: 520px;
  }
  .community-btn--center {
    width: 180px;
    height: 180px;
  }
  .community-btn--center .btn-icon { font-size: 32px; }
  .community-btn--center .btn-label { font-size: 17px; }
  .community-btn--point {
    width: 120px;
    height: 120px;
  }
  .community-btn--point .btn-icon { font-size: 24px; }
  .community-btn--point .btn-label { font-size: 13px; }
  .community-btn--point .btn-count { font-size: 10px; }

  /* Уменьшаем кольца пропорционально */
  .r1 { width: 90px; height: 90px; }
  .r2 { width: 140px; height: 140px; }
  .r3 { width: 190px; height: 190px; }
  .r4 { width: 250px; height: 250px; }
  .r5 { width: 320px; height: 320px; }
  .r6 { width: 390px; height: 390px; }
  .r7 { width: 450px; height: 450px; }
  .r8 { width: 500px; height: 500px; }
}

@media (max-width: 480px) {
  .community-astrolabe {
    width: 340px;
    height: 340px;
  }
  .community-btn--center {
    width: 120px;
    height: 120px;
  }
  .community-btn--center .btn-icon { font-size: 24px; }
  .community-btn--center .btn-label { font-size: 13px; }
  .community-btn--center .btn-count { font-size: 10px; }
  .community-btn--point {
    width: 80px;
    height: 80px;
  }
  .community-btn--point .btn-icon { font-size: 18px; }
  .community-btn--point .btn-label { font-size: 10px; }
  .community-btn--point .btn-count { font-size: 8px; }

  /* Кольца — теперь пропорциональны десктопу */
  .r1 { width: 142px; height: 142px; }
  .r2 { width: 155px; height: 155px; }
  .r3 { width: 195px; height: 195px; }
  .r4 { width: 230px; height: 230px; }
  .r5 { width: 288px; height: 288px; }
  .r6 { width: 310px; height: 310px; }
  .r7 { width: 331px; height: 331px; }
  .r8 { width: 335px; height: 335px; }
}

/* ===== ЛИНИИ СТОРОН СВЕТА ===== */
.astrolabe-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239, 138, 47, 0.16);
}

/* Основные линии (вертикальная, горизонтальная, диагонали) — будут вращаться */
.line--vertical {
  width: 1px;
  height: 100%;
  animation: lineRotate 180s linear infinite;
}

.line--horizontal {
  width: 100%;
  height: 1px;
  animation: lineRotate 180s linear infinite;
}

.line--diagonal1 {
  width: 141.4%; /* sqrt(2) * 100% */
  height: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
  animation: lineRotate 180s linear infinite;
}

.line--diagonal2 {
  width: 141.4%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation: lineRotate 180s linear infinite;
}

/* Промежуточные линии — неподвижны */
.line--intermediate1,
.line--intermediate2,
.line--intermediate3,
.line--intermediate4 {
  width: 120%;
  height: 1px;
  background: rgba(239, 138, 47, 0.12);
  animation: none !important;
  transform-origin: center;
}

.line--intermediate1 {
  transform: translate(-50%, -50%) rotate(22.5deg);
}

.line--intermediate2 {
  transform: translate(-50%, -50%) rotate(67.5deg);
}

.line--intermediate3 {
  transform: translate(-50%, -50%) rotate(112.5deg);
}

.line--intermediate4 {
  transform: translate(-50%, -50%) rotate(157.5deg);
}

/* Анимация вращения для основных линий */
@keyframes lineRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* ============================================
   АНИМАЦИЯ АСТРОЛЯБИИ (слои)
============================================= */

/* 1. Базовые стили для анимируемых элементов */
.ring,
.line {
  will-change: transform;
}

/* 2. Внешнее кольцо (r8) – вращается очень медленно */
.r8 {
  animation: rotateCW 240s linear infinite;
}

/* 3. Среднее кольцо (r5) – вращается в обратную сторону */
.r5 {
  animation: rotateCCW 120s linear infinite;
}

/* 4. Внутреннее кольцо (r3) – вращается по часовой */
.r3 {
  animation: rotateCW 80s linear infinite;
}

/* 5. Пунктирное кольцо (r7) – вращается быстрее */
.r7 {
  animation: rotateCW 100s linear infinite;
}

/* 6. Остальные кольца тоже можно анимировать, но с промежуточными скоростями */
.r1 { animation: rotateCW 180s linear infinite; }
.r2 { animation: rotateCCW 150s linear infinite; }
.r4 { animation: rotateCW 100s linear infinite; }
.r6 { animation: rotateCCW 90s linear infinite; }

/* Ключевые кадры для вращения */
@keyframes rotateCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCCW {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* 7. Лучи сторон света – почти неподвижны (оборот за 1200 секунд = 20 минут) */
.line--vertical,
.line--horizontal,
.line--diagonal1,
.line--diagonal2 {
  animation: rotateVerySlow 600s linear infinite;
}

@keyframes rotateVerySlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 8. Дыхание центральной кнопки (золотое свечение) */
.community-btn--center {
  animation: glowPulse 10s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(239, 138, 47, 0.2), 0 0 40px rgba(239, 138, 47, 0.05);
    border-color: rgba(255, 176, 76, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(239, 138, 47, 0.4), 0 0 80px rgba(239, 138, 47, 0.1);
    border-color: rgba(255, 176, 76, 0.6);
  }
}

/* 9. Мерцание всей астролябии (насыщенность) */
.community-astrolabe {
  animation: goldAlive 10s ease-in-out infinite;
}

@keyframes goldAlive {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; }
}

/* ==========================================
   ПОДСВЕТКА КОЛЕЦ
========================================== */

/* Анимация свечения для колец */
@keyframes ringGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(239, 138, 47, 0.05), inset 0 0 15px rgba(239, 138, 47, 0.02);
  }
  50% {
    box-shadow: 0 0 35px rgba(239, 138, 47, 0.20), inset 0 0 25px rgba(239, 138, 47, 0.06);
  }
}

/* Применяем к выбранным кольцам с разной скоростью */
/* r2 — вращение + свечение 8 сек */
.r2 {
  animation: rotateCCW 50s linear infinite, ringGlow 6s ease-in-out infinite;
}

/* r4 — вращение + свечение 10 сек */
.r4 {
  animation: rotateCW 60s linear infinite, ringGlow 8s ease-in-out infinite;
}

/* r5 — вращение + свечение 12 сек */
.r5 {
  animation: rotateCCW 80s linear infinite, ringGlow 10s ease-in-out infinite;
}

/* r8 — вращение + свечение 14 сек */
.r8 {
  animation: rotateCW 100s linear infinite, ringGlow 12s ease-in-out infinite;
}

/* ==========================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ АСТРОЛЯБИИ
========================================== */
.community-astrolabe {
  animation: astrolabeAppear 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes astrolabeAppear {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Иконки в кнопках астролябии */
.community-icon {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 6px rgba(239,138,47,0.15));
  transition: filter 0.3s ease;
}

/* Для центральной кнопки (музыка) можно сделать крупнее */
.center-icon {
  width: 110px;
  height: 110px;
  margin-bottom: 6px;
}

/* При наведении на кнопку – лёгкое свечение иконки */
.community-btn:hover .community-icon {
  filter: drop-shadow(0 0 12px rgba(239,138,47,0.35));
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .community-icon {
    width: 52px;
    height: 52px;
  }
  .center-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .community-icon {
    width: 30px;
    height: 30px;
  }
  .center-icon {
    width: 55px;
    height: 55px;
  }
}
/* ============================================
   СООБЩЕСТВО — УПРАВЛЕНИЕ И ПОИСК
   ============================================= */

/* ----- ПЕРЕМЕННЫЕ ДЛЯ РЕГУЛИРОВКИ РАССТОЯНИЙ ----- */
:root {
  --controls-gap: 12rem;           /* расстояние между кнопками «Все» и «Команда» на десктопе */
  --controls-margin-bottom: 1.0rem; /* отступ от кнопок до астролябии */
  --btn-control-size: 180px;       /* размер кнопок на десктопе */
  --btn-control-size-tablet: 120px;
  --btn-control-size-mobile: 80px;
}

/* Блок кнопок над астролябией */
.community-controls {
  display: flex;
  justify-content: center;
  gap: var(--controls-gap);
  margin-bottom: var(--controls-margin-bottom);
}

/* Кнопки "Все" и "Команда" — как у Музыка */
.community-btn--control {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  transform-origin: center;
  width: var(--btn-control-size);
  height: var(--btn-control-size);
  border-radius: 50%;
  border: 1px solid rgba(239, 138, 47, 0.25);
  background: radial-gradient(circle at 30% 28%,
    rgba(255, 180, 90, 0.06) 0%,
    rgba(40, 33, 28, 0.9) 55%,
    rgba(22, 18, 16, 0.95) 100%);
  color: #d4c9b0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  box-shadow: inset 0 2px 2px rgba(255, 170, 80, 0.08), inset 0 -10px 18px rgba(0, 0, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.45);
  user-select: none;
  pointer-events: auto;
  overflow: hidden;
  animation: glowPulse 10s ease-in-out infinite;
}

/* Иконки внутри кнопок управления */
.community-btn--control .community-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 6px rgba(239,138,47,0.15));
  transition: filter 0.3s ease;
}

.community-btn--control:hover .community-icon {
  filter: drop-shadow(0 0 12px rgba(239,138,47,0.35));
}

.community-btn--control::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 170, 70, 0.08);
  pointer-events: none;
}

.community-btn--control::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 28%;
  top: 12%;
  left: 15%;
  border-radius: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.community-btn--control .btn-label {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.community-btn--control .btn-count {
  font-size: 1rem;
  opacity: 0.6;
  margin-top: 4px;
}

.community-btn--control:hover {
  transform: scale(1.06);
  border-color: rgba(239, 138, 47, 0.6);
  background: radial-gradient(circle at 30% 25%,
    rgba(255, 180, 90, 0.1) 0%,
    rgba(48, 40, 34, 0.95) 60%,
    rgba(27, 22, 19, 1) 100%);
  color: #ffb04c;
  box-shadow: inset 0 2px 3px rgba(255, 180, 90, 0.12), inset 0 -10px 20px rgba(0, 0, 0, 0.55), 0 10px 22px rgba(0, 0, 0, 0.55), 0 0 22px rgba(239, 138, 47, 0.12);
}

.community-btn--control.active {
  border-color: var(--gold);
  background: radial-gradient(circle at 30% 25%,
    rgba(255, 180, 90, 0.15) 0%,
    rgba(48, 40, 34, 1) 60%,
    rgba(27, 22, 19, 1) 100%);
  color: var(--gold-light);
  box-shadow: inset 0 2px 3px rgba(255, 180, 90, 0.2), inset 0 -10px 20px rgba(0, 0, 0, 0.55), 0 10px 22px rgba(0, 0, 0, 0.55), 0 0 30px rgba(239, 138, 47, 0.2);
}

/* ----- ПОИСКОВАЯ СТРОКА ----- */
.community-search {
  max-width: 500px;
  width: 100%;
  margin: 1.8rem auto 2rem;
  padding: 0 1rem;
}

.community-search input {
  width: 100%;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 138, 47, 0.2);
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.community-search input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.community-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(239, 138, 47, 0.1);
}

/* ===== КАРТОЧКИ АВТОРОВ ===== */
.community-authors-list {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.community-authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.community-author-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  backdrop-filter: blur(8px);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.community-author-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(239,138,47,0.08);
  border-color: var(--gold);
}

.community-author-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 0.6rem;
  border: 2px solid rgba(239,138,47,0.15);
  background: #0a0806;
  transition: border-color 0.3s ease;
}

/* Бейдж "Команда" на карточке */
.community-author-card {
  position: relative;
}

.community-team-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(239, 138, 47, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-author-card:hover .community-team-badge {
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(239, 138, 47, 0.3);
}

.community-team-badge .team-badge-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(239, 138, 47, 0.2));
}

.community-author-card:hover .community-author-card__photo {
  border-color: var(--gold);
}

.community-author-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-author-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 0.15rem;
}

.community-author-card__city {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* Иконки направлений в карточках */
.community-author-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}

.community-author-icons .community-author-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 4px rgba(239, 138, 47, 0.15));
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px;
  transition: transform 0.2s ease;
}

.community-author-card:hover .community-author-icons .community-author-icon {
  transform: scale(1.15);
}

.community-empty {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
}

/* ----- АДАПТИВНЫЕ НАСТРОЙКИ (переопределяем переменные) ----- */
@media (max-width: 768px) {
  :root {
    --controls-gap: 6rem;
    --btn-control-size: 120px;
  }
  .community-btn--control .btn-label {
    font-size: 0.9rem;
  }
  .community-btn--control .btn-count {
    font-size: 0.7rem;
  }
  .community-authors-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .community-btn--control .community-icon {
  width: 28px;
  height: 28px;
}
}

@media (max-width: 480px) {
  :root {
    --controls-gap: 6rem;
    --btn-control-size: 80px;
  }
  .community-btn--control .btn-label {
    font-size: 0.6rem !important;
  }
  .community-btn--control .btn-count {
    font-size: 0.6rem !important;
  }
  .community-authors-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.7rem;
  }
  .community-team-badge {
  width: 22px;
  height: 22px;
  top: 4px;
  right: 4px;
}
.community-team-badge .team-badge-icon {
  width: 12px;
  height: 12px;
}
  .community-author-card__photo {
    width: 56px;
    height: 56px;
  }
  .community-author-card__name {
    font-size: 0.85rem;
  }
  .community-author-card {
    padding: 0.8rem 0.5rem;
  }
  .community-authors-list {
    padding: 0 0.8rem 2rem;
  }
  .community-btn--control .community-icon {
    width: 18px !important;
    height: 18px !important;
}
}
/* ==========================================
   УЛУЧШЕННАЯ ПОДСВЕТКА АКТИВНЫХ КНОПОК
   ========================================= */

/* Для всех кнопок сообщества – усиленное свечение */
.community-btn.active {
  border-color: #ffb04c !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 180, 90, 0.3),
    inset 0 -10px 20px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(239, 138, 47, 0.35),
    0 0 80px rgba(239, 138, 47, 0.15) !important;
  background: radial-gradient(circle at 30% 25%,
    rgba(255, 180, 90, 0.2) 0%,
    rgba(48, 40, 34, 1) 60%,
    rgba(27, 22, 19, 1) 100%) !important;
  color: #ffb04c !important;
}

/* Отключаем анимацию пульсации для активных кнопок, чтобы не мешала */
.community-btn--center.active,
.community-btn--control.active {
  animation: none !important;
}

/* Центральная кнопка – дополнительное усиление */
.community-btn--center.active {
  border-color: #ffb04c !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 180, 90, 0.3),
    inset 0 -10px 20px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(239, 138, 47, 0.4),
    0 0 100px rgba(239, 138, 47, 0.2) !important;
}

/* Кнопки управления – своя подсветка */
.community-btn--control.active {
  border-color: #ffb04c !important;
  box-shadow: 
    inset 0 2px 3px rgba(255, 180, 90, 0.3),
    inset 0 -10px 20px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(239, 138, 47, 0.35),
    0 0 80px rgba(239, 138, 47, 0.15) !important;
  background: radial-gradient(circle at 30% 25%,
    rgba(255, 180, 90, 0.2) 0%,
    rgba(48, 40, 34, 1) 60%,
    rgba(27, 22, 19, 1) 100%) !important;
  color: #ffb04c !important;
}

/* ==========================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ КНОПОК УПРАВЛЕНИЯ
   ========================================= */
.community-controls {
  animation: controlsAppear 0.8s ease-out forwards;
  opacity: 0;
}

@keyframes controlsAppear {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   СТРАНИЦА ВИДЕО
============================================= */

/* Фон для страницы видео */
body.page-video .bg__image {
  background-image: url('../assets/background-video.webp?v=2');
  filter: brightness(0.7) saturate(1.1) contrast(1.05);
}

/* ============================================
   ВИДЕО-БАННЕР (с фоновой картинкой)
============================================= */
.video-banner {
  position: relative;
  padding: 0; /* убираем внутренние отступы, чтобы высота определялась только vh */
  text-align: center;
  overflow: hidden;
  height: 35vh; /* 20% от высоты экрана на десктопе */
  min-height: 200px; /* минимальная высота для очень маленьких экранов, чтобы текст не сжимался */
  max-height: 600px; /* максимальная высота, чтобы не перекрывать всё */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0806;
  border-radius: 0 0 30px 30px;
  margin-bottom: 2.5rem;
  background-image: url('../assets/video/banner-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Затемнение */
.video-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

/* Текст поверх */
.video-banner__content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem; /* добавляем отступы по бокам для текста */
}

.video-banner__title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 4rem); /* адаптивный размер для новых пропорций */
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #f2e8d5;
  text-shadow: 0 0 30px rgba(239, 138, 47, 0.15);
  animation: titleFade 2s ease-out forwards;
  opacity: 0;
}

.video-banner__subtitle {
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  letter-spacing: 0.2em;
  color: rgba(242, 232, 213, 0.6);
  font-weight: 300;
  animation: subtitleFade 2.3s ease-out forwards;
  opacity: 0;
}

@keyframes titleFade {
  0% { opacity: 0; text-shadow: 0 0 0 rgba(239, 138, 47, 0); }
  100% { opacity: 1; text-shadow: 0 0 30px rgba(239, 138, 47, 0.15); }
}

@keyframes subtitleFade {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ----- АДАПТИВ ДЛЯ ТЕЛЕФОНОВ ----- */
@media (max-width: 768px) {
  .video-banner {
    height: 20vh; /* 50% от высоты экрана на телефонах */
    min-height: 150px;
    max-height: 400px;
  }
  .video-banner__title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
  .video-banner__subtitle {
    font-size: clamp(0.7rem, 3vw, 1rem);
  }
}

@media (max-width: 480px) {
  .video-banner {
    height: 20vh; /* также 50% для маленьких телефонов */
    min-height: 120px;
  }
}

/* ----- ГЛАВНОЕ ВИДЕО ----- */
.video-featured {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.video-featured__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);
}

.video-featured__card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(239,138,47,0.06);
}

.video-featured__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0806;
  overflow: hidden;
}

.video-featured__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-featured__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(239,138,47,0.85);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(239,138,47,0.3);
}

.video-featured__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(239,138,47,1);
}

.video-featured__info {
  padding: 1.5rem 2rem;
}

.video-featured__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.video-featured__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.video-featured__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.video-featured__meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ----- КАТЕГОРИИ ----- */
.video-categories {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

/* Категории */
.video-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ровно 4 колонки */
  gap: 1.5rem;
}

.video-category-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  border-color: var(--gold);
}

.video-category-card__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.video-category-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold-light);
}

.video-category-card__count {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 0.2rem;
}

/* ----- ЛЕНТА ПОСЛЕДНИХ ВИДЕО ----- */
.video-latest {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.video-section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.video-card__thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0806;
}

.video-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.video-card:hover .video-card__thumbnail img {
  transform: scale(1.04);
}

.video-card__info {
  padding: 0.8rem 1rem 1rem;
}

.video-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  color: var(--gold-light);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__date {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 0.3rem;
}

/* Адаптив */
@media (max-width: 768px) {
  .video-featured__info {
    padding: 1rem;
  }
  .video-featured__title {
    font-size: 1.3rem;
  }
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }
  .video-categories__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .video-banner {
    padding: 2rem 1rem;
  }
  .video-categories__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на телефонах */
    gap: 0.8rem;
  }
  .video-category-card {
    padding: 1.2rem 0.5rem;
  }
  .video-category-card__icon {
    font-size: 2.2rem;
  }
  .video-category-card__name {
    font-size: 1.1rem;
  }
}