/* --- Размытый GIF фон с параллакс-эффектом --- */
body.with-parallax::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 130%;
  height: 100%;
  background: url("elyx-elyxyak.gif") no-repeat center center;
  background-size: cover;
  filter: blur(20px) brightness(0.3);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
  animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
  0% { background-position: center top; }
  50% { background-position: center bottom; }
  100% { background-position: center top; }
}

/* Убедитесь что основной контент поверх фона */
body.with-parallax {
  position: relative;
  z-index: 1;
}

/* Уменьшаем opacity параллакс-лого чтобы лучше видеть фон */
.parallax-logo {
  brightness(0.6) !important; 
}
/* --- fixes added by analyzer --- */

.parallax-logo { 
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background: url('YOUR_logo.png') no-repeat center -100% !important;
  background-size: 45% !important;
  filter: invert(100%) grayscale(100%) contrast(120%); 
  opacity: 0.12; 
  z-index: 0; 
  will-change: transform; 
  pointer-events: none;
  transform: none;
  brightness: 0.02;
}
ul, li { list-style: none !important; margin:0 !important; padding:0 !important; }
li::marker { content: none !important; }
a { text-decoration: none; color: inherit; }
.exit-btn { 
  position: fixed; 
  top: 15px; 
  left: 15px; 
  padding: 10px 15px; 
  font-size: 14px; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif; 
  color: #ddd; 
  border: 2px solid #ddd; 
  background: rgba(0,0,0,0.8); 
  text-align: center; 
  border-radius: 0; 
  cursor: pointer; 
  z-index: 1000; 
  display: inline-block; 
  box-sizing: border-box; 
  text-decoration: none; 
  backdrop-filter: blur(5px);
}
.exit-btn:hover { background: #b00; color: #fff; box-shadow: 0 0 15px rgba(255,0,0,0.8); }

/* ---------------- reset markers/pseudo content ---------------- */
a::before, a::after, .exit-btn::before, .exit-btn::after { content: none !important; display: none !important; }
* { -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important; }

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  background-attachment: fixed;
  color: #ddd;
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  animation: fadeIn 1s ease-in;
}

