
/* ============================================ */
/*        СТИЛИ ДЛЯ WELCOME-СЕКЦИИ             */
/* ============================================ */

/* Устанавливаем переменные для цветов Swiper, чтобы легко их менять */
:root {
  --swiper-theme-color: #fff; /* Цвет стрелок и активной точки пагинации */
  --swiper-navigation-size: 3rem; /* Размер стрелок */
}

/* Основной контейнер секции */
.welcome-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Занимает всю высоту экрана */
  min-height: 600px;
  overflow: hidden;
  color: #fff;
}

/* Слайдер на фоне */
.welcome-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  /* Анимация плавного "наезда" для динамики */
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.swiper-slide-active .slide-background {
  transform: scale(1); /* Активный слайд "приближается" */
}

/* Оверлей с контентом и градиентом */
.welcome-overlay {
  position: relative; /* Не absolute, чтобы контент был внутри потока */
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Главный эффект: градиент поверх картинки */
   background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.85) 100%);
}

/* Тень для лучшей читаемости текста на любом фоне */
.text-shadow {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Стилизация кнопок загрузки */
.download-links .download-button {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-links .download-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Контейнер для элементов управления слайдером */
.slider-controls {
  position: absolute;
  bottom: 80px; /* Располагаем над кнопкой скролла */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 250px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.swiper-button-prev,
.swiper-button-next {
  position: static; /* Убираем абсолютное позиционирование */
  margin-top: 0;
  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);
}
/* Увеличиваем кликабельную область стрелок на больших экранах */
@media (min-width: 992px) {
  .swiper-button-prev {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
  }
  .swiper-button-next {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Кнопка прокрутки вниз */
.scroll-down-arrow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  transition: color 0.3s ease;
}
.scroll-down-arrow:hover {
  color: #fff;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

.welcome-subheading {
  /* Вариант 1: Делаем текст крупнее и жирнее */
  font-size: 1.5rem;   /* Увеличиваем размер (стандартный .lead - 1.25rem) */
  font-weight: 500;  /* Делаем шрифт чуть более насыщенным (medium) */

  /* Вариант 2: Делаем текст ярче */
  color: #fff !important; /* Убираем полупрозрачность, делаем его чисто белым */

  /* Вариант 3: Добавляем более сильную тень для контраста */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85); /* Более "глубокая" тень, чем у заголовка */

  /* Увеличиваем максимальную ширину для лучшей читаемости */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767.98px) {
  .welcome-subheading {
    font-size: 1.15rem; /* На мобильных делаем шрифт чуть меньше, чтобы он помещался */
  }
}

/* ============================================ */
/*           СТИЛИ ДЛЯ НОВОГО БЛОКА              */
/* ============================================ */

/* Основные переменные для цветов */
:root {
  --poker-gold: #FFD700;
  --poker-dark-bg: rgba(15, 15, 20, 0.7);
  --poker-border: rgba(255, 215, 0, 0.2);
}

/* Общие стили для секции */
#block-2 {
  overflow: hidden; /* Чтобы номера шагов не вылезали за пределы карточек */
}

/* Стили для карточки шага */
.step-card {
  background: var(--poker-dark-bg);
  border: 1px solid var(--poker-border);
  border-radius: 1rem; /* Скругленные углы */
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden; /* Важно для позиционирования номера */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(8px); /* Эффект размытия фона */
  -webkit-backdrop-filter: blur(8px);
}

/* Эффект при наведении на карточку */
.step-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--poker-gold);
}

/* Ссылка-обертка для карточки */
.step-card-link {
  text-decoration: none;
  color: white;
  display: block;
  height: 100%;
}
.step-card-link:hover {
  color: white;
}

/* Стилизация номера шага */
.step-number {
  position: absolute;
  top: -0.2em;
  left: -0.05em;
  font-size: 6rem; /* Крупный размер */
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05); /* Почти прозрачный */
  z-index: 0;
  user-select: none; /* Чтобы нельзя было выделить */
}

/* Контент внутри карточки должен быть поверх номера */
.step-card .step-icon,
.step-card .step-title,
.step-card .step-description,
.step-card .club-id {
  position: relative;
  z-index: 1;
}

