/* ПЕРЕМЕННЫЕ */
:root {
  --color-bg: #000000;
  --color-accent: #8a14d1;
  --color-secondary: #fdfbff;
  
  /* ИСПРАВЛЕНО: Теперь называется --text-white, как везде в твоем коде */
  --text-white: #ffffff; 
  --color-black: #000000;
  
  /* ИСПРАВЛЕНО: Добавлены шрифты, которые ты вызываешь в коде */
  --font-family-inter: 'Inter', sans-serif;
  --font-family-lucida-console: 'Lucida Console', Monaco, monospace;
  
  --transition: all 0.3s ease;
}

/* СБРОС И БАЗОВЫЕ СТИЛИ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealFade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Задержки, чтобы элементы появлялись по очереди */
.reveal-1 { animation-delay: 0.2s; }
.reveal-2 { animation-delay: 0.4s; }
.reveal-3 { animation-delay: 0.6s; }

@keyframes revealFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Используем переменные из основного styles.css для сокращения кода */
/* ХЕДЕР */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(4, 4, 4, 0.2);
  backdrop-filter: blur(60px) saturate(80%);
  -webkit-backdrop-filter: blur(60px) saturate(80%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__nav {
  display: flex;
  gap: 25px;
}

/* Ссылки навигации и иконки */
.nav__link, 
.social-icon {
  transition: var(--transition);
  opacity: 0.7;
}

.nav__link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 0.95rem;
}

/* Ховеры для навигации */
.nav__link:hover {
  opacity: 1;
  color: #d56af7;
}

/* ЛОГОТИП */
.header__logo {
  height: 32px;
  width: auto;
  display: block;
  transition: var(--transition);
  /* Фиолетовый фильтр по умолчанию */
  filter: invert(58%) sepia(61%) saturate(2857%) hue-rotate(249deg) brightness(101%) contrast(97%);
}

.header__logo-link:hover .header__logo {
  transform: scale(1.05);
  filter: invert(58%) sepia(61%) saturate(2857%) hue-rotate(249deg) brightness(120%) contrast(97%);
}

/* СОЦСЕТИ */
.header__socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
}

.social-icon {
  width: 24px;
  height: 24px;
  /* Изначально белые */
  filter: brightness(0) invert(1);
}

/* Ховер для соцсетей */
.social-link:hover .social-icon {
  opacity: 1;
  transform: translateY(-2px);
  /* Перекрашивание в фиолетовый при наведении */
  filter: invert(58%) sepia(61%) saturate(2857%) hue-rotate(249deg) brightness(101%) contrast(97%);
}

/* ГЛАВНЫЙ ЭКРАН (HERO) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  overflow: visible;

  /* Сложный градиент: черный -> темно-фиолетовый -> розовый акцент */
  background: linear-gradient(-45deg, #0d0d0d, #3c146a, #0f0718, #4d0463, #1a0a2e, #311867);
  background-size: 400% 400%;
  animation: heroGradient 15s ease infinite;
}

/* Стало (более сильный селектор) */
body .hero .hero__title {
    color: #ffffff !important;
}

body .hero .hero__subtitle {
    color: #ffffff !important;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 20%, rgba(13, 13, 13, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px; /* Высота перехода */
  background: linear-gradient(
    to bottom,
    transparent,
    #000000 100% /* Плавный уход в основной черный цвет */
  );
  pointer-events: none; /* Чтобы не мешал кликать по кнопкам */
  z-index: 2;
}

.hero__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.hero__logo {
  width: 60px; /* Здесь он больше */
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.hero__subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  opacity: 0.7;
}

.hero__content {
  position: relative;
  z-index: 10; /* Поднимаем контент выше частиц и фона */
}

/* Разделитель и текст внизу Hero */
.hero__divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1); /* Тонкая линия */
  margin: 60px auto 20px; /* Отступ сверху побольше, чтобы отделить от кнопок */
  width: 100%;
  max-width: 400px; /* Ограничиваем ширину линии */
}

