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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0b0410;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ================= 1. ГЛАВНЫЙ ЭКРАН (100% ВЫСОТЫ) ================= */
.hero-screen {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #0b0410;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('ecstatic_art_2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ЛОГОТИП */
.site-header {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
}

.brand-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  background: rgba(18, 5, 26, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 1px solid rgba(230, 160, 110, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-logo-icon:hover {
  border-color: rgba(255, 210, 180, 0.7);
  box-shadow: 0 0 16px rgba(223, 148, 99, 0.45);
  transform: translateY(-2px) scale(1.05);
}

.brand-logo-icon svg {
  width: 20px;
  height: 20px;
}

/* ДЕСКТОПНЫЕ КНОПКИ ГЛАВНОГО ЭКРАНА */
.desktop-only {
  display: inline-flex;
}

.btn-telegram {
  position: absolute;
  left: 8.5%;
  bottom: 8%;
  width: 290px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.6em;

  background: linear-gradient(90deg, #4d234a 0%, #763e41 50%, #ba895b 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;

  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-telegram:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(186, 137, 91, 0.45);
}

.btn-telegram .arrow-icon {
  font-size: 1.15em;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.event-badge {
  position: absolute;
  left: 55%;
  bottom: 8%;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  color: #d6beaa;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-badge:hover {
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 0 14px rgba(223, 148, 99, 0.6);
}

.mobile-card-wrapper {
  display: none;
}

/* ================= 2. СЕКЦИЯ АФИШИ (100% ВЫСОТЫ) ================= */
.event-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, #0b0410 0%, #170724 50%, #0b0410 100%);
  position: relative;
  box-sizing: border-box;
}

.past-event-section {
  flex-direction: column;
}

.event-card {
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column;
  padding: 3rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(32, 10, 42, 0.8) 0%, rgba(16, 5, 24, 0.95) 100%);
  border: 1px solid rgba(230, 160, 110, 0.28);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
}

.event-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 0.4rem;
}

.event-title-main {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #f6d1b2 50%, #e09361 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-title-sub {
  white-space: nowrap;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: #f7d4b4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.event-desc {
  color: #d8c7e8;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  text-align: center;
}

/* Карточка артиста */
.artist-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

.artist-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.artist-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #df9463;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(223, 148, 99, 0.3);
}

.artist-meta h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.artist-meta p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #c9b4df;
}

.btn-artist {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 99px;
  background: rgba(223, 148, 99, 0.15);
  border: 1px solid rgba(223, 148, 99, 0.45);
  color: #f7d4b4;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-artist:hover {
  background: #df9463;
  color: #0b0410;
  box-shadow: 0 0 18px rgba(223, 148, 99, 0.4);
  transform: translateY(-2px);
}

/* Кнопка регистрации / Telegram */
.btn-event-ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 1.15rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #78295b 0%, #ba633b 100%);
  border: 1px solid rgba(255, 230, 210, 0.45);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 30px rgba(186, 99, 59, 0.4);
  transition: all 0.3s ease;
  text-align: center;
  margin: 0;
}

.btn-event-ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(186, 99, 59, 0.65);
  filter: brightness(1.1);
}

/* ================= 3. ПОДВАЛ САЙТА (FOOTER) ================= */
        .site-footer {
          margin-top: auto;
          width: 100%;
          padding: 2.5rem 1.5rem;
          border-top: 1px solid rgba(255, 255, 255, 0.07);
          background: rgba(8, 3, 12, 0.85);
          text-align: center;
          font-size: 0.82rem;
          color: #8c789e;
          line-height: 1.8;
        }

        .footer-container {
          max-width: 1200px;
          margin: 0 auto;
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 0.6rem;
        }

        .company-link {
          font-size: 5px
          color: #d1b5a0;
          text-decoration: none;
          font-weight: 600;
          letter-spacing: 0.03em;
          transition: all 0.25s ease;
          border-bottom: 1px dotted rgba(209, 181, 160, 0.4);
          padding-bottom: 2px;
        }

        .company-link:hover {
          color: #ffffff;
          border-bottom-color: #df9463;
          text-shadow: 0 0 8px rgba(223, 148, 99, 0.5);
        }

        .footer-copyright {
          font-size: 0.75rem;
          color: #635373;
        }