/* Картинка-иконка шага */
.step-icon img {
  border-radius: 50%; /* Круглая иконка */
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid var(--poker-gold);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Заголовок шага */
.step-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

/* Описание шага */
.step-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

/* Выделение золотым цветом */
.text-gold {
  color: var(--poker-gold) !important;
}

/* Стиль для ID клуба */
.club-id {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--poker-gold);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--poker-gold);
  margin-top: 0.5rem;
  cursor: copy; /* Намекает, что можно скопировать */
}

/* Текст с бонусом */
.bonus-text {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(45deg, #ffca28, #ff8f00);
  border-radius: 2rem;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
}

/* Главный заголовок с тенью */
.text-shadow {
   text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

/* --- Стили для блока Рейкбека --- */
.rakeback-card {
    background: linear-gradient(135deg, #232526, #414345);
    border: 1px solid var(--poker-gold);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.rakeback-percent {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--poker-gold);
    margin-right: 2rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.rakeback-text h3 {
    color: #fff;
    font-weight: 700;
}

.rakeback-text p {
    color: rgba(255, 255, 255, 0.8);
}

/* Адаптация для мобильных устройств */
@media (max-width: 767px) {
    .rakeback-card {
        flex-direction: column;
        text-align: center;
    }
    .rakeback-percent {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 5rem;
    }
    .step-icon img {
        width: 120px;
        height: 120px;
    }
    .step-number {
        font-size: 5rem;
    }
}

/* ============================================ */
/*        СТИЛИ ДЛЯ БЛОКА BAD BEAT JACKPOT      */
/* ============================================ */

.jackpot-card {
  display: flex;
  align-items: center;
  padding: 2.5rem 3rem;
  border-radius: 1.5rem; /* Скругление углов */
  color: #fff;

  /* Эффектный фон с золотым свечением */
  background: radial-gradient(circle at 25% 50%, rgba(100, 80, 20, 0.4), #121212 60%), #121212;

  border: 1px solid rgba(255, 215, 0, 0.5); /* Золотая рамка */
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2), 
              inset 0 0 15px rgba(255, 215, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Декоративный элемент - анимированный блик */
.jackpot-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 35%);
  animation: rotateGlow 15s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(135deg); }
}

.jackpot-amount {
  font-family: 'Roboto', 'Helvetica', sans-serif;
  font-size: 4.5rem; /* Размер суммы */
  font-weight: 700;
  line-height: 1;
  color: #FFD700; /* Золотой цвет */
  margin-right: 2.5rem;
  flex-shrink: 0;

  /* Эффект свечения для цифр */
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5),
               0 0 15px rgba(255, 215, 0, 0.5);
}

.jackpot-amount .currency {
  font-size: 0.6em; /* Знак рубля чуть меньше */
  opacity: 0.8;
  margin-left: 0.25rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767.98px) {
  .jackpot-card {
    flex-direction: column; /* Элементы встают друг под другом */
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .jackpot-amount {
    font-size: 3.5rem; /* Уменьшаем шрифт на мобильных */
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

/* ============================================ */
/*           СТИЛИ ДЛЯ СЕТКИ ТУРНИРОВ          */
/* ============================================ */

/* Можно добавить текстуру фона для этого блока */
.bg-dark-texture {
    background-color: #0d0d12;
    /* Пример текстуры. Замените на свою. */
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.05"%3E%3Cpath d="M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.day-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease-in-out;
}

.day-card:hover {
  transform: scale(1.05);
  border-color: var(--poker-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.day-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.day-card:hover .day-card-thumb {
  transform: scale(1.1);
}

.day-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  color: #fff;
  transition: background 0.3s ease;
}

.day-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 215, 0, 0.8);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease-in-out;
}

.day-card:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Стили для модального окна */
#tournamentModal .modal-content {
  background-color: #1a1c20 !important;
  border: 1px solid var(--poker-border);
}

/* ============================================ */
/*           СТИЛИ ДЛЯ БЛОКА ПАРТНЕРСТВА         */
/* ============================================ */

#partnership-block {
  background-color: #0d0d12; /* Цвет фона на случай, если картинка не загрузится */
  background-size: cover;
  background-position: center center;
}

/* Полупрозрачный слой поверх фона для контраста */
.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.85); /* Более плотный оверлей */
  z-index: 1;
}