.hero__footer-text {
  font-size: 0.85rem;
  opacity: 0.5; /* Делаем текст менее ярким */
  color: var(--text-white);
  font-family: var(--font-family-inter);
  max-width: 600px;
  margin: 0 auto;
}

.particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(213, 106, 247, 0.4); /* Твой фиолетовый */
  border-radius: 50%;
  filter: blur(5px);
  animation: floatParticle 20s infinite linear;
  opacity: 0;
}

/* Разные размеры и позиции для частиц */
.particle:nth-child(1) { width: 10px; height: 10px; left: 10%; top: 20%; animation-duration: 15s; }
.particle:nth-child(2) { width: 10px; height: 10px; left: 80%; top: 40%; animation-duration: 25s; animation-delay: -5s; }
.particle:nth-child(3) { width: 20px; height: 10px; left: 40%; top: 70%; animation-duration: 18s; animation-delay: -2s; }
.particle:nth-child(4) { width: 20px; height: 10px; left: 20%; top: 80%; animation-duration: 22s; }
.particle:nth-child(5) { width: 30px; height: 10px; left: 70%; top: 10%; animation-duration: 20s; animation-delay: -10s; }
.particle:nth-child(6) { width: 30px; height: 10px; left: 50%; top: 50%; animation-duration: 30s; opacity: 0.1; }

/* КНОПКИ (Исправлено вылезание текста) */
.hero__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.status-badge, .ip-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.status-badge {
  background-color: var(--color-accent);
}

.status-badge__dot {
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
}

.status-badge__text {
  color: var(--text-white);
}

.ip-copy {
  background-color: var(--color-secondary);
  color: var(--color-black);
  cursor: pointer;
}

.ip-copy:hover {
  transform: scale(1.05);
}

.ip-copy__address {
  font-family: monospace;
  font-weight: normal;
  font-size: 1.1rem;
}

.hero-btn-copy {
  color: var(--color-black);
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

/* Прячем галочку по умолчанию */
.copy-icon .path-check {
  opacity: 0;
  transform: scale(0.5);
  transform-origin: center;
  transition: all 0.2s ease;
}

.copy-icon .path-copy {
  opacity: 1;
  transition: all 0.2s ease;
}

/* Стили при активации класса .success (работают для обеих кнопок) */
.success .path-copy {
  opacity: 0;
  transform: scale(0.5);
}

.success .path-check {
  opacity: 1;
  transform: scale(1);
}

/* Плавный курсор и запрет выделения текста при кликах */
.ip-copy, .btn--ip {
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease;
}

.ip-copy:active, .btn--ip:active {
  transform: scale(0.96);
}


/* --- СЕКЦИЯ ШАГОВ --- */
.steps {
  background-color: #000; /* Чистый черный фон */
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.steps__title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-white);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Карточка шага */
/* Настройки для секции шагов */
.steps {
  background-color: #000; /* Чистый черный фон под блоком Hero */
  padding: 100px 0;
  position: relative;
  width: 100%;
  z-index: 5; /* Чтобы блок был поверх фоновых анимаций, если они выходят за границы */
}

/* Контейнер для выравнивания по ширине хедера */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.steps__title {
  font-family: var(--font-family-inter);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-white);
}

/* Сетка карточек */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Стили карточек из твоего дизайна Figma */
.step-card {
  background: rgba(22, 22, 22, 1);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px); /* Эффект приподнимания */
}

.step-card__icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.step-icon {
  filter: brightness(0) invert(1);
  width: 40px;
  height: 40px;
}

