/* ========== 1. БАЗОВЫЕ СБРОСЫ ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tilda Sans', sans-serif;
  color: #f0f0f0;
  line-height: 1.4;
}

body {
  background-color: #0c0c0c;
  font-family: 'Tilda Sans', sans-serif;
  line-height: 1.4;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== 2. ПРОЗРАЧНАЯ ШАПКА ========== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 32px;
  background: transparent;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

.main-header.scrolled {
  background-color: #000000 !important;
  backdrop-filter: blur(8px);
}

.logo-area img { display: block; height: 50px; width: auto; }

.header-center {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-phone { font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; }
.header-phone a { color: #fff; text-decoration: none; }
.header-address { margin-top: 4px; font-size: 0.9rem; opacity: 0.9; }

/* Бургер-кнопка */
.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: 0.2s;
  z-index: 1001;
}
.burger-btn:hover { background: #e0a82b; color: #0c0c0c; }

/* ========== 3. БУРГЕР-МЕНЮ ========== */
.burger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 1002;
  width: 300px;
  max-width: 80%;
  height: 100vh;
  padding: 80px 30px;
  background: #0c0c0c;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid #2a2a2a;
  transition: right 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
}
.burger-menu.active { right: 0; }
.burger-menu ul { list-style: none; }
.burger-menu li { margin-bottom: 30px; }
.burger-menu a {
  display: block;
  padding: 5px 0;
  color: #f0f0f0;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.burger-menu a:hover { color: #e0a82b; }

.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  z-index: 1001;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* ========== 4. HERO-СЕКЦИЯ ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  padding: 20px;
  background: linear-gradient(135deg, rgba(224,168,43,0.12) 0%, rgba(0,0,0,0.6) 50%, rgba(0,200,180,0.12) 100%);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  text-align: center;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-title {
  margin-bottom: 40px;
  color: #fff;
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 6px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease forwards;
  transition: transform 0.2s ease-out;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  transition: transform 0.2s ease-out;
}

/* ========== 5. ОСНОВНЫЕ КНОПКИ (glassmorphism) ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-family: 'Tilda Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary {
  background: rgba(224,168,43,0.15);
  color: #e0a82b;
  border-color: rgba(224,168,43,0.35);
}
.btn-primary:hover {
  background: rgba(224,168,43,0.28);
  border-color: rgba(224,168,43,0.6);
  box-shadow: 0 12px 28px rgba(224,168,43,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 12px 28px rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Фиксированная кнопка */
.fixed-book-btn {
  position: fixed;
  bottom: 25px;
  left: 20px; right: 20px;
  z-index: 999;
  max-width: 300px;
  margin: 0 auto;
  padding: 14px 24px;
  border-radius: 60px;
  font-family: 'Tilda Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(224,168,43,0.18);
  color: #e0a82b;
  border: 1px solid rgba(224,168,43,0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.fixed-book-btn:hover {
  background: rgba(224,168,43,0.32);
  border-color: rgba(224,168,43,0.7);
  box-shadow: 0 14px 35px rgba(224,168,43,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: scale(1.02);
}

/* ========== 6. СЕКЦИИ ========== */
.section {
  position: relative;
  padding: 60px 0;
}

.section-title {
  display: inline-block;
  margin-bottom: 30px;
  padding-left: 20px;
  background: linear-gradient(135deg, #ffffff, #bbbbbb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  border-left: none;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 5%;
  height: 90%;
  width: 5px;
  background: #e0a82b;
  border-radius: 3px;
  box-shadow: 0 0 12px #e0a82b, 0 0 24px rgba(224,168,43,0.7), 0 0 40px rgba(224,168,43,0.4);
}
/* Дополнительные отступы для конкретных секций */
#events,
#galleries,
#contacts {
  padding-top: 80px;    /* было 60px, теперь больше воздуха сверху */
  padding-bottom: 80px;
}

#events .section-title,
#galleries .section-title,
#contacts .section-title {
  margin-bottom: 40px;  /* увеличенный отступ под заголовком */
}

/* ========== 7. АТМОСФЕРА ========== */
.atmosphere-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
}

.yellow-divider {
  width: 80px; height: 4px;
  margin: 0 auto 30px;
  border-radius: 4px;
  background: #e0a82b;
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  color: #ddd;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
}

/* ========== 8. БЕГУЩАЯ СТРОКА ========== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: fit-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 20px;
  padding: 0 10px;
}

.marquee-slide {
  position: relative;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 30px -5px rgba(0,0,0,0.6), 0 0 0 1px rgba(224,168,43,0.2) inset;
}

.marquee-slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(0,0,0,0.3) 0%, rgba(224,168,43,0.1) 100%);
  pointer-events: none;
}

.marquee-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee-container:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-slide { width: 600px; height: 400px; }
.food-slide { width: 500px; height: 350px; }

/* ========== 9. КАРТОЧКИ СОБЫТИЙ И АЛЬБОМОВ (общий glass-стиль) ========== */
.event-card,
.album-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: cardAppear 0.5s ease backwards;
}

.event-card:hover,
.album-card:hover {
  background: rgba(25, 25, 25, 0.65);
  border-color: rgba(224,168,43,0.5);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);  /* без золотого */
  transform: translateY(-5px);
}