/* Контейнер должен быть поверх оверлея */
#partnership-block .container {
  position: relative;
  z-index: 2;
}

/* Карточка с преимуществом */
.benefit-card {
  width: 100%;
  background: var(--poker-dark-bg);
  border: 1px solid var(--poker-border);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: var(--poker-gold);
  background: rgba(25, 25, 30, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.benefit-icon {
  margin-bottom: 1.5rem;
  color: var(--poker-gold);
  line-height: 1;
}

.benefit-icon img {
  height: 50px; /* Задаем высоту для иконок */
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-icon img {
  opacity: 1;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.benefit-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  /* Заставляет текст занимать оставшееся место, выравнивая карточки по высоте */
  flex-grow: 1; 
}

/* Большая кнопка призыва к действию */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  background: var(--poker-gold);
  background: linear-gradient(45deg, #FFD700, #FDB813);
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  color: #000;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
}


/* ======================================================== */
/* СТИЛИ ДЛЯ НОВОГО БЛОКА ОБРАТНОЙ СВЯЗИ */
/* ======================================================== */

.cta-block-new {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 400px; /* Минимальная высота блока */
    display: flex;
    align-items: center;
}

/* Полупрозрачный слой поверх фона */
.cta-block-new .cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.8) 50%, rgba(18, 18, 18, 0.2) 100%);
}

/* Контент поверх оверлея */
.cta-block-new .cta-content {
    position: relative; /* Чтобы быть над оверлеем */
    z-index: 2;
}

.cta-block-new .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    border-width: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-block-new .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-block-new .btn-warning {
    color: #121212; /* Темный текст на желтой кнопке */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 991.98px) {
    .cta-block-new .cta-overlay {
        /* На мобильных делаем фон темнее для лучшей читаемости */
        background: rgba(18, 18, 18, 0.85);
    }
    .cta-block-new .cta-content .col-lg-8 {
        text-align: center; /* Центрируем текст на мобильных */
    }
    .cta-block-new .d-sm-flex {
        justify-content: center; /* Центрируем кнопки */
    }
}

/* ============================================ */
/*            СТИЛИ ДЛЯ СЕКЦИИ FAQ              */
/* ============================================ */

.faq-section {
  position: relative;
  overflow: hidden; /* Важно для анимаций */
}

/* Переопределяем стили Bootstrap для темного дизайна */
.accordion {
  --bs-accordion-color: #dee2e6; /* Цвет текста в ответе */
  --bs-accordion-bg: #1a1a1a; /* Фон элемента аккордеона */
  --bs-accordion-border-color: rgba(255, 255, 255, 0.1);
  --bs-accordion-border-radius: 0.5rem;
  --bs-accordion-inner-border-radius: 0.375rem;

  /* Цвет иконки (стрелочки) */
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23dee2e6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffc107'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");

  --bs-accordion-btn-focus-border-color: #ffc107; /* Акцентный цвет (желтый) */
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);

  /* Цвет кнопки-вопроса */
  --bs-accordion-active-color: var(--bs-warning); /* Тот же акцентный цвет */
  --bs-accordion-active-bg: #212121; /* Чуть более светлый фон для активного элемента */
}

/* Дополнительные кастомные стили */
.accordion-item {
  margin-bottom: 1rem;
  overflow: hidden; /* Для красивых скругленных углов */
  border: none; /* Убираем стандартные рамки, так как фон уже контрастирует */
}
.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
}

/* Убираем тень при клике, оставляя только нашу кастомную */
.accordion-button:focus {
  z-index: 3;
  border-color: var(--bs-accordion-btn-focus-border-color);
  outline: 0;
  box-shadow: var(--bs-accordion-btn-focus-box-shadow);
}

.accordion-button:not(.collapsed) {
  box-shadow: none; /* Убираем внутреннюю тень bootstrap */
}

