/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Основные стили */
body {
  font-family: 'Playfair Display', serif;
  background-color: #111;
  color: #fff;
}
/* Контейнер для частиц */
.particles {
  position: fixed; /* Устанавливаем фиксированное положение на экране */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Частицы не будут блокировать другие элементы */
  z-index: 9999;
}

/* Стиль для частиц */
.particle {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: rgba(243, 156, 18, 0.8);
  border-radius: 50%;
  animation: particleAnimation 10s infinite;
  opacity: 0.8;
  pointer-events: none; /* Частицы не будут блокировать другие элементы */
}


/* Анимация движения частиц */
@keyframes particleAnimation {
  0% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
  25% {
    transform: translate(100px, -200px);
    opacity: 0.5;
  }
  50% {
    transform: translate(-100px, 200px);
    opacity: 0.7;
  }
  75% {
    transform: translate(200px, 100px);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0);
    opacity: 0.8;
  }
}


/* Многоцветные частицы */
.particle:nth-child(odd) {
  background-color: rgba(0, 0, 255, 0.6); /* Синие частицы */
}

.particle:nth-child(even) {
  background-color: rgba(255, 0, 255, 0.6); /* Фиолетовые частицы */
}
/* Шапка */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6) url('images/magic-bg.webp') no-repeat center center/cover;
  padding: 20px 50px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(8px); /* Увеличим blur для лучшего эффекта */
  transition: all 0.3s ease;
}

/* Логотип */
.logo {
  font-size: 28px;
  color: #fff;
  font-weight: bold;
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 1.5px; /* Меньше расстояние между буквами */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Меньшая тень */
}

/* Меню */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar a:hover {
  color: #f39c12;
  transform: translateY(-4px);
  background: rgba(243, 156, 18, 0.2); /* Легкий фон при наведении */
}

.navbar a.active {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.3);
  transform: translateY(0);
}

/* Блок hero */
.hero {
  height: 100vh;
  background: url('images/space.webp') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  text-align: center;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Добавим фон для улучшения контраста */
.hero-text {
  position: relative;
  z-index: 1;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Тёмный фон для улучшения контраста */
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: bold;
  text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.8);
  margin: 20px 0;
}

.hero-description {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #f39c12;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
}

.cta-button:hover {
  transform: scale(1.1);
}

/* Анимация портала */
.hero .portal {
  position: absolute;
  top: 83%; /* Сдвигаем портал ниже */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: url('images/magical-portal.webp') no-repeat center center;
  background-size: contain;
  border-radius: 50%;
  animation: portalAnimation 3s infinite;
}

.hero .portal-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 255, 0.7) 100%);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes portalAnimation {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Футер */
footer {
  background-color: #1a1a1a;
  text-align: center;
  padding: 20px 0;
  color: #fff;
  position: relative;
  z-index: 500;
}

footer p {
  font-size: 14px;
}

/* Блок с информацией о казино */
.casino-info {
  background: #222 url('images/casino-bg.webp') no-repeat center center/cover;
  color: #fff;
  padding: 60px 30px;
  position: relative;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  margin-top: 30px;
}

/* Добавим полупрозрачный фон для текста */
.casino-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #f39c12; /* Сделаем заголовок ярким */
  padding: 0 20px; /* Добавим немного отступов */
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон для заголовка */
  border-radius: 10px;
}

/* Описание */
.description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон */
  color: #fff; /* Белый текст для контраста */
  padding: 20px;
  border-radius: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Тень для улучшения читаемости */
}

/* Блок с особенностями */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Каждая особенность */
.feature {
  background: rgba(0, 0, 0, 0.7);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

/* Изображения для особенностей */
.feature-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 50%;
}

/* Заголовок каждой особенности */
.feature h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #f39c12;
}

/* Текст каждой особенности */
.feature p {
  font-size: 1rem;
  font-weight: 300;
  color: #bbb;
}
/* Блок "Как это работает" */
.how-it-works {
  background: #1e1e1e url('images/magic-background.webp') no-repeat center center/cover;
  color: #fff;
  padding: 80px 30px;
  position: relative;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  margin-top: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  animation: fadeIn 1s ease-out; /* Анимация появления */
}

/* Фоновая анимация */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Заголовок секции */
.how-it-works h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #f39c12; /* Сделаем заголовок ярким */
  padding: 0 20px; /* Добавим немного отступов */
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон для заголовка */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

/* Описание секции */
.how-it-works .description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px;
  font-weight: 300;
  background: rgba(0, 0, 0, 0.6); /* Полупрозрачный фон */
  color: #fff; /* Белый текст для контраста */
  padding: 20px;
  border-radius: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Тень для улучшения читаемости */
  transition: transform 0.3s ease;
}

/* Эффект при наведении на описание */
.how-it-works .description:hover {
  transform: translateY(-5px);
}

/* Блок с этапами */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  animation: slideIn 1s ease-out;
}

/* Каждая стадия */
.step {
  background: rgba(0, 0, 0, 0.7);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  animation: stepFadeIn 1s ease-out; /* Анимация появления */
}

/* Анимация появления блока с этапами */
@keyframes stepFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Эффект при наведении на этап */
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