@keyframes cardAppear {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.event-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.event-name {
  margin-bottom: 8px;
  font-size: 1.5rem;
  font-weight: 600;
}

.event-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 20px;
  overflow: hidden;
  color: #aaa;
  flex: 1;
}

.album-cover {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.album-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.album-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.album-desc {
  color: #aaa;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ========== 10. КНОПКИ В КАРТОЧКАХ (общий glass-стиль) ========== */
.event-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.event-btn,
.ticket-btn,
.album-link-btn {
  flex: 1 1 0%;
  min-width: 0;
  padding: 12px 20px;
  border-radius: 40px;
  font-family: 'Tilda Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  background: rgba(224,168,43,0.12);
  color: #e0a82b;
  position: relative;
  overflow: hidden;
}

.event-btn:hover,
.ticket-btn:hover,
.album-link-btn:hover {
  background: rgba(224,168,43,0.25);
  border-color: rgba(224,168,43,0.6);
  box-shadow: 0 12px 28px rgba(224,168,43,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* При наведении на карточку ВСЕ тексты и кнопки становятся белыми */
.event-card:hover .event-name,
.event-card:hover .event-desc,
.event-card:hover .event-btn,
.event-card:hover .ticket-btn,
.album-card:hover .album-title,
.album-card:hover .album-desc,
.album-card:hover .album-link-btn {
  color: #ffffff;
}

.event-card:hover .event-btn,
.event-card:hover .ticket-btn,
.album-card:hover .album-link-btn {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(224,168,43,0.3);
}

/* ========== 11. АНИМИРОВАННЫЙ БОРДЕР ДЛЯ КАРТОЧЕК (десктоп) ========== */
@keyframes borderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.event-card::before,
.album-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 24px;
  background: conic-gradient(from 0deg, #e0a82b, #D94F4F, #e0a82b, #D94F4F);
  background-size: 300% 300%;
  animation: borderSpin 4s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card:hover::before,
.album-card:hover::before {
  opacity: 1;
}

/* ========== 12. ФОРМА БРОНИРОВАНИЯ ========== */
.submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 40px;
  font-family: 'Tilda Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-sizing: border-box;
  border: 1px solid rgba(224,168,43,0.35);
  background: rgba(224,168,43,0.15);
  color: #e0a82b;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.submit-btn:hover {
  background: rgba(224,168,43,0.28);
  border-color: rgba(224,168,43,0.6);
  box-shadow: 0 12px 28px rgba(224,168,43,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* ========== 13. ВОЗРАСТНОЙ ПОПАП ========== */
.age-overlay {
  position: fixed;
  top: 0; left: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.age-overlay.active { opacity: 1; visibility: visible; }

.age-popup {
  max-width: 480px;
  width: 90%;
  padding: 36px 28px;
  border-radius: 32px;
  border: 1px solid #e0a82b;
  background: #121212;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 40px rgba(224,168,43,0.3);
}

.age-popup h2 { color: #e0a82b; font-size: 1.8rem; font-weight: 700; }
.age-popup p { margin: 20px 0; color: #ddd; }

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 25px 0 15px;
}

.age-btn {
  padding: 16px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Tilda Sans', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.age-btn-yes {
  background: rgba(224,168,43,0.15);
  color: #e0a82b;
  border-color: rgba(224,168,43,0.35);
}
.age-btn-yes:hover {
  background: rgba(224,168,43,0.28);
  border-color: rgba(224,168,43,0.6);
  box-shadow: 0 12px 28px rgba(224,168,43,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.age-btn-no {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.age-btn-no:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 12px 28px rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ========== 14. МОДАЛЬНЫЕ ОКНА ========== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-container {
  position: relative;
  max-width: 550px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 30px;
  border-radius: 32px;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 48px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.close-modal {
  position: absolute;
  top: 18px; right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  border-radius: 40px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.close-modal:hover { background: #e0a82b; color: #0c0c0c; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: #ccc; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 40px;
  border: 1px solid #333;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
  outline: none;
}
.form-group input:focus { border-color: #e0a82b; }

/* ========== 15. КОНТАКТЫ ========== */
.contacts-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid #2a2a2a;
  background: #121212;
}

.contact-item { margin-bottom: 24px; }
.contact-label { margin-bottom: 6px; color: #e0a82b; font-weight: 600; }
.contact-value { font-size: 1.2rem; }

.social-links a {
  margin-right: 20px;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}
.social-links a:last-child { margin-right: 0; }

.map-container {
  height: 350px;
  margin-top: 40px;
  border-radius: 24px;
  border: 1px solid #2a2a2a;
  overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ========== 16. ФУТЕР ========== */
.footer {
  padding: 120px 0 !important;
  border-top: 1px solid #202020;
  background: #030303;
  color: #7a7a7a;
  font-size: 1rem;
  text-align: center;
}

.policy-link {
  margin-left: 10px;
  color: #e0a82b;
  text-decoration: none;
}

/* ========== 17. ПАГИНАЦИЯ СЛАЙДЕРОВ ========== */
.events-swiper .swiper-pagination,
.albums-swiper .swiper-pagination {
  position: relative;
  bottom: auto !important;
  margin-top: 20px;
}

.events-swiper .swiper-pagination-bullet,
.albums-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px; margin: 0 6px;
  background: #555; opacity: 0.6; transition: 0.2s;
}

.events-swiper .swiper-pagination-bullet-active,
.albums-swiper .swiper-pagination-bullet-active {
  background: #e0a82b; opacity: 1; transform: scale(1.3);
}

/* ========== 18. АНИМАЦИЯ ПОЯВЛЕНИЯ ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== 19. КАСТОМНЫЙ СКРОЛЛБАР ========== */
html {
  scrollbar-color: rgba(224,168,43,0.5) rgba(20,20,20,0.6);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(20,20,20,0.6); backdrop-filter: blur(10px); }
::-webkit-scrollbar-thumb { background: rgba(224,168,43,0.5); border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); }
::-webkit-scrollbar-thumb:hover { background: rgba(224,168,43,0.8); }

/* ========== 20. ФОНОВЫЙ ГРАДИЕНТ И ДЕСКТОПНЫЙ ОТСТУП ========== */

@media (min-width: 1025px) {
  .events-swiper .swiper-slide,
  .albums-swiper .swiper-slide {
    padding-top: 8px;          /* чтобы карточка не обрезалась при translateY */
  }
}
/* ========== 21. АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
  .main-header { padding: 12px 16px; }
  .logo-area img { height: 40px; }
  .header-phone { font-size: 1.1rem; }
  .header-address { font-size: 0.75rem; }
  .contacts-grid-2 { grid-template-columns: 1fr; padding: 24px; }
  .gallery-slide { width: 85vw; height: 250px; }
  .food-slide { width: 85vw; height: 220px; }

  /* Уменьшаем заголовки */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .atmosphere-title {
    font-size: 1.8rem;
  }
  .event-name,
  .album-title {
    font-size: 1.3rem;
  }
  .about-text {
    font-size: 1rem;
  }
  #events,
  #galleries,
  #contacts {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #events .section-title,
  #galleries .section-title,
  #contacts .section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
 .form-group input,
  .form-group select {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;   /* стандартный отступ */
    font-size: 16px;
    box-sizing: border-box;
  }

  /* Поля даты и времени — сброшены и с таким же padding */
  input[type="date"],
  input[type="time"] {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;   /* точно как у других полей */
    font-size: 16px;
    box-sizing: border-box;
    /* Гарантированный сброс для iOS */
    -webkit-appearance: none;
    appearance: none;
    background: #1e1e1e;
    border: 1px solid #333;
    color: #fff;
    border-radius: 40px;
  }

  /* Удаляем старые конфликтующие правила */
  .modal-container input,
  .modal-container select,
  .modal-container input[type="date"],
  .modal-container input[type="time"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .submit-btn {
    width: 100%;
  }

  /* Заголовки и секции */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  .atmosphere-title {
    font-size: 1.6rem;
  }
  .event-name,
  .album-title {
    font-size: 1.2rem;
  }
  #events,
  #galleries,
  #contacts {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  #events .section-title,
  #galleries .section-title,
  #contacts .section-title {
    margin-bottom: 25px;
    font-size: 1.6rem;
  }
}
/* ========== 22. ТАЧ-УСТРОЙСТВА: АКТИВНЫЙ СЛАЙД ========== */
@media (hover: none) and (pointer: coarse) {
  /* Отключаем поднятие карточек и трансформации кнопок */
  .event-card:hover,
  .album-card:hover {
    transform: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -1px 0 rgba(0,0,0,0.2);
    background: rgba(15, 15, 15, 0.55); /* остаёмся прозрачными */
    backdrop-filter: blur(18px);
    border-color: rgba(255,255,255,0.18);
  }

  .event-btn:hover,
  .ticket-btn:hover,
  .album-link-btn:hover {
    transform: none;
  }

  /* Убираем анимированные бордеры по умолчанию */
  .event-card::before,
  .album-card::before,
  .event-btn::before,
  .ticket-btn::before,
  .album-link-btn::before {
    animation: none;
    opacity: 0;
  }

  /* Анимированный бордер только для активного слайда */
  .events-swiper .swiper-slide-active .event-card::before,
  .albums-swiper .swiper-slide-active .album-card::before,
  .events-swiper .swiper-slide-active .event-btn::before,
  .events-swiper .swiper-slide-active .ticket-btn::before,
  .albums-swiper .swiper-slide-active .album-link-btn::before {
    opacity: 1;
    animation: borderSpin 4s linear infinite;
  }

  /* Активная карточка: убираем прозрачность, чтобы скрыть жёлтые углы */
  .events-swiper .swiper-slide-active .event-card,
  .albums-swiper .swiper-slide-active .album-card {
    background: #1a1a1a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: #e0a82b;
   
  }

  /* Белый текст */
  .events-swiper .swiper-slide-active .event-card *,
  .albums-swiper .swiper-slide-active .album-card * {
    color: #ffffff !important;
  }

  /* Кнопки: белый текст, прозрачный золотой */
  .events-swiper .swiper-slide-active .event-btn,
  .albums-swiper .swiper-slide-active .album-link-btn,
  .events-swiper .swiper-slide-active .ticket-btn {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.6);
    background: rgba(224,168,43,0.3);
  }
}
/* Сброс стандартного оформления для iOS */
input[type="date"],
input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  /* Твои кастомные стили */
  width: 100%;
  padding: 14px 12px;
  font-size: 14px;
  border: 1px solid #333;
  border-radius: 40px;
  background: #1e1e1e;
  color: #fff;
  box-sizing: border-box;
}

/* ===== БЛОК ПРОМОЗОНА (центрированный) ===== */
.promo-section {
  padding: 40px 0;
}

.promo-block {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.promo-img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 300px;                /* минимальная высота для читаемости */
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);   /* полупрозрачное затемнение */
  padding: 20px;
  text-align: center;
}

.promo-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.promo-desc {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.promo-btn {
  /* наследует стили .btn-primary, можно добавить свои */
  font-size: 1rem;
  padding: 14px 36px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
  .promo-title {
    font-size: 2.2rem;
  }
  .promo-desc {
    font-size: 1rem;
  }
  .promo-img {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .promo-title {
    font-size: 1.8rem;
  }
  .promo-desc {
    font-size: 0.95rem;
  }
  .promo-img {
    min-height: 180px;
  }
  .promo-overlay {
    padding: 15px;
  }
}