/* =========================================
   Кинотеатр «Радуга» — Стили
   Стек: чистый CSS3 (Flexbox / Grid)
   ========================================= */

/* ---------- Сброс и базовые стили ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #111111;
  color: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

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

code {
  font-family: 'Courier New', monospace;
}

::selection {
  background-color: rgba(229, 9, 20, 0.4);
  color: #fff;
}

/* ---------- Скроллбар ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ---------- Утилиты ---------- */
.text-red {
  color: #e50914;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: #e50914;
  color: #fff;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.25);
}
.btn--primary:hover {
  background-color: #c40812;
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 0.625rem;
}

.btn--full {
  width: 100%;
}

/* ---------- Секции ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #888;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-subtitle strong {
  color: #fff;
  font-weight: 600;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }
}
@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.header--scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 640px) {
  .header__inner {
    height: 5rem;
  }
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.logo:hover .logo__text {
  color: #e50914;
}

.logo__city {
  font-size: 0.75rem;
  color: #888;
  border-left: 1px solid #2a2a2a;
  padding-left: 0.5rem;
  margin-left: 0.25rem;
}

/* Десктопная навигация */
.nav {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e0e0e0;
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover {
  color: #e50914;
  background-color: rgba(255, 255, 255, 0.05);
}

/* Бургер */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }
}

.burger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger--active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}
.burger--active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #0a0a0a;
  border-left: 1px solid #2a2a2a;
  padding: 5rem 1.5rem 2rem;
  transition: right 0.3s ease;
  z-index: 105;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__link {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
  border-radius: 0.5rem;
  transition: color 0.2s, background-color 0.2s;
}

.mobile-menu__link:hover {
  color: #e50914;
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu__note {
  margin-top: 2rem;
  padding-left: 1rem;
  font-size: 0.75rem;
  color: #888;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, #111 100%);
}

.hero__overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e50914;
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 9999px;
  background-color: rgba(229, 9, 20, 0.1);
}

.hero__title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.5rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #e0e0e0;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1.25rem;
  }
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* =========================================
   POSTER (АФИША)
   ========================================= */
.poster {
  padding: 5rem 0;
  background-color: #111;
}

@media (min-width: 768px) {
  .poster {
    padding: 7rem 0;
  }
}

/* Табы */
#qt_c {
  left: 0;
  top: 0;
  width: 100%;
  height: 95vh;
}

#qt_i {
  top: 0%;
  width: 100%;
  height: 100%;
  border: 0;
}

.tabs__header {
  display: inline-flex;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.625rem;
  padding: 3px;
  margin-bottom: 2.5rem;
}

.tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.tabs__btn:hover {
  color: #fff;
}

.tabs__btn--active {
  background-color: #e50914;
  color: #fff;
}

.tabs__content {
  display: none;
}

.tabs__content--active {
  display: block;
}

/* Сетка фильмов */
.movie-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Карточка фильма */
.movie-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.movie-card:hover {
  border-color: rgba(229, 9, 20, 0.3);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.08);
}

.movie-card__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.05);
}

.movie-card__age {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
}

.movie-card__info {
  padding: 1rem;
}

.movie-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card__genre {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 1rem;
}

/* Сетка мероприятий */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-card {
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 640px) {
  .event-card {
    flex-direction: row;
  }
}

.event-card:hover {
  border-color: rgba(229, 9, 20, 0.3);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.08);
}