/* Цвета из твоего файла стилей */
.discord-bg { background-color: #5865F2; }
.lyra-bg { background-color: rgba(213, 106, 247, 1); }
.bot-bg { background-color: rgba(138, 20, 209, 1); }

.btn-url {
  filter: brightness(0) invert(1);
}

.btn-copy {
  filter: brightness(0) invert(1);
}

.step-card__text {
  color: var(--text-white);
  font-family: var(--font-family-inter);
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 30px;
  text-align: center;
}

/* Кнопки внутри карточек */
.step-card__btn {
  background-color: rgba(13, 13, 13, 1);
  border-radius: 20px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.ip-text {
  font-family: monospace;
  font-weight: normal;
  font-size: 1.1rem;
  color: var(--text-white);
}

.btn-text {
  font-size: 1.1rem;
  color: var(--text-white) !important
}

/* --- Секция "О сервере" --- */
/* Основной контейнер-карточка */
/* Основной контейнер-карточка */
.about-section {
  background-color: #000;
  margin-top: 4rem;
}

.about-card {
  display: flex;
  min-height: 500px; /* Убрали жесткие 500px, теперь блок подстраивается сам */
  overflow: hidden;
  background-color: #000;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.about-card__description {
  color: #fff;
  font-weight: normal;
}

/* Левая половина */
.about-card__image-side {
  flex: 1.2; /* Дали картинке чуть больше ширины (1.2 против 1), чтобы сохранить пропорции */
  display: flex; /* Помогает растянуть картинку без искажений */
  border-radius: 30px 0 0 30px; 
  overflow: hidden;
}

.about-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; /* Картинка будет обрезаться от центра, а не с одного края */
  overflow: hidden;
}

/* Правая половина */
.about-card__content-side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  padding: 3rem 4rem; /* Немного сбалансировали отступы */
  overflow: hidden;
  border-radius: 0 30px 30px 0;
}

/* Эффект заблюренного фона для правой части */
.about-card__content-side::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* ИСПРАВЛЕННЫЙ ПУТЬ: теперь он ведет к твоей картинке */
  background-image: url('https://raw.githubusercontent.com/changemydm/cbsmp/refs/heads/main/about/ph/s3-photo6.jpg'); 
  background-size: cover;
  background-position: center;
  filter: blur(50px) brightness(0.3); 
  transform: scale(1.1); 
  z-index: 0;
}

/* Кнопка "Подробнее" */
.about-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: var(--color-accent);
  border-radius: 20px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-text {
  color: #fff;
  font-weight: normal
}

.about-card__btn:hover {
  transform: translateY(-3px);
}

/* Адаптивность для мобилок */
@media (max-width: 992px) {
  .about-card {
    flex-direction: column; /* На телефонах блоки будут друг под другом */
  }
  .about-card__image-side {
    height: 300px;
  }
  .about-card__content-side {
    padding: 2rem;
  }
}




/* WIKI */
/* Контейнер для Вики и Правил */
.wiki-layout {
  padding-top: 120px; /* Отступ, чтобы хедер не перекрывал текст */
  min-height: 100vh;
  background: var(--color-bg);
}

.wiki-container {
  display: flex;
  gap: 40px;
  align-items: start;
}

/* Область контента статьи */
.wiki-content-wrapper {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
}

/* SIDEBAR */

.sidebar {
  width: 280px;
  position: sticky;
  top: 120px; /* Сайдбар "прилипает" при скролле */
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 15px;
}

/* Заголовки разделов (те, что с /* в JSON) */
.sidebar-category-title {
    color: #d56af7; /* Твой акцентный цвет */
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 10px 10px;
    opacity: 0.8;
}

/* Ссылки на статьи */



.sidebar-link {
    display: block;
    padding: 8px 25px;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 12px;
    transition: 0.2s ease;
    font-size: 15px;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    color: #c360e2;
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #d56af7;
    font-weight: 600;
}

/* --- Стили для подменю в Вики --- */
.sidebar-submenu {
    list-style: none;
    padding-left: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 0.5rem;
}

.sidebar-submenu li {
    margin-bottom: 0.4rem;
}

.submenu-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.submenu-link:hover {
    color: var(--color-accent); /* Используем ваш фиолетовый акцентный цвет */
}

.sidebar-link.active {
    color: var(--color-accent);
    font-weight: 800;
}

