 .site-header { background: var(--secondary-color); padding: 15px 0; box-shadow: 0 4px 8px var(--button-shadow); }
.header-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }

.header-logo img { height: 50px; width: auto; }

.header-nav .nav-list { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

.header-nav .nav-list .nav-item 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; }

.header-nav .nav-list .nav-item a:hover { color: var(--primary-color); transform: translateY(-2px); }

.header-actions { 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; cursor: pointer; }

.btn-login { background: transparent; color: var(--primary-color); border: 2px solid 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.05); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }

.mobile-toggle span { width: 30px; height: 3px; background: var(--text-color); transition: 0.3s ease; }

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }

.mobile-toggle.active span:nth-child(2) { opacity: 0; }

.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) { .header-nav { display: none; } .mobile-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: url('images/{{image}}'); /* Фоновое изображение */
    --hero-overlay: rgba(0, 0, 0, 0.5); /* Затемнение фона */
    --hero-text-color: /online.htmlffffff; /* Основной цвет текста */
    --hero-title-color: var(--primary-color); /* Цвет заголовка */
    --hero-subtitle-color: var(--secondary-color); /* Цвет подзаголовка */
    --hero-shadow: rgba(0, 0, 0, 0.3); /* Тень */
}

/* === Hero Section === */
.hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Затемнение поверх фонового изображения */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

/* Контейнер Hero */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

/* === Hero Layout === */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* === Hero Content === */
.hero-content {
    flex: 1 1 50%;
    max-width: 500px;
    text-align: left;
    color: var(--hero-text-color);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--hero-title-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-in-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--hero-subtitle-color);
    margin-bottom: 30px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-in-out;
}

/* === 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(--shadow-color);
}

.btn-primary:hover {
    background: var(--button-hover-bg);
    transform: scale(1.05);
}

/* Outline Button */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--button-bg);
    color: var(--button-bg);
}

.btn-secondary:hover {
    background: var(--button-bg);
    color: var(--button-text);
    transform: scale(1.05);
}

/* === Hero Image === */
.hero-image {
    flex: 1 1 50%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--hero-shadow);
    animation: fadeIn 1.5s ease-in-out;
}

/* === Анимации === */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* === Адаптация под мобильные устройства === */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 50px 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: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        font-size: 0.9rem;
    }
}


.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;
  }
}


  /* --- Переменные темы из вашего кода --- */


  /* Ограничение ширины контейнера карточек */
  .u-container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  /* Обёртка для карточек */
  .u-cards-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  /* --- Стили карточек --- */

  .u-cards-simple {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 21.5rem);
    grid-template-areas:
      "first"
      "fourth"
      "fifth"
      "second"
      "sixth"
      "third";
    gap: 2rem;
  }

  .u-card-simple {
    position: relative;
    display: grid;
    overflow: hidden;
    width: 100%;
    border-radius: 0.625rem;
  }

  /* Градиентные оверлеи (оставляем стандартные значения) */
  .u-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
  }

  .u-card-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 50.15%, rgba(0, 0, 0, 0.8) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  }

  /* Привязка карточек к областям сетки */
  .u-card-simple--first { grid-area: first; }
  .u-card-simple--second { grid-area: second; }
  .u-card-simple--third { grid-area: third; }
  .u-card-simple--fourth { grid-area: fourth; }
  .u-card-simple--fifth { grid-area: fifth; }
  .u-card-simple--sixth { grid-area: sixth; }

  /* Общие стили для изображения и контента карточки */
  .u-card-simple__background,
  .u-card-simple__content {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .u-card-simple__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .u-card-simple__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }

  /* --- Стили для контента карточки --- */
  .u-card-simple__content {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    max-height: 100%;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
  }

  /* Заголовок карточки: используем шрифт для заголовков и делаем текст белым для читаемости на затемненном фоне */
  .u-card-simple__title {
    margin: 0;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    color: /online.htmlFFFFFF;
    overflow-wrap: anywhere;
    position: relative;
  }

  /* Подчёркивание заголовка – используем акцентный цвет */
  .u-card-simple__title::after {
    content: '';
    position: absolute;
    bottom: calc((1.5rem - 1rem) * -1);
    left: -1rem;
    width: calc(100% + 1.5rem);
    height: 0.3125rem;
    background-color: var(--accent-color);
  }

  /* Описание карточки: основной шрифт и белый цвет */
  .u-card-simple__description {
    margin-top: 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    color: /online.htmlFFFFFF;
    overflow-wrap: anywhere;
  }

  /* --- Стили для кнопки --- */
  .u-card-simple__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem 2rem;
    background-color: var(--button-bg);
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    border: 1px solid var(--button-border);
    border-radius: 0.25rem;
    text-decoration: none;
    color: var(--button-text);
    cursor: pointer;
    box-shadow: 0 4px 8px var(--button-shadow);
    transition: background-color 300ms ease;
  }

  .u-card-simple__button:hover,
  .u-card-simple__button:focus {
    background-color: var(--button-hover-bg);
  }

  .u-card-simple__button:active {
    background-color: var(--button-hover-bg);
  }

  .u-card-simple__button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -5px;
  }

  /* --- Адаптивные стили --- */
  @media screen and (min-width: 428px) {
    .u-cards-simple {
      grid-template-rows: repeat(4, 11.063rem);
      grid-template-areas:
        "first first"
        "fourth fifth"
        "second third"
        "second sixth";
    }
    .u-card-simple__content { padding: 1.5rem 1rem 1rem; }
    .u-card-simple__title { font-size: 1.25rem; }
    .u-card-simple__title::after {
      bottom: calc((1.25rem - 0.5rem) * -1);
      left: -1.25rem;
      width: calc(100% + 1.25rem);
    }
    .u-card-simple__description { margin-top: 0.875rem; font-size: 0.875rem; }
    .u-card-simple__button {
      margin-top: 0.375rem;
      padding: 0.25em 1em;
      font-size: 1rem;
    }
  }

  @media screen and (min-width: 768px) {
    .u-cards-simple { grid-template-rows: repeat(4, 21.5rem); }
    .u-card-simple__content { padding: 1.5rem 1rem 1rem; }
    .u-card-simple__title { font-size: 1.5rem; }
    .u-card-simple__description {
      margin-top: 1.25rem;
      font-size: 1rem;
      line-height: 1.5;
    }
    .u-card-simple__button { margin-top: 0.9375rem; padding: 0.5rem 1rem; }
  }

  @media screen and (min-width: 1024px) {
    .u-cards-simple {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 19rem);
      grid-template-areas:
        "first first second third"
        "fourth fifth second sixth";
    }
    .u-card-simple__button {
      width: fit-content;
      margin-top: 0.9375rem;
      padding: 0.375rem 1.25rem;
    }
  }


