 .site-header-alt { background: var(--secondary-color); padding: 15px 0; box-shadow: 0 4px 8px var(--button-shadow); }
.header-wrapper-alt { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }

.logo-alt img { height: 50px; width: auto; }

.navigation-alt .nav-list-alt { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }

.navigation-alt .nav-list-alt .nav-item-alt 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; }

.navigation-alt .nav-list-alt .nav-item-alt a:hover { color: var(--primary-color); transform: translateY(-2px); }

.menu-toggle-alt { display: none; flex-direction: column; gap: 5px; cursor: pointer; }

.menu-toggle-alt span { width: 30px; height: 3px; background: var(--text-color); transition: 0.3s ease; }

.menu-toggle-alt.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }

.menu-toggle-alt.active span:nth-child(2) { opacity: 0; }

.menu-toggle-alt.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) { .navigation-alt { display: none; } .menu-toggle-alt { 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 === */
: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;
    }
}


  /* --- Переменные темы из вашего кода --- */


  /* Ограничение ширины контейнера карточек */
  .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;
    }
  }


.features-modern {
  background: var(--features-bg);
  padding: 80px 20px;
  text-align: center;
  color: var(--features-text-color);
}

.features-modern .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-header {
  margin-bottom: 40px;
}

.features-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  color: var(--features-title-color);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.features-subtitle {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--features-subtitle-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.features-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-card {
  background: var(--features-card-bg);
  border: 2px solid transparent;
  padding: 25px;
  border-radius: 12px;
  width: calc(25% - 30px);
  min-width: 250px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--features-title-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--features-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.feature-card-title {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  color: var(--features-title-color);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.feature-card-description {
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--features-text-color);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .feature-card {
    width: calc(50% - 30px);
  }
}

@media (max-width: 480px) {
  .feature-card {
    width: 100%;
  }
}


.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;
  }
}


/* Cookie Consent Modal Styles */
.cookie-consent-modal {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--secondary-color);
  color: var(--text-color);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  padding: 20px;
  z-index: 1100;
  max-width: 400px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  display: none; /* Отображается через JS */
}

.cookie-consent-content {
  position: relative;
  font-family: var(--font-primary);
}

.cookie-consent-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}

.cookie-consent-modal h3 {
  margin-top: 0;
  font-family: var(--font-secondary);
  color: var(--primary-color);
}

.cookie-consent-modal p {
  font-size: 16px;
  margin: 10px 0;
}

.cookie-consent-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent-actions .btn {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: 0 4px 8px var(--button-shadow);
}

.cookie-consent-actions .btn:hover {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
}

.cookie-consent-actions .btn.secondary {
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
}


.stats-showcase-variant {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  overflow: hidden;
}

.stats-showcase-variant .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.stats-showcase-variant .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.stats-details {
  flex: 1;
  color: var(--text-color);
}

.stats-title {
  font-family: var(--font-secondary);
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-transform: uppercase;
}

.stats-description {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stats-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.stats-card .number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
}

.stats-card .label {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-color);
  margin-top: 10px;
}

.stats-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stats-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.stats-visual img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .stats-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .stats-details {
    margin-bottom: 30px;
  }
}


.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;
  }
}


.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;
  }
}


.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;
  }
}

 .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; } }

