


/* Стили для хэдэра */
  .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 === */
:root {
    --hero-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --hero-overlay: rgba(0, 0, 0, 0.4);
    --hero-text-color: /online.htmlffffff;
    --hero-title-color: var(--text-color);
    --hero-subtitle-color: var(--accent-color);
    --hero-shadow: rgba(0, 0, 0, 0.3);
}

/* === Hero Section === */
.hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-bg);
    overflow: hidden;
    padding: 80px 20px;
}

/* Контейнер Hero */
.hero .container {
    position: relative;
    max-width: 1200px;
    width: 100%;
}

/* === Hero Layout === */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* === Hero Image === */
.hero-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 1.2s ease-in-out;
}

.hero-image img {
    max-width: 90%;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--hero-shadow);
}

/* === Hero Content === */
.hero-content {
    flex: 1 1 50%;
    max-width: 500px;
    text-align: left;
    color: var(--hero-text-color);
    animation: fadeInUp 1s ease-in-out;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: var(--hero-title-color);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--hero-subtitle-color);
    margin-bottom: 25px;
}

/* === Hero Buttons === */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* === Кнопки === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    box-shadow: 0 4px 10px var(--button-shadow);
}

.btn-primary:hover {
    background: var(--button-hover-bg);
    transform: scale(1.05);
}

/* Outline Button */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--button-secondary-border);
    color: var(--button-secondary-text);
}

.btn-secondary:hover {
    background: var(--button-secondary-bg);
    color: var(--button-text);
    transform: scale(1.05);
}

/* === Анимации === */
@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Адаптация под мобильные устройства === */
@media (max-width: 768px) {
    .hero {
        padding: 60px 15px;
    }

    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
    }
}


.stats-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: var(--text-color);
  overflow: hidden;
}

.stats-banner .stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.stats-banner .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stats-text {
  max-width: 800px;
}

.stats-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.stats-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.stats-counters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.counter-box {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.counter-number {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin: 0;
  color: var(--accent-color);
}

.counter-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-top: 10px;
  text-transform: uppercase;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .stats-counters-row {
    flex-direction: column;
    gap: 20px;
  }
  .counter-box {
    width: 150px;
  }
  .stats-title {
    font-size: 2.2rem;
  }
  .stats-description {
    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;
  }
}

 * { 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; } }


.faq-accordion-alt {
  background: var(--background-color);
  padding: 60px var(--container-padding);
  color: var(--text-color);
}

.faq-accordion-alt .container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.accordion {
  border-top: 1px solid var(--secondary-color);
}

.accordion-item {
  border-bottom: 1px solid var(--secondary-color);
  overflow: hidden;
  transition: background 0.3s ease;
}

.accordion-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);
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.arrow-icon.rotated {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-body {
  padding: 15px 20px;
}

.accordion-body 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;
  }
  .accordion-header {
    font-size: 0.95rem;
  }
  .accordion-body p {
    font-size: 0.9rem;
  }
}


.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;
  }
}


 #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%; 
    }
  }


.games-block {
  padding: 80px 20px;
  background: #222;
  color: #fff;
  text-align: center;
}

.games-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.games-title {
  font-family: var(--font-secondary, sans-serif);
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.games-subtitle {
  font-family: var(--font-primary, sans-serif);
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: scale(1.03);
}

.game-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.game-title {
  font-family: var(--font-secondary, sans-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.game-description {
  font-family: var(--font-primary, sans-serif);
  font-size: 1rem;
  margin-bottom: 20px;
}

.game-button {
  display: inline-block;
  padding: 10px 20px;
  background: #e91e63;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.game-button:hover {
  background: #d81b60;
}


/* 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);
}





/* Стили формы используют переменные из темы */
.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;
    }
}

