


/* Стили для хэдэра */
  .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;
    }
  }





/* Футер */
.footer {
  position: relative;             /* Обязательно для позиционирования оверлея */
  background: #121212;            /* Фон футера (например, темный) */
  color: #ffffff;                 /* Цвет текста */
  padding: 20px 0;
  text-align: center;
}

/* Затемняющий оверлей для футера */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);  /* Уровень затемнения (настраивается по вкусу) */
  z-index: 1;
}

/* Контейнер футера, чтобы содержимое было выше оверлея */
.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Блок с дополнительным текстом перед копирайтом */
.footer-pretext {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Нижняя полоса с копирайтом */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  font-size: 14px;
  opacity: 0.7;
} .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-5 {
  position: relative;
  overflow: hidden;
  height: 40rem;
  background: var(--background-color);
}

.parallax-variant-5 .parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 1;
}

.parallax-variant-5 .parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.parallax-variant-5 .parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  color: var(--primary-color);
}

.parallax-variant-5 .parallax-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.parallax-variant-5 .parallax-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .parallax-variant-5 .parallax-title {
    font-size: 2.5rem;
  }
  .parallax-variant-5 .parallax-subtitle {
    font-size: 1rem;
  }
}


.features-timeline {
  padding: 80px 20px;
  background: var(--features-bg);
  color: var(--features-text-color);
}

.features-timeline .container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-heading {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  color: var(--features-title-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.features-subheading {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--features-subtitle-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.timeline-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--features-icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-content {
  flex: 1;
  text-align: left;
}

.timeline-title {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  color: var(--features-title-color);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.timeline-description {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--features-text-color);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  .timeline-content {
    text-align: center;
  }
}


.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;
  }
}


/* === Глобальные переменные для секции игр === */
:root {
    --games-bg: var(--background-color); /* Фон секции */
    --games-text-color: var(--text-color); /* Цвет текста */
    --games-title-color: var(--primary-color); /* Цвет заголовка */
    --games-card-bg: var(--card-bg); /* Фон карточек */
    --games-overlay-bg: rgba(0, 0, 0, 0.7); /* Оверлей при наведении */
    --games-btn-bg: var(--button-bg); /* Цвет кнопки */
    --games-btn-hover-bg: var(--button-hover-bg); /* Цвет кнопки при наведении */
}

/* === Общие стили для секции игр === */
.games-section {
    background: var(--games-bg);
    color: var(--games-text-color);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

/* Контейнер */
.games-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовок */
.games-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--games-title-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-in-out;
}

/* Подзаголовок */
.games-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-in-out;
}

/* === Сетка карточек === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 1.2s ease-in-out;
}

/* === Карточки игр === */
.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--games-card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px var(--shadow-color);
}

/* Изображение игры */
.game-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

/* === Оверлей (при наведении) === */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--games-overlay-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

/* Заголовок внутри оверлея */
.game-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--games-title-color);
    margin-bottom: 10px;
}

/* Описание внутри оверлея */
.game-description {
    font-size: 1rem;
    color: var(--games-text-color);
    margin-bottom: 20px;
    text-align: center;
}

/* Кнопка в карточке */
.game-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--games-btn-bg);
    color: var(--button-text);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.game-link:hover {
    background: var(--games-btn-hover-bg);
    transform: scale(1.05);
}

/* === Анимации === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Адаптивность === */
@media (max-width: 768px) {
    .games-section {
        padding: 60px 15px;
    }

    .games-title {
        font-size: 2rem;
    }

    .games-subtitle {
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-heading {
        font-size: 1.3rem;
    }

    .game-description {
        font-size: 0.9rem;
    }

    .game-link {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}



/* Cookie Section Styles */
.cookie-section {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  /* Дополнительные стили для контейнера, если нужно */
}

.cookie-popup {
  display: none;  /* Управляется через JS */
  background: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-family: var(--font-primary);
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-popup p {
  margin: 0;
  font-size: 16px;
  flex: 1 1 auto;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

 * { 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; } }


 #about-us {
    padding: 50px 0;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .image-container {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .image-container img {
    width: 66.67%; 
    max-width: 100%;
    border-radius: 8px;
  }

  .text-container {
    flex: 1;
    padding: 20px;
  }

  
  h2, p, ul, li, a {
    font-family: inherit;
    color: inherit;
    font-size: inherit;
  }


  @media (max-width: 768px) {
    .row {
      flex-direction: column;
      text-align: center;
    }

    .image-container {
      flex: 0 0 100%;
      margin-bottom: 20px;
    }

    .text-container {
      flex: 0 0 100%;
    }

    .image-container img {
      width: 80%; 
    }
  }


.stats-bg-overlay {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  text-align: center;
  color: var(--text-color);
}

.stats-bg-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.stats-bg-overlay .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.stats-content {
  margin-bottom: 40px;
}

.stats-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.stats-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.9;
}

.stats-counters {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.counter {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.counter:hover {
  transform: scale(1.05);
}

.counter-number {
  font-family: var(--font-secondary);
  font-size: 2rem;
  color: var(--accent-color);
  margin: 0;
}

.counter-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-color);
  text-transform: uppercase;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .stats-counters {
    flex-direction: column;
    gap: 20px;
  }
  .counter {
    width: 120px;
    height: 120px;
  }
  .counter-number {
    font-size: 1.8rem;
  }
  .counter-label {
    font-size: 0.9rem;
  }
}





/* Стили формы используют переменные из темы */
.contact-form {
    background: var(--background-color);
    padding: 40px 30px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form__content {
    background: #FFFFFF; /* Для полей ввода оставляем белый фон */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.contact-form h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-form label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    text-align: left;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
    background: #FFFFFF;
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 25px;
    background: var(--button-bg);
    color: var(--button-text);
    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;
}

.submit-btn:hover {
    background: var(--button-hover-bg);
    transform: scale(1.05);
}

#success-message {
    display: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-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;
    }

    .contact-form__content {
        padding: 30px;
    }

    .contact-form h2 {
        font-size: 2rem;
    }

    .contact-form label {
        font-size: 1rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

