@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600&display=swap');

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', 'Inter', 'Arial', sans-serif;
  background: #000 !important;
  color: #fff;
  overflow-x: hidden;
}

.main-container {
  max-width: 820px;
  margin: 0 auto;
  background: transparent;
  min-height: 100vh;
  padding: 0 8px;
  box-sizing: border-box;
}

.top-section {
  width: 100%;
  margin-bottom: 1.5rem;
}
.top-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.top-image {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.top-text-bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  padding: 0 0 14px 0;
  background: none;
  display: flex;
  align-items: flex-end;
  min-height: 90px;
  pointer-events: none;
}

.top-text {
  color: #fff;
  background: rgba(10,10,10,0.47);
  border-radius: 16px;
  padding: 16px 18px 10px 18px;
  margin: 14px 12px 10px 12px;
  font-size: 1.08rem;
  line-height: 1.45;
  box-shadow: 0 8px 28px 0 rgba(0,0,0,0.14);
  text-align: center;
  font-weight: 600;
  pointer-events: auto;
}

@media (max-width: 480px) {
  .main-container { padding: 0 2vw; }
  .top-image-wrapper { border-radius: 12px; max-width: 100vw;}
  .top-text { font-size: 0.98rem; padding: 10px 9px 7px 11px; margin: 9px 7px 6px 7px; }
}

.section-title {
  text-align: center;
  margin-top: 2.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-family: 'Montserrat', 'Inter', 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .section-title { font-size: 1.5rem; }
}

.plashka-universal {
  background: rgba(32,34,50,0.56);
  border-radius: 15px;
  padding: 19px 22px 15px 22px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.07rem;
  color: #fff;
  font-family: 'Montserrat', 'Inter', 'Arial', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  max-width: 520px;
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 600px) {
  .plashka-universal {
    max-width: 100%;
    padding: 11px 9px 10px 11px;
    font-size: 0.97rem;
  }
}

.music-services-row {
  display: flex; flex-direction: row; justify-content: center; gap: 22px;
  margin-bottom: 18px; margin-top: 12px;
}
.music-services-row img { width: 44px; height: 44px; display: block; }
.music-services-row a { display: inline-block; transition: none !important;}
.music-services-row a:hover img { filter: none !important; }

.contacts-row {
  display: flex; flex-direction: row; justify-content: center; gap: 24px; margin-bottom: 24px; margin-top: 12px;
}
.contacts-row img { width: 44px; height: 44px; display: block;}
.contacts-row a { display: inline-block; transition: none !important;}
.contacts-row a:hover img { filter: none !important;}

.poster-modal {
  display: none;
  position: fixed; z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.poster-modal.show { display: flex; }
.poster-modal-content {
  max-width: 94vw;
  max-height: 92vh;
  border-radius: 14px;
  background: #18191d;
  box-shadow: 0 6px 30px rgba(0,0,0,0.26);
}
.poster-modal-close {
  position: absolute;
  top: 28px; right: 24px;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 1010;
  background: rgba(0,0,0,0.36);
  border-radius: 7px;
  padding: 0 9px;
  line-height: 1;
}

/* Унификация внутренних блоков */
.tracks-inner, .perf-cards, .plashka-universal {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .tracks-inner, .perf-cards, .plashka-universal {
    max-width: 100%;
  }
}

.contacts-block {
  text-align: center;
}
.contacts-block .contacts-row {
  justify-content: center;
}
.contacts-block .contacts-title,
.contacts-block p {
  text-align: center;
}

/* ------- Новые классы для вынесенных стилей ------- */
.middle-image-wrapper {
  width: 100%;
  max-width: 820px;
  margin: 2.2rem auto 0 auto;
  margin-bottom: 1.5rem;
  position: relative;
}

.tracks-inner--mb {
  margin: 1.2rem auto 2rem auto;
}

.bio-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.plashka-universal--mb {
  margin-bottom: 1.5rem;
}

.mb-6 { margin-bottom: 0.6rem; }
.mb-8 { margin-bottom: 0.8rem; }
.mb-12 { margin-bottom: 1.2rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-22 { margin-bottom: 2.2rem; }
.mb-25 { margin-bottom: 2.5rem; }
.mt-8 { margin-top: 0.8rem; }
.mt-12 { margin-top: 1.2rem; }
.mt-22 { margin-top: 2.2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

.perf-more-btn-row {
  text-align: center;
  margin-top: 0.8rem;
}

/* --- Фильтры секции выступлений --- */
.perf-format-btn {
  background: #23243a;
  color: #fff;
  padding: 0.6em 1.3em;
  border-radius: 8px;
  border: none;
  font-weight: 400;
  cursor: pointer;
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
  transition: background .15s;
}

.perf-format-btn.active {
  background: #44446a;
  color: #fff;
}

/* Убраны все hover-стили для фильтров */

/* --- Модалка "О группе" без затемнения фона --- */
.ann-modal {
  display: none;                 /* скрыта по умолчанию */
  position: fixed;
  inset: 0;                      /* растягиваем контейнер на весь экран */
  background: transparent;       /* БЕЗ полупрозрачного затемнения */
  justify-content: center;       /* по центру по горизонтали */
  align-items: center;           /* по центру по вертикали */
  z-index: 1000;
  pointer-events: none;          /* клики проходят сквозь контейнер */
}

.ann-modal.show {
  display: flex;
  pointer-events: auto;          /* активируем клики, когда модалка открыта */
}

.ann-modal-content {
  background: #23243a;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  position: relative;
  color: #fff;
}

.ann-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
}

/* --- Секция "О группе" --- */
.about-wrapper {
  position: relative;
  max-width: 820px;
  margin: 2.2rem auto 1.5rem auto;
}

.about-image {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 2px 14px rgba(0,0,0,0.2);
}

.about-btn {
  position: absolute;
  bottom: 16px;
  right: 18px;
  background: #23243a;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 9px;
  padding: 0.6em 1.4em;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(70,70,70,0.08);
  transition: background 0.17s;
}

.about-btn:hover {
  background: #2e2f4a;
}

@media (max-width: 600px) {
  .ann-modal-content {
    width: 88%;
    margin: 0 6%;
  }

  .about-btn {
    font-size: 0.95rem;
    padding: 0.5em 1.2em;
    bottom: 10px;
    right: 10px;
  }
}

/* --- Синхронизация ширины картинок band и header --- */
.about-wrapper,
.top-image-wrapper {
  max-width: 520px; /* одинаково для обеих */
  margin-left: auto;
  margin-right: auto;
}

.about-image {
  width: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}