


/* Стили для хэдэра */
  .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;
}

/* Footer Buttons */
.footer-buttons {
  margin-bottom: 20px;
}

.footer-btn {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 16px;
  background-color: #333;  /* Dark button background */
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.footer-btn:hover {
  background-color: #555;
}

.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;
    }
}


.stats-section-6 {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  color: var(--text-color);
  overflow: hidden;
}

.stats-section-6 .stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.stats-section-6 .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.stats-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.stats-image img:hover {
  transform: scale(1.05);
}

.stats-info {
  flex: 1 1 55%;
}

.stats-heading {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.stats-text {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stats-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.stats-value {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin: 0;
  color: var(--accent-color);
}

.stats-caption {
  font-family: var(--font-primary);
  font-size: 1rem;
  margin-top: 10px;
  text-transform: uppercase;
  color: var(--text-color);
}

@media (max-width: 768px) {
  .stats-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .stats-heading {
    font-size: 2.2rem;
  }
  .stats-text {
    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;
    }
  }


/* === Глобальные переменные для секции игр === */
: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;
    }
}


.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;
  }
}



/* Основной контейнер секции параллакса */
.u-parallax-simple {
  position: relative;
  overflow: hidden;
  height: 25rem;
  background-color: var(--background-color);
}

/* Фоновый слой с изображением */
.u-parallax-simple__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Оверлей для затемнения фонового изображения */
.u-parallax-simple__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Используем затемнение, аналогичное hero-overlay; при необходимости замените на переменную, например, var(--hero-overlay) */
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Контейнер с контентом (заголовок, описание) */
.u-parallax-simple__content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

/* Заголовок и описание — текст оформляется с использованием глобальных переменных темы */
.u-parallax-simple__caption,
.u-parallax-simple__desc {
  padding: 1rem 0;
  text-align: center;
  color: var(--primary-color);
  overflow-wrap: anywhere;
}

.u-parallax-simple__caption {
  margin: 0;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  font-size: clamp(1.75rem, 2.5vw + 1.25rem, 2.25rem);
}

.u-parallax-simple__desc {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Дополнительная адаптивность для заголовков */
@media screen and (max-width: 48rem) {
  .u-parallax-simple__caption {
    font-size: 1.75rem;
  }
}


/* === Глобальные переменные для Features === */
:root {
    --features-bg: var(--background-color); /* Фон секции */
    --features-text-color: var(--text-color); /* Цвет текста */
    --features-title-color: var(--primary-color); /* Цвет заголовка */
    --features-subtitle-color: var(--secondary-color); /* Цвет подзаголовка */
    --features-card-bg: var(--card-bg); /* Фон карточек */
    --features-card-shadow: var(--shadow-color); /* Тень карточек */
    --features-icon-bg: var(--primary-color); /* Фон иконки */
}

/* === Общие стили для секции Features === */
.features {
    background: var(--features-bg);
    color: var(--features-text-color);
    padding: 80px 20px;
    text-align: center;
}

/* Контейнер */
.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Заголовки */
.features .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--features-title-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.features .section-subtitle {
    font-size: 1.2rem;
    color: var(--features-subtitle-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* === Grid Сетка === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

/* === Карточки (Feature Cards) === */
.feature-card {
    background: var(--features-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--features-card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px var(--features-card-shadow);
}

/* === Иконки в карточках === */
.feature-card .icon {
    width: 90px;
    height: 90px;
    background: var(--features-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden; /* Обрезаем края */
    padding: 0; /* Убираем отступы */
}

.feature-card:hover .icon {
    transform: scale(1.1);
}

.feature-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заполняет весь круг */
    border-radius: 50%; /* Делаем изображение круглым */
}

/* === Текст в карточке === */
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* === Адаптивность === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card .icon {
        width: 70px;
        height: 70px;
    }

    .feature-card .icon img {
        width: 50px;
        height: 50px;
    }

    .features .section-title {
        font-size: 2rem;
    }

    .features .section-subtitle {
        font-size: 1rem;
    }
}


/* Cookie Consent Modal Variant 2 Styles */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);  /* затемнение фона */
  display: none;  /* показывается через JS */
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.cookie-modal {
  background: var(--background-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  font-family: var(--font-primary);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-color);
  cursor: pointer;
}

.cookie-modal h2 {
  margin-top: 0;
  font-family: var(--font-secondary);
  color: var(--primary-color);
}

.cookie-modal p {
  font-size: 16px;
  margin: 20px 0;
}

.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cookie-modal-actions .btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  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-modal-actions .btn:hover {
  background: var(--button-hover-bg);
}

.cookie-modal-actions .btn.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}


.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;
  }
}

 .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; } }