/* MARKDOWN */
/* Оформление текста статьи */
.markdown-body {
  line-height: 1.5;
  font-family: var(--font-family-inter);
  color: white
}

/* Заголовки в статьях */
.markdown-body h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-white);
  letter-spacing: -1px;
  /* Мягкое фиолетовое свечение для главного заголовка */
  text-shadow: 0 0 20px rgba(213, 106, 247, 0.2);
}

.markdown-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(213, 106, 247, 0.2);
  color: var(--text-white)
}

.markdown-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.markdown-body h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(213, 106, 247, 0.8);
  margin-top: 1.5rem;
}

.markdown-body p {
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

/* Стили для кода (например, команд сервера) */
.markdown-body code {
  background: rgba(213, 106, 247, 0.15);
  color: #e0adff;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-family: var(--font-family-lucida-console);
}

/* Стили для картинок в статьях */
.markdown-body img {
  max-width: 100%;
  border-radius: 16px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.markdown-body hr {
  height: 2px;
  padding: 0;
  margin: 40px 0;
  background-color: rgba(213, 106, 247, 0.2); /* Твой фиолетовый с прозрачностью */
  border: 0;
  border-radius: 10px;
  /* Добавляем небольшое свечение */
  box-shadow: 0 0 10px rgba(213, 106, 247, 0.1);
}

/* Таблицы в Вики */
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden; /* Чтобы скруглить углы у всей таблицы */
}

.markdown-body th {
  color: #d56af7;
  font-weight: 700;
  text-align: left;
  padding: 15px;
  border-bottom: 2px solid rgba(213, 106, 247, 0.3);
}

.markdown-body td {
  padding: 12px 15px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

/* Цитаты (Примечания) */
.markdown-body blockquote {
  margin: 30px 0;
  padding: 20px 25px;
  border-left: 2px solid #d56af7;
  border-radius: 4px 15px 15px 4px;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  position: relative;
}

.markdown-body blockquote p {
  margin: 0; /* Убираем лишние отступы внутри цитаты */
}

/* Общие отступы для списков */
.markdown-body ul, 
.markdown-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.markdown-body li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* Кастомный маркер для ненумерованного списка */
.markdown-body ul li {
  list-style: none;
  position: relative;
}

.markdown-body ul li::before {
  content: "·";
  color: #d56af7;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  position: absolute;
  font-size: 1.2rem;
  top: -2px;
}

/* Стилизация цифр для нумерованного списка */
.markdown-body ol {
  counter-reset: custom-counter;
  list-style: none;
}

.markdown-body ol li {
  counter-increment: custom-counter;
  position: relative;
}

.markdown-body ol li::before {
  content: counter(custom-counter) ".";
  color: #d56af7;
  font-weight: 700;
  position: absolute;
  left: -1.8rem;
  font-family: var(--font-family-lucida-console);
}


/* Выделение текста */
.markdown-body strong {
  color: #d56af7;
  font-weight: 600;
}

/* Ссылки внутри текста статьи */
.markdown-body a {
  color: #d56af7;
  text-decoration: none;
  border-bottom: 1px dashed rgba(213, 106, 247, 0.4);
  transition: 0.3s;
}

.markdown-body a:hover {
  border-bottom-style: solid;
  background: rgba(213, 106, 247, 0.1);
}

.markdown-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto; /* Центрирование */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(213, 106, 247, 0.2); /* Тонкая фиолетовая рамка */
}

/* Если картинка внутри div с выравниванием */
.markdown-body div[align="center"] {
    margin: 30px 0;
}

/* Кастомизация скроллбара для сайдбара */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(213, 106, 247, 0.3); border-radius: 10px; }




.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.season-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.season-card:hover {
    transform: translateY(-10px);
    border-color: rgba(213, 106, 247, 0.3);
}

.season-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1a1a1a;
}

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

.season-content {
    padding: 25px;
}

.season-header {
    margin-bottom: 15px;
}

