 .site-header-alt { background: var(--secondary-color); padding: 15px 0; box-shadow: 0 4px 8px var(--button-shadow); }
.header-wrapper-alt { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }

.logo-alt img { height: 50px; width: auto; }

.navigation-alt .nav-list-alt { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

.navigation-alt .nav-list-alt .nav-item-alt a { text-decoration: none; font-size: 1rem; font-weight: 600; color: var(--text-color); padding: 8px 12px; transition: color 0.3s ease, transform 0.2s ease; }

.navigation-alt .nav-list-alt .nav-item-alt a:hover { color: var(--primary-color); transform: translateY(-2px); }

.menu-toggle-alt { display: none; flex-direction: column; gap: 5px; cursor: pointer; }

.menu-toggle-alt span { width: 30px; height: 3px; background: var(--text-color); transition: 0.3s ease; }

.menu-toggle-alt.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }

.menu-toggle-alt.active span:nth-child(2) { opacity: 0; }

.menu-toggle-alt.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) { .navigation-alt { display: none; } .menu-toggle-alt { display: flex; } }




/* Unique Footer Styles */
.unique-footer {
  position: relative;
  background-color: #0d0d0d;      /* Dark background */
  color: #e0e0e0;               /* Light text */
  padding: 40px 20px;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.unique-footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);  /* Light overlay for subtle effect */
  z-index: 1;
}

.unique-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.unique-footer-info p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.unique-footer-copy p {
  font-size: 14px;
  border-top: 1px solid rgba(224, 224, 224, 0.2);
  padding-top: 10px;
  margin: 0;
  opacity: 0.85;
} .hero-shape { position: relative; width: 100%; min-height: 90vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; padding: 80px 20px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1; }

.hero-content { position: relative; z-index: 2; text-align: center; color: var(--text-color); }

.hero-title { font-family: var(--font-secondary); font-size: 3rem; text-transform: uppercase; margin-bottom: 20px; color: var(--primary-color); animation: slideInDown 1s ease; }

.hero-description { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: 30px; line-height: 1.6; color: var(--text-color); animation: fadeIn 1s ease; }

.hero-btn { padding: 12px 30px; font-size: 1rem; border-radius: 8px; background: var(--button-bg); color: var(--button-text); border: none; cursor: pointer; transition: background 0.3s ease, transform 0.3s ease; }

.hero-btn:hover { background: var(--button-hover-bg); transform: translateY(-3px); }

.hero-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 2; }

.hero-divider svg { display: block; width: 100%; height: 80px; }

@keyframes slideInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .hero-description { font-size: 1rem; } .hero-btn { font-size: 0.9rem; padding: 10px 20px; } }

@media (max-width: 480px) { .hero-title { font-size: 2rem; } .hero-description { font-size: 0.9rem; } .hero-btn { font-size: 0.8rem; padding: 8px 16px; } }


.faq-section {
  background: var(--background-color);
  padding: 60px var(--container-padding);
  color: var(--text-color);
}

.faq-section-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--secondary-color);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 15px 20px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-answer.active {
  max-height: 1000px;
  padding: 15px 20px;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section-title {
    font-size: 2rem;
  }
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
}


.games-flip {
  padding: 80px 20px;
  background: var(--background-color);
  text-align: center;
  color: var(--text-color);
}