/* Изображения для этапов */
.step img {
  max-width: 100%; /* Ограничим ширину картинки размером контейнера */
  height: auto; /* Поддержка пропорций */
  border-radius: 10px; /* Скруглим углы картинок */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Тень для эффекта */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Плавный эффект при наведении */
}
.step img:hover {
  transform: scale(1.05); /* Немного увеличиваем картинку при наведении */
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7); /* Более яркая тень */
}

/* Заголовок каждого этапа */
.step h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #f39c12;
}

/* Текст каждого этапа */
.step p {
  font-size: 1rem;
  font-weight: 300;
  color: #bbb;
}
/* Стили для кнопки */
.toggle-particles-btn {
  position: fixed;
  bottom: 20px; /* Располагаем внизу экрана */
  right: 20px; /* Справа */
  background-color: rgba(243, 156, 18, 0.8);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000; /* Кнопка поверх других элементов */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.toggle-particles-btn:hover {
  background-color: rgba(243, 156, 18, 1);
  transform: scale(1.1);
}
/* Основной стиль для блока с отзывами */
.reviews-carousel {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('images/magic-background.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.reviews-carousel h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 40px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Обертка для всех отзывов */
.reviews-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

/* Обертка для прокручиваемых отзывов */
.reviews {
  display: flex;
  position: absolute;
  animation: scrollReviews 30s linear infinite;
}

.review {
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 15px;
  margin: 0 20px;
  text-align: center;
  opacity: 0.9;
  transform: scale(1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.review p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #bbb;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.review h3 {
  font-size: 1.4rem;
  color: #f39c12;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Анимация для прокрутки влево и вправо */
@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(25%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Блок с большим текстом */
.info-text {
  background: #222 url('images/info-bg.webp') no-repeat center center/cover;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  margin-top: 30px;
}

.info-text h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 40px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

.text-content {
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 300;
  color: #bbb;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: justify;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* Параграфы */
.text-content p {
  margin-bottom: 25px;
}

/* Добавим стили для ссылок внутри текста */
.text-content a {
  color: #f39c12;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.text-content a:hover {
  color: #fff;
}
/* Общие стили для блока с услугами */
.services-info {
  background: #121212 url('images/services-bg.webp') no-repeat center center/cover;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  margin-top: 50px;
}

.services-info h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 50px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

/* Контейнер для блоков с услугами */
.services-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Стиль для каждого блока с услугой */
.service {
  background: rgba(0, 0, 0, 0.7);
  padding: 25px;
  border-radius: 15px;
  width: 30%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
}

/* Стиль для изображений */
.service-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Заголовки услуг */
.service h3 {
  font-size: 1.8rem;
  color: #f39c12;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Текст описания услуг */
.service p {
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.6;
  font-weight: 300;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* Блок с дополнительной информацией */
.more-info {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #bbb;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: justify;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

/* Параграфы внутри дополнительной информации */
.more-info p {
  margin-bottom: 20px;
}
/* Блок "Почему Мы" */
.why-choose-us {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6)), url('images/background.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.why-choose-us h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #f39c12;
  margin-bottom: 20px;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
}

.why-choose-us .intro-text {
  font-size: 1.3rem;
  color: #dcdcdc;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.benefit-item {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.benefit-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #f39c12;
  margin-bottom: 15px;
}

.benefit-item p {
  font-size: 1.2rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 15px;
}

.benefit-item p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .why-choose-us h2 {
    font-size: 2.5rem;
  }

  .why-choose-us .intro-text {
    font-size: 1.1rem;
  }

  .benefits {
    grid-template-columns: 1fr;
  }
}
.final-block {
  background: linear-gradient(to bottom, #2c3e50, #bdc3c7);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.final-block h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #f39c12;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.final-block p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #fff;
  font-weight: 300;
}

.final-block .cta-button {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.final-block .cta-button:hover {
  transform: scale(1.1);
  background: #e67e22;
}
/* Основные стили для блока контактов */
.contact-section {
  padding: 80px 20px;
  background-color: #1e1e1e; /* Темный фон для гармонии с сайтом */
  color: #fff; /* Белый цвет текста для контраста */
}

.contact-section h2 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #f39c12; /* Яркий акцент на заголовке */
  margin-bottom: 20px;
}

.contact-section p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  color: #bbb;
}

/* Контактная информация */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.info-item {
  flex: 1;
  min-width: 280px;
  background: rgba(0, 0, 0, 0.7); /* Слегка затемнённый фон для каждого блока */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.info-item h3 {
  font-size: 22px;
  color: #f39c12; /* Яркий цвет для подзаголовков */
  margin-bottom: 10px;
}

.info-item p {
  font-size: 18px;
  color: #ddd;
}

.contact-info a {
  color: #f39c12;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Стили для формы */
.contact-form {
  margin-top: 50px;
  background: rgba(0, 0, 0, 0.8); /* Тёмный фон формы */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.contact-form h3 {
  text-align: center;
  font-size: 28px;
  color: #f39c12;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  font-size: 18px;
  color: #f39c12;
  display: block;
  margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #333;
  border-radius: 8px;
  background: #222;
  color: #fff;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: #f39c12;
}

.contact-form button {
  background-color: #f39c12;
  color: #fff;
  font-size: 18px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e67e22;
}

/* Адаптивность */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .info-item {
    min-width: 100%;
    margin-bottom: 20px;
  }

  .contact-form {
    margin-top: 30px;
  }
}