.season-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.season-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.season-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(213, 106, 247, 0.1);
    color: #d56af7;
    border-radius: 100px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.season-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* --- СТИЛИ КАРУСЕЛИ (СЛАЙДЕРА) --- */

.season-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Фиксируем высоту, чтобы карточки не прыгали */
    background: #1a1a1a;
    overflow: hidden;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out; /* Плавный переход */
    z-index: 1;
}

/* Активный слайд выходит на передний план и становится видимым */
.carousel-img.active {
    opacity: 1;
    z-index: 2;
}

/* Контейнер для случая, когда скриншотов нет */
.no-screenshots {
    display: flex;
    justify-content: center; /* Центрирует по горизонтали */
    align-items: center;     /* Центрирует по вертикали */
    background: rgba(255, 255, 255, 0.05); /* Легкий фон, чтобы блок не был пустым */
    color: rgba(255, 255, 255, 0.5);       /* Полупрозрачный белый текст */
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px dashed rgba(255, 255, 255, 0.2); /* Пунктирная рамка для стиля */
    width: 100%;  /* Занимает всю ширину карусели */
    height: 100%; /* Занимает всю высоту карусели */
}

.fallback-logo {
    object-fit: contain;
    padding: 40px;
    opacity: 0.3; /* Логотип делаем слегка прозрачным, чтобы не бил по глазам */
}

/* --- СТРЕЛКИ НАВИГАЦИИ --- */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 13, 13, 0.6);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    opacity: 0; /* Скрываем по умолчанию */
}

/* Показываем стрелки при наведении на область картинки */
.season-image-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(213, 106, 247, 0.8); /* Твой фиолетовый цвет акцента */
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(213, 106, 247, 1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Адаптивность */
@media (max-width: 480px) {
    .season-image-wrapper { height: 200px; }
    .carousel-btn { padding: 5px 10px; font-size: 14px; }
}


.footer {
    background: rgba(4, 4, 4, 0.4);
    backdrop-filter: blur(40px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px;
    margin-top: 100px; /* Отступ от контента сезонов */
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer__logo {
    height: 32px;
    margin-bottom: 20px;
    filter: invert(58%) sepia(61%) saturate(2857%) hue-rotate(249deg) brightness(101%) contrast(97%);
}

.footer__description {
    font-size: 0.9rem;
    opacity: 0.6;
    max-width: 250px;
    color: var(--text-white);
}

.footer__title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer__link {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.7;
    margin-bottom: 12px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer__link:hover {
    opacity: 1;
    color: #d56af7;
    transform: translateX(5px);
}

.footer__socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer__legal-text {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-white);
}

.footer__requisites {
    font-size: 0.9rem;
    opacity: 0.9;
    max-width: 250px;
    color: var(--text-white);
}

.requisites-summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-white);
  font-family: var(--font-family-inter);
  transition: var(--transition);
  opacity: 0.9;
  user-select: none;
  display: inline-block;
}

.requisites-summary:hover {
  opacity: 1;
  color: var(--color-accent); /* Подсвечиваем фирменным цветом при наведении */
}

/* Убираем стандартную стрелочку в Safari/Chrome */
.requisites-summary::-webkit-details-marker {
  display: none;
}

.requisites-content {
  margin-top: 10px;
  color: var(--text-white);
  opacity: 0.6;
  font-size: 14px;
  animation: slideDown 0.3s ease-out; /* Плавное появление */
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__description {
        margin: 0 auto 20px;
    }
    .footer__socials {
        justify-content: center;
    }
    .footer__link:hover {
        transform: none;
    }
}


/* Адаптивность для мобилок */
@media (max-width: 768px) {
  .steps { padding: 60px 0; }
  .steps__title { font-size: 1.8rem; }
  .step-card { padding: 30px; }
}

/* АНИМАЦИИ */
/* Плавное перетекание цветов фона */
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Мягкое покачивание контента (эффект невесомости) */
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
  .nav { display: none; } /* Скрываем меню на мобилках или делаем бургер */
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}
