


/* Стили для хэдэра */
  .header {
    background: var(--secondary-color); /* Цвет фона задаётся из темы */
    padding: 15px 0;
    box-shadow: 0 4px 8px var(--button-shadow);
  }
  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo img {
    height: 50px;
    width: auto;
  }
  .nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  .nav ul li 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;
  }
  .nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
  }
  .header-buttons {
    display: flex;
    gap: 10px;
  }
  .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
  }
  .btn-login {
    background: transparent;
    color: var(--primary-color);
  }
  .btn-login:hover {
    background: var(--primary-color);
    color: var(--text-color);
  }
  .btn-signup {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
  }
  .btn-signup:hover {
    background: var(--button-hover-bg);
    transform: scale(1.1);
  }
  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s ease;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  @media (max-width: 768px) {
    .nav {
      display: none;
    }
    .menu-toggle {
      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; } }


.parallax-variant-3 {
  position: relative;
  overflow: hidden;
  height: 40rem;
  background-color: var(--background-color);
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.parallax-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 1rem;
  color: var(--primary-color);
}

.parallax-heading {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.parallax-subtitle {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .parallax-heading {
    font-size: 2.5rem;
  }
  .parallax-subtitle {
    font-size: 1rem;
  }
}


.features-modern {
  background: var(--features-bg);
  padding: 80px 20px;
  text-align: center;
  color: var(--features-text-color);
}

.features-modern .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-header {
  margin-bottom: 40px;
}

.features-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  color: var(--features-title-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.features-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--features-subtitle-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.features-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-card {
  background: var(--features-card-bg);
  border: 2px solid transparent;
  padding: 25px;
  border-radius: 12px;
  width: calc(25% - 30px);
  min-width: 250px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--features-title-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--features-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feature-card-title {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  color: var(--features-title-color);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-card-description {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--features-text-color);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .feature-card {
    width: calc(50% - 30px);
  }
}

@media (max-width: 480px) {
  .feature-card {
    width: 100%;
  }
}


.faq-accordion {
  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;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.faq-item {
  border-bottom: 1px solid var(--secondary-color);
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding: 15px 20px;
}

.faq-content p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .faq-section-title {
    font-size: 2rem;
  }
  .faq-header {
    font-size: 0.95rem;
  }
  .faq-content {
    font-size: 0.9rem;
  }
}


.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-modern {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
  color: var(--text-color);
}

.stats-modern .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.stats-modern .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-modern-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stats-modern-content {
  max-width: 700px;
}

.stats-modern-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.stats-modern-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.stats-modern-counters {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.counter-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.counter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.counter-number {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  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-modern-title {
    font-size: 2.5rem;
  }
  .stats-modern-description {
    font-size: 1rem;
  }
  .counter-item {
    width: 150px;
  }
}


/* Cookie Consent Modal Styles */
.cookie-consent-modal {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--secondary-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  padding: 20px;
  z-index: 1100;
  max-width: 400px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  display: none; /* Отображается через JS */
}

.cookie-consent-content {
  position: relative;
  font-family: var(--font-primary);
}

.cookie-consent-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}

.cookie-consent-modal h3 {
  margin-top: 0;
  font-family: var(--font-secondary);
  color: var(--primary-color);
}

.cookie-consent-modal p {
  font-size: 16px;
  margin: 10px 0;
}

.cookie-consent-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent-actions .btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 4px 8px var(--button-shadow);
}

.cookie-consent-actions .btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
}

.cookie-consent-actions .btn.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}



.cards-section {
  padding: 50px 15px;
  text-align: center;
  background: #f9f9f9;
}

/* === 📌 Заголовки === */
.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

/* === 📌 Сетка карточек === */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* Мобильные: 1 колонка */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* === 📌 Карточка === */
.card {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

/* === 📌 Изображение карточки === */
.card-image {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  height: 180px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* === 📌 Контент карточки === */
.card-content {
  padding: 15px;
  text-align: center;
}

/* === 📌 Заголовок карточки === */
.card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* === 📌 Описание карточки === */
.card-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

/* === 📌 Кнопка === */
.btn-primary {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  background: #008CFF;
  color: #fff;
  transition: 0.3s ease-in-out;
}

.btn-primary:hover {
  background: #006dcc;
}

/* === 📌 Адаптация для планшетов (768px+) === */
@media (min-width: 768px) {
  .cards-grid {
      grid-template-columns: repeat(1, 1fr); /* 2 карточки в ряд */
  }
}

/* === 📌 Адаптация для десктопов (1024px+) === */
@media (min-width: 1024px) {
  .cards-grid {
      grid-template-columns: repeat(3, 1fr); /* 3 карточки в ряд */
  }
}


.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;
  }
}



    /* Стили для формы */
    .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;
      }
    }

