
  /* === Контейнер всей страницы === */
.bonus_box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: auto;
    position: relative;
    max-width: 1200px;
    margin-bottom: 30px;
  }

  /* === Первая «карточка» NEO.BET === */
  .card {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px;
    position: relative;
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #0000001a;
  }

  /* Содержимое карточки (логотип + основные блоки) */
  .card-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    flex: 1;
    border-right: 1px solid rgb(255 255 255 / 20%);
  }

  /* Логотип слева (изображение) */
  .card-logo {
    width: 220px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
  }

  /* Информация о карточке (заголовок, подзаголовок, список фишек) */
  .card-info {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
  }

  /* Заголовок + «плашка» с бонусом */
  .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 100%;
  }

  /* Название букмекера */
  .card-title {
    font-size: 30px;
    font-weight: bold;
    margin-top: -1px; /* иногда используется для тонкой подгонки */
  }

  /* «Плашка» с надписью про бонус */
  .bonus-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 20px;
    background: #00803F;
    border-radius: 12px;
  }

  /* Текст внутри плашки */
  .bonus-text {
    color: #ffffff;
    font-size: 16px;
    white-space: nowrap;
    margin-top: -1px;
  }

  /* Список особенностей (иконка + текст) */
  .features-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }
  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  /* Иконка «галочки» или другая */
  .feature-icon {
    width: 20px;
    height: 20px;
  }

  /* Текст фичи */
  .feature-text {
    font-size: 16px;
    margin-top: -1px;
    opacity: 0.7;
  }

  /* Вертикальный разделитель */
  .vertical-line {
    width: 1px;
    align-self: stretch;
  }

  /* Блок с кнопками, инфо о возрасте и т.д. */
  .card-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    width: 320px;
  }

  /* Возрастные ограничения */
  .legal-info {
    font-size: 16px;
    margin-top: -1px;
    text-align: center;
  }
  
  a.cta_button {
    width: 100%;
    text-decoration: none;
  }

  /* Кнопка призыва к действию (оранжевая) */
  .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 100px;
    width: 100%;
        background: #007FFF;
    border-radius: 12px;
  }
  .cta-button-text {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    margin-top: -1px;
  }

  /* Блок, где находится «weniger Informationen» */
  .toggle-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
  .toggle-info-text {
    font-size: 16px;
    text-align: center;
    margin-top: -1px;
    white-space: nowrap;
    cursor: pointer;
  }
  .toggle-info-icon {
    width: 20px;
  }

  /* === Вторая «карточка» BETANO (с расширением) === */
.card-second {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    width: 100%;
    border-radius: 12px;
    background: #202E37;
    border: 1px solid var(--border-color);
    color: #fff;
}

  /* Верхняя часть второй карточки (логотип, инфо) */
  .card-second-header {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
    position: relative;
  }

  /* Логотип во второй карточке */
  .card-second-header .card-logo {
    width: 220px;
    height: 130px;
  }

  /* Дополнительная информация во второй карточке */
  .card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Разделитель во второй карточке */
  .vertical-line.second-line {
    height: 130px;
  }

  .divider-line {
    width: 100%;
    height: 2px;
  }

  /* Расширенная часть (Casino Features и т.д.) */
  .extended-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 20px;
    position: relative;
  }

  .extended-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
  }

  /* Заголовок внутри расширенного блока */
  .extended-block-title {
    font-size: 22px;
    font-weight: bold;
    margin-top: -1px;
  }

  .extended-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 40px;
    width: 100%;
  }

  .extended-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
  }

  /* Футер расширенной части (Zahlungsmethoden и т.д.) */
  .extended-footer {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .extended-footer-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
  }
  .extended-footer-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 20px;
    width: 100%;
  }

  .extended-footer-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .license-logo {
    width: 122px;
    height: 40px;
    object-fit: cover;
  }

   /* Медиазапрос для экранов шириной до 1200px */
  @media (max-width: 1200px) {
    .page-container {
      max-width: 960px;
      padding: 0;
    }

    .card-second-header {
      gap: 30px;
    }

    .card-content {
      padding-right: 30px;
    }

    .cta-button {
      padding: 25px 0;
    }
  }

  /* Медиазапрос для экранов шириной до 960px (планшеты и мобильные устройства) */
  @media (max-width: 960px) {
    .page-container {
      align-items: flex-start;
      max-width: 640px;
      display: flex;
      flex-wrap: nowrap;
      flex-direction: column;
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
      width: 100%;
      flex-direction: row;
    }

    .extended-block {
      padding-bottom: 0;
    }

    .card-second {
      max-width: 100%;
    }

    /* Для первой карточки — располагаем контент в столбик */
    .card {
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }

    /* Убираем правую границу, если элементы идут в столбик */
    .card-content {
      flex-direction: column;
      border-right: none;
      gap: 20px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      padding-right: 0;
      padding-bottom: 20px;
      width: 100%;
    }

    /* Логотип растягиваем на всю ширину, высота авто */
    .card-logo {
      width: 100%;
      height: auto;
      max-width: 300px; /* Максимальная ширина */
    }

    .card-actions {
      width: 100%;
    }

    /* Кнопке уменьшаем отступы */
    .cta-button {
      padding: 15px 50px;
    }

    /* Для второй карточки — аналогичные правки */
    .card-second-header {
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }

    .card-second-header .card-logo {
      width: 100%;
      height: auto;
      max-width: 100%;
    }

    .vertical-line.second-line {
      display: none; /* Убираем вертикальную линию на мобильных */
    }

    .extended-footer {
      flex-direction: column;
      gap: 20px;
      align-items: flex-start;
    }
  }

  /* Медиазапрос для экранов шириной до 640px (мобильные устройства) */
  @media (max-width: 640px) {
    .page-container {
      align-items: flex-start;
      max-width: 640px;
      display: flex;
      flex-wrap: nowrap;
      flex-direction: column;
      margin: 0 30px;
    }

    .card-header {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      position: relative;
      width: 100%;
      flex-direction: column-reverse;
    }

    .card-title {
      font-size: 24px;
    }

    .bonus-pill {
      padding: 4px 10px;
    }

    .bonus-text {
      font-size: 14px;
    }

    .feature-text {
      font-size: 14px;
    }

    .cta-button {
      padding: 15px 30px;
    }

    .cta-button-text {
      font-size: 14px;
    }
  }

    .toggle-info {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .toggle-info-icon {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
  }

  .toggle-info-icon.rotated {
    transform: rotate(45deg);
  }

  .extended-section {
    overflow: hidden;
    max-height: 0;
    padding-bottom: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.5s ease, padding-bottom 0.5s ease, opacity 0.5s ease;
    border-top: 1px solid rgb(255 255 255 / 20%);
    margin-top: 20px;
  }

  .extended-section.expanded {
    padding-bottom: 20px;
    opacity: 100 !important;
    pointer-events: auto;
    border-top: 1px solid #ffffff0c;
  }

  .card-second-header.add-padding {
    padding-bottom: 20px;
    transition: padding 0.3s ease;
  }