.accordion-body {
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ============================================ */
/*            СТИЛИ ДЛЯ БЛОКА ТЕГОВ             */
/* ============================================ */

#tags-section .btn-outline-warning {
    transition: all 0.3s ease-in-out;
    padding: 0.5rem 1.2rem; /* Делаем теги чуть крупнее */
}

#tags-section .btn-outline-warning:hover {
    transform: translateY(-3px); /* Легкий подъем при наведении */
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.25); /* Золотое свечение */
}

/* ============================================ */
/*           СТИЛИ ДЛЯ НОВОГО ФУТЕРА             */
/* ============================================ */

.site-footer {
  background-color: #0d0d12; /* Очень темный фон, почти черный */
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--poker-border);
}

.download-section {
  padding-bottom: 3rem;
}

.download-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.download-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
}

.download-buttons-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap; /* Для корректного переноса на мобильных */
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(30, 30, 40, 0.8);
  border: 1px solid var(--poker-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-5px);
  background-color: rgba(45, 45, 60, 1);
  border-color: var(--poker-gold);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.download-btn .btn-icon {
  width: 32px;
  height: 32px;
  filter: grayscale(100%) brightness(200%); /* Делаем иконку белой */
  transition: filter 0.3s ease;
}

.download-btn:hover .btn-icon {
    filter: none; /* Возвращаем иконке оригинальный цвет при наведении */
}

.download-btn div {
  text-align: left;
  line-height: 1.2;
}

.download-btn .btn-subtitle {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.download-btn .btn-maintitle {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.footer-divider {
  border: 0;
  border-top: 1px solid var(--poker-border);
  opacity: 1;
}

.footer-bottom {
  padding-top: 2rem;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--poker-gold);
  text-decoration: underline;
}

/* Стили для модального окна */
.modal-content.bg-dark {
    background-color: #16181c !important;
    border: 1px solid var(--poker-border);
}

/* ============================================ */
/*            СТИЛИ ДЛЯ СТРАНИЦЫ 404            */
/* ============================================ */

.page-404-wrapper {
  min-height: 100vh; /* Занимает всю высоту экрана */
  background-color: #0d0d0d; /* Используем самый темный фон с сайта */
  padding: 2rem;
}

.error-code-404 {
  font-size: clamp(8rem, 25vw, 15rem); /* Адаптивный размер шрифта */
  text-shadow: 0 5px 30px rgba(255, 193, 7, 0.2); /* Легкое свечение, как у заголовков */
}

.page-404-wrapper .btn-outline-light {
    transition: all 0.3s ease;
}

.page-404-wrapper .btn-outline-light:hover {
    background-color: var(--bs-warning);
    color: var(--bs-dark);
    border-color: var(--bs-warning);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* =========================================
   STYLES FOR NEW HERO SECTION
   ========================================= */

/* Основной контейнер */
.hero-static-cta {
    position: relative;
    width: 100%;
    height: 100vh; /* Высота на весь экран */
    min-height: 650px; /* Минимальная высота чтобы не схлопывалось */
    display: flex;
    align-items: center;
    padding-top: 80px; /* Компенсация фиксированной шапки */
    overflow: hidden;
    background-color: #000; /* Цвет фона на случай если картинка не прогрузится */
}

/* Фон через IMG */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Растягивает картинку правильно */
    object-position: center;
}

/* Затемнение (оверлей) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6); /* Простое затемнение */
    background: linear-gradient(135deg, rgba(12, 12, 28, 0.9) 0%, rgba(12, 12, 28, 0.6) 100%); /* Красивый градиент */
}

/* Заголовки */
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-shadow {
    text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}

/* Кнопка Телеграм */
.btn-telegram-pulse {
    display: inline-flex;
    align-items: center;
    background: #2AABEE; /* Цвет Telegram */
    color: #ffffff !important;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 60px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(42, 171, 238, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 5;
    animation: pulse-glow 2s infinite;
}

.btn-telegram-pulse:hover {
    background: #229ED9;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(42, 171, 238, 0.6);
}