/* ================= 3. ЧИСТАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (SMARTPHONE) ================= */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  /* Первый экран */
  .hero-screen {
    height: 100vh;
    height: 100dvh;
    padding: 0;
  }

  .banner-container {
    background-size: auto 50%;
    background-position: left top;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1rem 3.5rem;
    box-sizing: border-box;
  }

  .site-header {
    top: 1rem;
    left: 1rem;
  }

  .brand-logo-icon {
    width: 32px;
    height: 32px;
  }

  .brand-logo-icon svg {
    width: 16px;
    height: 16px;
  }

  /* Мобильная карточка строго по центру без сдвигов */
  .mobile-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    background: linear-gradient(180deg, rgba(35, 12, 45, 0.85) 0%, rgba(18, 6, 25, 0.96) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(230, 160, 110, 0.25);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
  }

  .mobile-tagline {
    font-size: 0.74rem;
    font-weight: 500;
    color: #d1b8e4;
    text-align: center;
  }

  .btn-mobile-telegram {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin: 0 auto;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #78295b 0%, #ba633b 100%);
    border: 1px solid rgba(255, 230, 210, 0.4);
    box-shadow: 0 6px 20px rgba(186, 99, 59, 0.35);
    box-sizing: border-box;
  }

  .date-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.4rem;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dfc1ab;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
  }

  .date-chip svg {
    width: 13px;
    height: 13px;
    fill: #df9463;
  }

  /* Экран афиши на мобильном */
  .event-section {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    padding: 2.5rem 1rem;
    box-sizing: border-box;
  }

  .event-card {
    padding: 1.4rem 1.1rem;
    gap: 1rem;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .event-info {
    gap: 0.9rem;
  }

  .event-title-main {
    font-size: 1.35rem;
  }

  .event-title-sub {
    white-space: normal;
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: center;
  }

  .event-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .artist-card {
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 0.85rem;
    text-align: center;
  }

  .artist-profile {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .artist-avatar {
    width: 52px;
    height: 52px;
  }

  .artist-meta h4 {
    font-size: 0.95rem;
  }

  .artist-meta p {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .btn-artist {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    box-sizing: border-box;
  }

  .btn-event-ticket {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    box-sizing: border-box;
  }

  /* Навигационные ссылки-подсказки между секциями */
  .next-event-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.25rem;
    color: #c4a187;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    text-align: center;
  }

  .next-event-link:hover {
    color: #ffffff;
    transform: translateY(2px);
  }

  /* Слегка варьируем оттенок фона третьей секции для разнообразия */
  .next-event-section {
    background: linear-gradient(180deg, #0b0410 0%, #12051d 50%, #08020c 100%);
  }




  /* Плавный скролл с умным отступом сверху */
  html {
    scroll-behavior: smooth;
  }

  /* При скролле к любой секции оставляем комфортный отступ в 1.5rem сверху, а не дыру */
  .event-section {
    width: 100%;
    max-width: 1200px;
    margin: 1.5rem auto 2rem; /* Уменьшили внешний отступ */
    padding: 0 1.5rem;
    scroll-margin-top: 1.5rem; /* Фиксирует точку остановки скролла */
  }

  /* Схлопываем расстояние между первым и вторым событием */
  .next-event-section {
    margin-bottom: 0.5rem; /* Минимальный зазор снизу */
  }

  .past-event-section {
    margin-top: 0.5rem; /* Минимальный зазор сверху */
  }

  /* Компактный разделитель */
  .projects-divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem; /* Никаких 4rem отступов */
  }

  .projects-divider::before,
  .projects-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 160, 110, 0.25), transparent);
  }

  .btn-past-projects {
    margin: 0 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: rgba(26, 9, 36, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 160, 110, 0.25);
    color: #eed6c4;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .icon-sparkle {
    width: 14px;
    height: 14px;
    fill: #df9463;
  }

  /* Ссылка навигации */
  .event-nav-links {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  .next-event-link {
    color: #bfa5d6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
  }

  .next-event-link:hover {
    color: #ffffff;
    transform: translateY(1px);
  }

  /* Мобильная адаптация */
  @media (max-width: 650px) {
    .event-section {
      margin: 1rem auto 1.5rem;
      padding: 0 1rem;
      scroll-margin-top: 1rem;
    }

    .projects-divider::before,
    .projects-divider::after {
      display: none;
    }
  }

  .projects-divider::before,
  .projects-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 160, 110, 0.3), transparent);
  }

  @media (max-width: 650px) {
    .projects-divider::before,
    .projects-divider::after {
      display: none !important;
    }
    .btn-past-projects {
      width: 100% !important;
      margin: 0 !important;
      font-size: 0.76rem;
    }
  }

}