.event-card__img {
  position: relative;
  width: 100%;
  height: 12rem;
  flex-shrink: 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .event-card__img {
    width: 12rem;
    height: auto;
  }
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.event-card:hover .event-card__img img {
  transform: scale(1.05);
}

.event-card__info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.event-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.event-card__desc {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.event-card__date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #e50914;
  margin-bottom: 1rem;
}

/* =========================================
   ABOUT (О КИНОТЕАТРЕ)
   ========================================= */
.about {
  padding: 5rem 0;
  background-color: #0a0a0a;
}

@media (min-width: 768px) {
  .about {
    padding: 7rem 0;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(229, 9, 20, 0.3);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.08);
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: rgba(229, 9, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #e50914;
  transition: background-color 0.2s;
}

.feature-card:hover .feature-card__icon {
  background-color: rgba(229, 9, 20, 0.2);
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.feature-card__value {
  font-size: 0.875rem;
  color: #e50914;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.65;
}

/* История */
.history-block {
  display: flex;
  gap: 1rem;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.history-block__accent {
  width: 4px;
  min-height: 60px;
  background-color: #e50914;
  border-radius: 4px;
  flex-shrink: 0;
}

.history-block__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.history-block__text {
  font-size: 0.9375rem;
  color: #888;
  line-height: 1.7;
}

/* =========================================
   CONTACTS
   ========================================= */
.contacts {
  padding: 5rem 0;
  background-color: #111;
}

@media (min-width: 768px) {
  .contacts {
    padding: 7rem 0;
  }
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Карта */
.contacts-map {
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  background-color: #1a1a1a;
  min-height: 400px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .contacts-map {
    height: 100%;
    min-height: 500px;
  }
}

.contacts-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  padding: 2rem;
  text-align: center;
  color: #888;
}

.contacts-map__icon {
  color: #e50914;
  margin-bottom: 1rem;
}

.contacts-map__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contacts-map__text {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.contacts-map__todo {
  font-size: 0.75rem;
  color: #666;
  background-color: rgba(17, 17, 17, 0.5);
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
}

/* Контактные карточки */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.contact-card:hover {
  border-color: rgba(229, 9, 20, 0.3);
}

.contact-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(229, 9, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e50914;
}

.contact-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.contact-card__text {
  font-size: 0.875rem;
  color: #888;
}

.contact-card__link {
  color: #888;
  transition: color 0.2s;
}

.contact-card__link:hover {
  color: #e50914;
}

/* Режим работы кассы */
.work-schedule {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.work-schedule__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.work-schedule__row:last-child {
  border-bottom: none;
}

.work-schedule__date {
  white-space: normal;
}

.work-schedule__time {
  white-space: nowrap;
  font-weight: 600;
}

/* Соцсети */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-links__item {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background-color: #111;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.2s;
}

.social-links__item--vk:hover {
  background-color: #e50914;
  border-color: #e50914;
  color: #fff;
}

.social-links__item--tg:hover {
  background-color: #0088cc;
  border-color: #0088cc;
  color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: #0a0a0a;
  border-top: 1px solid #2a2a2a;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}

@media (min-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr;
  }
}

.footer__brand .logo {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.footer__brand .logo:hover {
  color: #e50914;
}

.footer__desc {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.65;
  max-width: 20rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  font-size: 0.875rem;
  color: #888;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #e50914;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #2a2a2a;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: 0.75rem;
  color: #888;
}

/* =========================================
   MODAL (Модальное окно)
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay--active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background-color: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.2s;
}

.modal-overlay--active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #888;
  border-radius: 0.375rem;
  transition: color 0.2s, background-color 0.2s;
}

.modal__close:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.modal__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background-color: rgba(229, 9, 20, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e50914;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.modal__subtitle {
  font-size: 0.875rem;
  color: #e0e0e0;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.modal__text {
  font-size: 0.9375rem;
  color: #e0e0e0;
  line-height: 1.6;
}

/* =========================================
   АНИМАЦИИ (fade-in при скролле)
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Стадирование: каждый элемент появляется с небольшой задержкой */
.movie-grid .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.movie-grid .fade-in-up:nth-child(2) { transition-delay: 80ms; }
.movie-grid .fade-in-up:nth-child(3) { transition-delay: 160ms; }
.movie-grid .fade-in-up:nth-child(4) { transition-delay: 240ms; }
.movie-grid .fade-in-up:nth-child(5) { transition-delay: 320ms; }
.movie-grid .fade-in-up:nth-child(6) { transition-delay: 400ms; }

.features-grid .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.features-grid .fade-in-up:nth-child(2) { transition-delay: 100ms; }
.features-grid .fade-in-up:nth-child(3) { transition-delay: 200ms; }
.features-grid .fade-in-up:nth-child(4) { transition-delay: 300ms; }

.events-grid .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.events-grid .fade-in-up:nth-child(2) { transition-delay: 80ms; }
.events-grid .fade-in-up:nth-child(3) { transition-delay: 160ms; }
.events-grid .fade-in-up:nth-child(4) { transition-delay: 240ms; }

.contacts-info .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.contacts-info .fade-in-up:nth-child(2) { transition-delay: 60ms; }
.contacts-info .fade-in-up:nth-child(3) { transition-delay: 120ms; }
.contacts-info .fade-in-up:nth-child(4) { transition-delay: 180ms; }
.contacts-info .fade-in-up:nth-child(5) { transition-delay: 240ms; }