.tg-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.main-text {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sub-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Адаптив для мобильных устройств */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem; /* Меньше шрифт на мобиле */
        margin-top: 20px;
    }
    
    .hero-static-cta {
        height: auto;
        min-height: 100vh;
        padding-top: 120px; /* Больше отступ сверху */
        padding-bottom: 60px;
        text-align: center;
    }
    
    .cta-wrapper {
        display: flex;
        justify-content: center;
    }
    
    .download-mini {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Анимации */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(42, 171, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

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

    /* Базовые стили секции */
    .hero-section-wrapper {
        position: relative;
        width: 100%;
        height: 100vh;
        min-height: 600px; /* Чтобы не сплющило на планшетах */
        background-color: #000;
        display: flex;
        align-items: center;
        padding-top: 80px; /* Отступ под шапку */
        overflow: hidden;
    }

    /* Фон и оверлей */
    .hero-bg-layer, .hero-overlay-layer {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
    }
    .hero-bg-layer img {
        width: 100%; height: 100%; object-fit: cover; object-position: center;
    }
    .hero-overlay-layer {
        background: linear-gradient(135deg, rgba(12, 12, 28, 0.9) 0%, rgba(12, 12, 28, 0.6) 100%);
        z-index: 1;
    }
    
    /* Контент */
    .hero-content-container {
        position: relative;
        z-index: 2;
        width: 100%;
    }

    /* Заголовки */
    .hero-main-title {
        color: #fff;
        font-size: 3.5rem;
        line-height: 1.1;
        font-weight: 800;
        text-shadow: 0 4px 10px rgba(0,0,0,0.5);
        margin-bottom: 1rem;
    }
    .hero-sub-text {
        color: rgba(255,255,255,0.85);
        font-size: 1.25rem;
        font-weight: 300;
        margin-bottom: 2.5rem;
    }

    /* Кнопка Telegram */
    .btn-tg-custom {
        display: inline-flex;
        align-items: center;
        background-color: #2AABEE;
        color: #fff !important;
        text-decoration: none;
        padding: 12px 30px;
        border-radius: 50px;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 10px 25px rgba(42, 171, 238, 0.4);
        transition: transform 0.2s;
        max-width: 100%;
    }
    .btn-tg-custom:hover {
        transform: translateY(-3px);
        background-color: #229ED9;
    }
    .btn-tg-icon {
        width: 36px;
        height: 36px;
        margin-right: 15px;
        flex-shrink: 0; /* Чтобы иконку не сжимало */
    }

    /* Блок скачивания */
    .download-block {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }
    .download-label {
        color: #fff;
        font-weight: bold;
        white-space: nowrap;
    }
    .store-icons-wrapper {
        display: flex;
        gap: 15px;
    }
    .store-icon-img {
        height: 40px; /* Размер оригинальных иконок */
        width: auto;
        transition: opacity 0.2s;
    }
    .store-icon-img:hover { opacity: 0.8; }

    /* =========================================
       МОБИЛЬНЫЙ АДАПТИВ (Media Queries)
       ========================================= */
    @media (max-width: 991px) {
        .hero-section-wrapper {
            padding-top: 100px; /* Больше отступ сверху для мобил */
            height: auto;
            min-height: 100vh;
            padding-bottom: 50px;
            text-align: center; /* Центрируем всё */
        }
        
        .hero-main-title {
            font-size: 2.2rem; /* Уменьшаем шрифт */
        }
        
        .hero-sub-text {
            font-size: 1rem;
            margin-bottom: 2rem;
        }

        /* Кнопка ТГ на мобиле */
        .cta-container {
            display: flex;
            justify-content: center;
            margin-bottom: 3rem;
        }
        .btn-tg-custom {
            width: 100%;
            justify-content: center;
            padding: 15px 20px;
        }

        /* Иконки приложений стопкой на мобиле */
        .download-block {
            flex-direction: column; /* Вертикально */
            gap: 15px;
            background: rgba(255,255,255,0.05); /* Легкая подложка */
            padding: 20px;
            border-radius: 15px;
        }
        .store-icons-wrapper {
            flex-direction: column; /* Иконки друг под другом */
            width: 100%;
            align-items: center;
        }
        .store-icon-link {
            display: block;
            width: 100%; /* Клику область на всю ширину */
            max-width: 200px;
        }
        .store-icon-img {
            height: 45px; /* Чуть крупнее для пальца */
        }
    }