main { 
  flex: 1; 
  display: flex; 
  justify-content: center; 
  align-items: center;
  padding: 40px 20px; 
  position: relative; 
  z-index: 1; 
  width: 100%;
  box-sizing: border-box;
}
.text-block { 
  margin-top: 20px; 
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: auto;
  font-size: 16px; 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-start;
  text-align: justify; 
  line-height: 1.5; 
  transform: scaleX(1.5); 
  padding: 20px;
  box-sizing: border-box;
}
h1 { font-size: 22px; margin-bottom: 20px; font-weight: bold; letter-spacing: 2px; color: #bbb; text-align: center; transform: scaleX(1.2); }
.exsm { display: inline-block; font-size: 28px; transform: scaleX(1.4); letter-spacing: 3px; position: relative; left: 20px; }
h2 { font-size: 18px; margin-bottom: 10px; text-align: center; }

.ritual-btn { 
  display: inline-block; 
  margin-top: 30px; 
  font-size: 20px; 
  color: #ddd; 
  border: 2px solid #ddd; 
  padding: 12px 28px; 
  transition: 0.3s; 
  text-align: center; 
  width: auto;
  align-self: center;
}
.ritual-btn:hover { background: #fff !important; color: #000 !important; box-shadow: 0 0 15px rgba(255,255,255,0.9) !important; border-color: #fff !important; }

.menu { 
  display: flex; 
  flex-direction: row; 
  justify-content: center; 
  align-items: center; 
  gap: 50px; 
  height: auto; 
  min-height: auto;
  z-index: 2; 
  position: relative;
  margin-top: 0;
}

/* ИСПРАВЛЕННЫЕ СТИЛИ ВЫПАДАЮЩЕГО МЕНЮ */
.dropdown { 
  position: relative; 
  display: inline-block;
  z-index: auto;
}

.menu-btn { 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 180px; 
  text-align: center; 
  font-size: 22px; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  color: #ddd; 
  border: 2px solid #ddd; 
  padding: 14px 0; 
  transition: 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05);
  position: relative;
  z-index: 10;
}
.menu-btn:hover { background-color: #ddd; color: #000; box-shadow: 0 0 15px #fff, 0 0 25px #999; }

.dropdown-content { 
  max-height: 0; 
  overflow: hidden; 
  opacity: 0; 
  transition: max-height 0.6s ease, opacity 0.4s ease; 
  position: absolute; 
  top: 100%;
  left: 0; 
  width: 100%;
  background-color: #000; 
  border: 2px solid #ddd; 
  border-top: none;
  z-index: 1000;
  flex-direction: column;
  box-sizing: border-box;
}

.dropdown-content a { 
  color: #ddd; 
  padding: 14px 0;
  text-decoration: none; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-bottom: 1px solid #222; 
  text-align: center; 
  opacity: 0; 
  transform: translateY(-10px); 
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s;
  width: 100%;
  box-sizing: border-box;
  font-size: 22px;
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  background: rgba(255,255,255,0.05);
  position: relative;
  z-index: 1001;
}

.dropdown-content a:hover { 
  background-color: #ddd; 
  color: #000; 
  box-shadow: 0 0 12px #fff; 
}

.dropdown:hover .dropdown-content { 
  max-height: 500px; 
  opacity: 1; 
}

.dropdown:hover .dropdown-content a { 
  opacity: 1; 
  transform: translateY(0); 
}

/* MEMBERS кнопка отдельно вверху - ФИКСИРОВАННАЯ ПОЗИЦИЯ */
.members-top-section {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.members-top-btn { 
  display: inline-block; 
  padding: 12px 28px; 
  font-size: 18px; 
  letter-spacing: 1px; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  border: 3px solid #ddd; 
  text-align: center; 
  color: #ddd; 
  background: rgba(255,255,255,0.03); 
  box-sizing: border-box; 
  position: fixed;
  z-index: 999;
  text-decoration: none;
}
.members-top-btn:hover { background: #fff; color: #000; box-shadow: 0 0 15px rgba(255,255,255,0.9); border-color: #fff; }

/* Для портальной страницы - исправляем структуру */
body.portal-page main { 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  align-items: center; 
  min-height: 100vh; 
  padding: 150px 20px 20px;
  gap: 40px;
}

body.portal-page .menu { 
  display: flex; 
  flex-direction: row; 
  justify-content: center; 
  align-items: center; 
  gap: 60px; 
  width: 100%; 
  max-width: 1100px; 
  padding: 20px; 
  position: relative;
  z-index: 2;
  margin-top: 0;
}

body.portal-page .menu-btn { 
  width: 260px; 
  min-height: 70px; 
  padding: 18px 10px; 
  border: 3px solid #ddd; 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  text-align: center; 
  box-sizing: border-box; 
  white-space: normal; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

body.portal-page .dropdown-content {
  width: 260px;
}

body.portal-page .dropdown-content a {
  padding: 18px 10px;
  min-height: 70px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: normal;
  border: none;
  border-bottom: 1px solid #222;
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

/* Гарантируем что все кнопки находятся вместе */
.portal-main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Десктопная версия - MEMBERS отдельно вверху */
@media (min-width: 769px) {
  .members-top-section {
    display: flex;
  }
  
  body.portal-page main {
    padding-top: 150px;
  }
  
  .menu {
    gap: 60px;
  }
  
  /* Обеспечиваем правильное отображение выпадающих меню */
  .dropdown-content {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
  }
}

/* Заголовки */
h1, h2, h3 { 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif; 
  letter-spacing: 2px; 
  text-shadow: 0 0 6px rgba(255,255,255,0.15); 
}

/* Кнопки */
a, .ritual-btn, .exit-btn { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid #ddd; 
  color: #ddd; 
  padding: 12px 20px; 
  border-radius: 0; 
  letter-spacing: 1px; 
  transition: all 0.3s ease; 
  box-shadow: 0 0 8px rgba(255,255,255,0.08); 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif; 
}
a:hover, .exit-btn:hover { background: #b00; color: #fff; box-shadow: 0 0 15px rgba(255,0,0,0.8); }

/* Анимация появления */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Members list */
.members-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.members-list li { width: 100%; display: flex; justify-content: center; }
.member-link { 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  width: 320px; 
  max-width: 90%; 
  padding: 12px 16px; 
  text-align: center; 
  border: 2px solid #ddd; 
  color: #ddd; 
  background: rgba(255,255,255,0.02); 
  box-sizing: border-box; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}
.member-link:hover { background: #fff; color: #000; box-shadow: 0 0 12px rgba(255,255,255,0.9); border-color: #fff; }

/* ===== СТИЛИ ДЛЯ MUSIC PAGE ИЗ ВТОРОГО ФАЙЛА ===== */

/* Стили для музыкального плеера */
.music-player {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ddd;
  padding: 15px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  display: none;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.music-player.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.player-btn {
  background: none;
  border: 1px solid #ddd;
  color: #ddd;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.player-btn:hover {
  background: #ddd;
  color: #000;
}

.player-btn.play-pause {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.player-info {
  flex: 1;
  text-align: center;
}

.player-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #fff;
}

.player-artist {
  font-size: 12px;
  color: #bbb;
}

.player-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
}

.player-progress-bar {
  height: 100%;
  background: #ddd;
  width: 0%;
  transition: width 0.1s linear;
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #bbb;
  margin-top: 5px;
}

.player-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 16px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-close:hover {
  color: #fff;
  background: rgba(255, 0, 0, 0.3);
}

/* Регулятор громкости */
.player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.volume-btn {
  background: none;
  border: none;
  color: #ddd;
  cursor: pointer;
  font-size: 14px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.volume-slider {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
  border-radius: 2px;
}

.volume-level {
  height: 100%;
  background: #ddd;
  width: 70%;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* Music page styles - ТОЛЬКО ДЛЯ СТРАНИЦЫ MUSIC */
.music-page { 
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.music-page .text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  transform: scaleX(1.5);
}

.music-page h1 {
  transform: scaleX(1.2);
}

.music-page .exsm {
  transform: scaleX(1.4);
}

/* РАСШИРЕННЫЙ контейнер для карточек - ТОЛЬКО для music страницы */
.music-page .releases-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-page .releases-frame {
  width: 100%;
  border: 3px solid #ddd;
  background: rgba(255,255,255,0.02);
  box-shadow: 0 0 30px rgba(255,255,255,0.1);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.music-page .releases-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  cursor: grab;
}

.music-page .releases-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.music-page .releases-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.music-page .releases-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.music-page .releases-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

.music-page .releases-scroll-wrapper:active {
  cursor: grabbing;
}

.music-page .releases-scroll {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 10px 5px;
}

/* Карточки релизов - УВЕЛИЧЕННЫЕ (только для music страницы) */
.music-page .release-card {
  position: relative;
  background: rgba(255,255,255,0.05); 
  border: 2px solid #ddd;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
  width: 300px;
  flex-shrink: 0;
}

.music-page .release-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(255,255,255,0.15);
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.music-page .play-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #ddd;
  color: #ddd;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 12px;
}

.music-page .release-card:hover .play-overlay {
  opacity: 1;
}

.music-page .play-overlay:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.music-page .release-cover { 
  width: 100%; 
  max-width: 220px;
  height: 220px; 
  object-fit: cover; 
  margin-bottom: 20px;
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.music-page .release-card:hover .release-cover {
  border-color: #fff;
}

.music-page .release-title { 
  font-size: 20px;
  font-weight: bold; 
  margin-bottom: 10px; 
  color: #fff;
  letter-spacing: 1px;
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.music-page .release-artist { 
  font-size: 16px;
  color: #bbb; 
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.music-page .release-platform { 
  display: inline-block; 
  padding: 10px 20px;
  background: rgba(255,255,255,0.1); 
  border: 1px solid #ddd; 
  font-size: 14px; 
  margin-top: 15px;
  transition: all 0.3s ease;
  border-radius: 2px;
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.music-page .release-platform:hover {
  background: rgba(255,255,255,0.3);
  border-color: #fff;
  color: #000;
}

.music-page .tg-badge {
  background: #0088cc;
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 4px;
  margin-left: 8px;
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-size: 14px;
    min-height: 100vh;
    height: 100%;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, Roboto, sans-serif;
  }
  
  html {
    height: 100%;
    overflow: hidden;
  }
  
  main {
    padding: 120px 10px 15px !important;
    width: 100% !important;
    box-sizing: border-box;
    min-height: calc(100vh - 125px);
    align-items: center !important;
    overflow-y: auto;
    max-height: calc(100vh - 125px);
    position: relative;
    z-index: 1;
    justify-content: flex-start !important;
  }
  
  .text-block {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    margin: 0 auto !important;
    padding: 10px 5px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    overflow-y: visible;
    position: relative;
    z-index: 1;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  h1 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    transform: none !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
    padding: 0 5px;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  .exsm {
    font-size: 18px !important;
    left: 0 !important;
    display: inline !important;
    transform: none !important;
    margin-left: 3px;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  h2 {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    padding: 0 5px;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  p {
    font-size: 12px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin-bottom: 12px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    padding: 0 3px;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  ul, ol {
    padding-left: 15px !important;
    margin-bottom: 12px !important;
  }
  
  li {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    word-wrap: break-word !important;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  .ritual-btn, .menu-btn, .members-top-btn, .member-link {
    width: 95% !important;
    max-width: 280px !important;
    margin: 12px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    word-wrap: break-word;
    position: relative;
    z-index: 10;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  .exit-btn {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    z-index: 1000 !important;
    background: rgba(0,0,0,0.9) !important;
    border-width: 1px !important;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  /* Portal page mobile fixes */
  body.portal-page main {
    padding: 120px 10px 15px !important;
    gap: 20px !important;
    justify-content: flex-start !important;
    min-height: calc(100vh - 125px) !important;
    max-height: calc(100vh - 125px) !important;
  }
  
  body.portal-page .menu {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    position: relative;
    z-index: 2;
    align-items: center !important;
    margin-top: 10px !important;
  }
  
  .dropdown {
    width: 100% !important;
    margin-bottom: 5px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .dropdown-content {
    position: relative !important;
    width: 95% !important;
    max-width: 280px !important;
    margin: 2px auto 8px !important;
    border-top: 1px solid #ddd !important;
    z-index: 1000 !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .dropdown-content a {
    padding: 12px 20px !important;
    font-size: 14px !important;
    min-height: auto !important;
    z-index: 1001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  .menu-btn {
    min-height: 50px !important;
    width: 95% !important;
    max-width: 280px !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  /* Для портала на мобильных */
  body.portal-page .dropdown-content {
    width: 95% !important;
    max-width: 280px !important;
    z-index: 1000 !important;
  }
  
  body.portal-page .dropdown-content a {
    padding: 12px 20px !important;
    min-height: 50px !important;
    font-size: 16px !important;
    z-index: 1001 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  }
  
  .members-top-section {
    position: fixed;
    top: 70px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 5 !important;
  }
  
  .members-top-btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
    z-index: 6 !important;
    font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    position: fixed;
    top: 70px;
  }
  
  /* Music page mobile fixes - ВАЖНЫЕ ИЗМЕНЕНИЯ */
  .music-page main {
    padding: 110px 5px 15px !important;
  }
  
  .music-page .text-block {
    padding: 0 !important;
    height: auto !important;
    transform: none !important;
  }
  
  .music-page h1 {
    transform: none !important;
  }
  
  .music-page .exsm {
    transform: none !important;
  }
  
  .music-page .releases-container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .music-page .releases-frame {
    padding: 15px 10px !important;
    border-width: 2px !important;
  }
  
  .music-page .release-card {
    width: 260px !important;
    padding: 20px !important;
  }
  
  .music-page .release-cover {
    max-width: 180px !important;
    height: 180px !important;
  }
  
  .music-page .release-title {
    font-size: 18px !important;
  }
  
  .music-page .release-artist {
    font-size: 14px !important;
  }
  
  .music-page .release-platform {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }
  
  /* КНОПКА ВОСПРОИЗВЕДЕНИЯ ВСЕГДА ВИДНА НА МОБИЛЬНЫХ */
  .music-page .play-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.8) !important;
  }
  
  /* УМЕНЬШЕННЫЙ МУЗЫКАЛЬНЫЙ ПЛЕЕР НА МОБИЛЬНЫХ */
  .music-player {
    bottom: 10px;
    width: 95%;
    max-width: 350px;
    padding: 12px;
    transform: translateX(-50%) scale(0.9);
    transform-origin: bottom center;
  }
  
  .player-controls {
    gap: 8px;
    margin-bottom: 8px;
  }
  
  .player-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  
  .player-btn.play-pause {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .player-title {
    font-size: 11px;
  }
  
  .player-artist {
    font-size: 9px;
  }
  
  .player-time {
    font-size: 9px;
    margin-top: 3px;
  }
  
  /* УБИРАЕМ РЕГУЛИРОВКУ ГРОМКОСТИ НА МОБИЛЬНЫХ */
  .player-volume {
    display: none !important;
  }
  
  .player-close {
    width: 20px;
    height: 20px;
    font-size: 14px;
    top: 3px;
    right: 3px;
  }
}

/* Десктоп - большие экраны */
@media (min-width: 1400px) {
  .music-page .releases-container {
    max-width: 800px;
  }
  
  .music-page .text-block {
    max-width: 800px;
  }
}
/* Глобальные стили для плеера */
.global-music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: rgba(0, 0, 0, 0.95) !important;
    border: 2px solid #ee1b3d !important;
    box-shadow: 0 0 30px rgba(238, 27, 61, 0.8) !important;
    border-radius: 12px;
    padding: 15px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    display: none;
    transition: all 0.3s ease;
}

.global-music-player.active {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.global-music-player .player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(238, 27, 61, 0.3);
}

.global-music-player .player-title {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-music-player .player-close {
    background: none;
    border: none;
    color: #ee1b3d;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.global-music-player .player-close:hover {
    background: rgba(238, 27, 61, 0.2);
}

.global-music-player .player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.global-music-player .player-btn {
    background: rgba(238, 27, 61, 0.2);
    border: 1px solid #ee1b3d;
    color: #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.global-music-player .player-btn:hover {
    background: #ee1b3d;
    color: #fff;
    transform: scale(1.1);
}

.global-music-player .play-pause-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

.global-music-player .player-progress {
    width: 100%;
    height: 6px;
    background: rgba(238, 27, 61, 0.2);
    border-radius: 3px;
    margin: 10px 0;
    cursor: pointer;
    position: relative;
}

.global-music-player .player-progress-bar {
    height: 100%;
    background: #ee1b3d;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.global-music-player .player-time {
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 12px;
    margin-top: 5px;
}

.global-music-player .player-info {
    color: #bbb;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-music-player .player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.global-music-player .volume-btn {
    background: none;
    border: none;
    color: #ddd;
    cursor: pointer;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-music-player .volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(238, 27, 61, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.global-music-player .volume-level {
    height: 100%;
    background: #ee1b3d;
    border-radius: 2px;
    width: 70%;
}

/* Кнопка открытия плеера */
.player-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ee1b3d;
    border-radius: 50%;
    color: #ee1b3d;
    font-size: 20px;
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(238, 27, 61, 0.5);
}

.player-toggle-btn:hover {
    background: #ee1b3d;
    color: #fff;
    transform: scale(1.1);
}

.player-toggle-btn.playing {
    background: #ee1b3d;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 27, 61, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(238, 27, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(238, 27, 61, 0);
    }
}

/* Мини-плеер на кнопке */
.mini-player {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 200px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #ee1b3d;
    border-radius: 8px;
    padding: 10px;
    z-index: 9997;
    display: none;
    backdrop-filter: blur(5px);
}

.mini-player.active {
    display: block;
}

.mini-player .mini-title {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-player .mini-artist {
    color: #bbb;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-player .mini-progress {
    width: 100%;
    height: 3px;
    background: rgba(238, 27, 61, 0.2);
    margin-top: 5px;
    border-radius: 2px;
}

.mini-player .mini-progress-bar {
    height: 100%;
    background: #ee1b3d;
    border-radius: 2px;
    width: 0%;
}
/* Стили для кнопки EX*SM BOOK - СТАТИЧНАЯ (не фиксированная) */
.book-top-section {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 20px 0 40px 0; /* Отступы сверху и снизу */
  z-index: 10;
  position: relative; /* Статичное позиционирование */
}

.book-top-btn { 
  display: inline-block; 
  padding: 12px 28px; 
  font-size: 18px; 
  letter-spacing: 1px; 
  font-family: 'Arial Black', 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  border: 3px solid #ddd; 
  text-align: center; 
  color: #ddd; 
  background: rgba(255,255,255,0.03); 
  box-sizing: border-box; 
  text-decoration: none;
  transition: all 0.3s ease;
  width: 260px; /* Такая же ширина как у кнопок в portal */
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-top-btn:hover { 
  background: #fff; 
  color: #000; 
  box-shadow: 0 0 15px rgba(255,255,255,0.9); 
  border-color: #fff; 
  transform: translateY(-2px);
}

/* Для страницы basics отступы */
body.basics-page main {
  padding-top: 40px !important; /* Уменьшим отступ */
  padding-bottom: 100px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .book-top-section {
    margin: 15px 0 30px 0;
  }
  
  .book-top-btn {
    width: 95%;
    max-width: 280px;
    font-size: 16px;
    padding: 12px 20px;
    min-height: 50px;
  }
  
  body.basics-page main {
    padding-top: 70px !important;
  }
}
/* Убираем рамки и фон у кнопок-картинок */
.img-menu-btn,
.img-menu-btn:link,
.img-menu-btn:visited,
.img-menu-btn:hover,
.img-menu-btn:active {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.img-menu-btn img {
    border: none !important;
    outline: none !important;
    display: block; /* убирает возможные лишние отступы под картинкой */
}