.games-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.games-heading {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.games-subheading {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.8;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 320px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.flip-card-front {
  background: var(--games-card-bg, #fff);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flip-card-inner:hover .card-image {
  transform: scale(1.05);
}

.flip-card-back {
  background: rgba(0, 0, 0, 0.85);
  color: var(--button-text, #fff);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.game-title {
  font-family: var(--font-secondary, sans-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.game-description {
  font-family: var(--font-primary, sans-serif);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--button-text, #fff);
}

.game-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--button-bg, #e91e63);
  color: var(--button-text, #fff);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.game-button:hover {
  background: var(--button-hover-bg, #d81b60);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .games-heading {
    font-size: 2.2rem;
  }
  .games-subheading {
    font-size: 1rem;
  }
  .flip-card-inner {
    height: 280px;
  }
  .game-title {
    font-size: 1.6rem;
  }
  .game-description {
    font-size: 0.9rem;
  }
  .game-button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}


.about-split {
  padding: 80px 20px;
  background: var(--background-color);
  color: var(--text-color);
  position: relative;
}

.about-split .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-split-wrapper {
  display: flex;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image-side {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.about-image-side img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
  /* Diagonal clip-path for a unique effect */
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.about-image-side:hover img {
  transform: scale(1.05);
}

.about-text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.about-description {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about-list li {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.btn.about-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn.about-btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .about-split-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-image-side, .about-text-side {
    flex: 0 0 100%;
  }
  .about-title {
    font-size: 2.2rem;
  }
  .about-description {
    font-size: 1rem;
  }
}


.stats-section-7 {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: var(--text-color);
  text-align: center;
  overflow: hidden;
}

.stats-section-7 .stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.stats-section-7 .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.stats-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stats-info {
  max-width: 800px;
  margin: 0 auto;
}

.stats-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.stats-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.stats-counters {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-counter {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: transform 0.3s ease;
  text-align: center;
}

.stats-counter:hover {
  transform: translateY(-5px);
}

.counter-number {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.counter-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .stats-title {
    font-size: 2.2rem;
  }
  .stats-description {
    font-size: 1rem;
  }
  .stats-counter {
    width: 180px;
  }
}


/* === Глобальные переменные для Features === */
:root {
    --features-bg: var(--background-color); /* Фон секции */
    --features-text-color: var(--text-color); /* Цвет текста */
    --features-title-color: var(--primary-color); /* Цвет заголовка */
    --features-subtitle-color: var(--secondary-color); /* Цвет подзаголовка */
    --features-card-bg: var(--card-bg); /* Фон карточек */
    --features-card-shadow: var(--shadow-color); /* Тень карточек */
    --features-icon-bg: var(--primary-color); /* Фон иконки */
}

/* === Общие стили для секции Features === */
.features {
    background: var(--features-bg);
    color: var(--features-text-color);
    padding: 80px 20px;
    text-align: center;
}

/* Контейнер */
.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
.features .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--features-title-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.features .section-subtitle {
    font-size: 1.2rem;
    color: var(--features-subtitle-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* === Grid Сетка === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

/* === Карточки (Feature Cards) === */
.feature-card {
    background: var(--features-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--features-card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px var(--features-card-shadow);
}

/* === Иконки в карточках === */
.feature-card .icon {
    width: 90px;
    height: 90px;
    background: var(--features-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* Обрезаем края */
    padding: 0; /* Убираем отступы */
}

.feature-card:hover .icon {
    transform: scale(1.1);
}

.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет весь круг */
    border-radius: 50%; /* Делаем изображение круглым */
}

/* === Текст в карточке === */
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* === Адаптивность === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card .icon {
        width: 70px;
        height: 70px;
    }

    .feature-card .icon img {
        width: 50px;
        height: 50px;
    }

    .features .section-title {
        font-size: 2rem;
    }

    .features .section-subtitle {
        font-size: 1rem;
    }
}


.parallax-variant-2 {
  position: relative;
  overflow: hidden;
  height: 35rem;
  background-color: var(--background-color);
}

.parallax-variant-2 .parallax-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  will-change: transform;
  transition: transform 0.2s ease-out;
}

.parallax-variant-2 .parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  padding: 1rem 20px;
  color: var(--primary-color);
}

.parallax-variant-2 .parallax-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.parallax-variant-2 .parallax-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .parallax-variant-2 .parallax-title {
    font-size: 2.2rem;
  }
  .parallax-variant-2 .parallax-description {
    font-size: 1rem;
  }
}


/* CSS для Cookie Popup, использующий переменные темы */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary-color);  /* Используем цвет из темы */
  color: var(--text-color);
  padding: 20px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  display: none; /* По умолчанию скрыто; показывается JS, если необходимо */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cookie-popup-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-primary);
}

.cookie-message {
  font-size: 16px;
  text-align: center;
  margin: 0 0 15px;
}

.cookie-message a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-message a:hover {
  color: var(--accent-color);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Кнопки оформлены в соответствии с темой */
.cookie-accept,
.cookie-decline {
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Кнопка Accept использует основной акцент */
.cookie-accept {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--button-border);
  box-shadow: 0 4px 8px var(--button-shadow);
}

/* Кнопка Decline использует вторичный стиль */
.cookie-decline {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border-color: var(--button-secondary-border);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-accept:hover,
.cookie-decline:hover {
  transform: translateY(-2px);
}

 * { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-primary); background: var(--background-color); color: var(--text-color); padding: 50px 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }

.section-title { font-size: 32px; font-weight: bold; margin-bottom: 10px; color: var(--text-color); }

.section-subtitle { font-size: 18px; margin-bottom: 30px; color: var(--text-color); opacity: 0.7; }

.cards-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.card { position: relative; width: 280px; height: 380px; border-radius: 15px; overflow: hidden; cursor: pointer; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }

.card-image { width: 100%; height: 100%; }

.card-image img { width: 100%; height: 100%; object-fit: cover; }

.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(100%); transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out; }

.card-title { font-size: 22px; font-weight: bold; margin-bottom: 10px; color: var(--text-color); }

.card-description { font-size: 14px; text-align: center; margin-bottom: 15px; padding: 0 20px; color: var(--text-color); opacity: 0.8; }

.btn { display: inline-block; padding: 10px 20px; font-size: 14px; font-weight: bold; text-transform: uppercase; color: var(--button-text); background: var(--button-bg); border: 2px solid var(--button-border); text-decoration: none; border-radius: 5px; transition: all 0.3s ease-in-out; }

.btn:hover { background: var(--button-hover-bg); color: var(--button-text); }

.card:hover { transform: scale(1.05); box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.1); }

.card:hover .card-overlay { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) { .cards-wrapper { flex-direction: column; align-items: center; } }



    /* Стили для формы */
    .contact-form {
      background: var(--bg-section);
      padding: 60px 30px;
      margin: 80px auto;
      max-width: 600px;
      border-radius: 12px;
      border: 2px solid var(--border-section);
      position: relative;
      overflow: hidden;
    }

    /* Затемнённый оверлей для всей секции */
    .contact-form::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--overlay-bg);
      z-index: 0;
    }

    /* Контейнер внутри секции */
    .container {
      position: relative;
      z-index: 1;
      padding: 20px;
      box-sizing: border-box;
    }

    /* Основной блок с формой */
    .contact-form__content {
      background: var(--bg-content);
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 10px var(--shadow-color);
    }

    /* Заголовок формы */
    .contact-form__title {
      font-family: var(--font-title);
      font-size: 2.5rem;
      color: var(--title-color);
      text-transform: uppercase;
      margin-bottom: 20px;
      text-align: center;
    }

    /* Метки для полей ввода */
    .contact-form label {
      display: block;
      font-family: var(--font-body);
      font-size: 1.1rem;
      color: var(--label-color);
      margin-bottom: 5px;
    }

    /* Поля ввода и textarea */
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      font-family: var(--font-body);
      font-size: 1rem;
      color: var(--label-color);
      border: 1px solid var(--input-border);
      border-radius: 8px;
      outline: none;
      transition: border 0.3s ease;
    }

    /* Фокус на полях ввода */
    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--input-focus);
    }

    /* Кнопка отправки */
    .submit-btn {
      display: block;
      width: 100%;
      padding: 14px 0;
      background: var(--button-bg);
      color: #FFFFFF;
      font-family: var(--font-body);
      font-size: 1.1rem;
      font-weight: bold;
      text-transform: uppercase;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 8px rgba(255, 111, 97, 0.4);
    }

    /* Эффект при наведении на кнопку */
    .submit-btn:hover {
      background: var(--button-hover);
      transform: scale(1.05);
    }

    /* Сообщение об успешной отправке */
    #success-message {
      display: none;
      text-align: center;
      font-family: var(--font-body);
      font-size: 1.2rem;
      color: var(--success-color);
      margin-top: 20px;
      opacity: 0;
      animation: fadeIn 0.5s ease-in-out forwards;
    }

    /* Анимация появления сообщения */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Адаптивность */
    @media (max-width: 768px) {
      .contact-form {
        padding: 60px 15px;
        margin: 40px auto;
      }

      .contact-form__content {
        padding: 30px;
      }

      .contact-form__title {
        font-size: 2rem;
      }

      .contact-form label {
        font-size: 1rem;
      }

      .submit-btn {
        font-size: 1rem;
        padding: 12px 20px;
      }
    }