/* Cookie Bar Variant 3 Styles */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary-color);
  color: var(--text-color);
  padding: 15px 20px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  display: none; /* Отображается через JS */
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-primary);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}

.cookie-bar.slide-up {
  transform: translateY(0);
}

.cookie-bar-message {
  font-size: 15px;
}

.cookie-bar-buttons {
  display: flex;
  gap: 10px;
}

.cookie-bar-buttons .btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 2px 4px var(--button-shadow);
}

.cookie-bar-buttons .btn:hover {
  background: var(--button-hover-bg);
}

.cookie-bar-buttons .btn.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}


.features-unique {
  background: var(--features-bg);
  padding: 80px 20px;
  text-align: center;
  color: var(--features-text-color);
}

.features-unique .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: 20px;
  line-height: 1.6;
}

.features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--features-card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--features-card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px var(--features-card-shadow);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--features-icon-bg);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg);
}

.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;
  margin-bottom: 10px;
  color: var(--features-title-color);
  text-transform: uppercase;
}

.feature-card-description {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--features-text-color);
}

@media (max-width: 768px) {
  .features-title {
    font-size: 2.2rem;
  }
  .features-subtitle {
    font-size: 1rem;
  }
}


.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-extended {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--secondary-color), var(--background-color));
  color: var(--text-color);
}

.about-extended .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-extended-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-extended-text {
  flex: 1;
}

.about-extended-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.about-extended-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-extended-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.about-extended-list li {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.about-extended-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 8px;
  text-transform: uppercase;
  font-family: var(--font-primary);
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.about-extended-btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-3px);
}

.about-extended-image {
  flex: 1;
  text-align: center;
}

.about-extended-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.about-extended-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-extended-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-extended-title {
    font-size: 2.5rem;
  }
  .about-extended-description {
    font-size: 1rem;
  }
  .about-extended-list {
    grid-template-columns: 1fr;
  }
}


.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;
  }
}


/* Основные стили секции FAQ */
.faq-section {
  background: var(--faq-bg);
  color: var(--faq-text-color);
  padding: 80px 20px;
  text-align: center;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--faq-title-color);
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: var(--faq-text-color);
  margin-bottom: 40px;
}

/* Сетка FAQ-элементов */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* FAQ карточка */
.faq-card {
  background: var(--faq-card-bg);
  border-radius: 10px;
  border: 2px solid var(--faq-border-color);
  box-shadow: 0 4px 8px var(--faq-border-color);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-card.open {
  background: var(--faq-hover-bg);
}

/* Заголовок карточки (вопрос) */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.faq-question {
  margin: 0;
}

/* Иконка (toggle) */
.faq-toggle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--faq-toggle-color);
  transition: transform 0.3s ease-in-out;
}

.faq-card.open .faq-toggle {
  transform: rotate(45deg);
}

/* Тело карточки (ответ) */
.faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 20px;
}

.faq-card.open .faq-body {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 15px;
}

/* Эффект при наведении */
.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Адаптивность */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 15px;
  }
  
  .faq-title {
    font-size: 2rem;
  }
  
  .faq-subtitle {
    font-size: 1rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

 .contact-panel { background: var(--secondary-color); padding: 60px var(--container-padding); text-align: center; }
.contact-panel-header h2 { font-family: var(--font-secondary); color: var(--primary-color); font-size: 2.3rem; margin-bottom: 30px; }

.contact-panel-form { max-width: 600px; margin: 0 auto; background: var(--background-color); border: 2px solid var(--accent-color); border-radius: 10px; padding: 30px; }

.contact-panel-form .form-group { margin-bottom: 20px; }

.contact-panel-form input, .contact-panel-form textarea { width: 100%; background: transparent; border: 1px solid var(--accent-color); color: var(--text-color); font-family: var(--font-primary); font-size: 1rem; padding: 12px; border-radius: 6px; outline: none; }

.contact-panel-form input::placeholder, .contact-panel-form textarea::placeholder { color: var(--text-color); opacity: 0.5; }

.contact-panel-submit { background: var(--button-bg); color: var(--text-color); font-family: var(--font-primary); padding: 14px 28px; border: 1px solid var(--button-border); border-radius: 6px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background 0.3s, transform 0.2s; }

.contact-panel-submit:hover { background: var(--button-hover-bg); transform: translateY(-2px); }

.success-message { margin-top: 20px; font-size: 1.1rem; color: var(--accent-color); display: none; }

@media (max-width: 768px) { .contact-panel-header h2 { font-size: 1.8rem; }

.contact-panel-form { padding: 20px; } }

