/* Top Bar */
.top-bar {
    background-color: var(--kp-blue);
    color: #ffffff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.badge-action {
    background: var(--kp-amber);
    color: #0f172a;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Header */
header {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0f2fe;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}
nav {
    display: flex;
    gap: 28px;
}
nav a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}
nav a:hover { color: var(--kp-blue); }
.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-info-text {
    text-align: right;
    font-size: 12px;
}
.header-info-text .sub { color: #94a3b8; font-weight: 500; }
.header-info-text .main { color: var(--kp-darkblue); font-weight: 700; }
.btn-header {
    background: var(--kp-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-header:hover {
    background: var(--kp-darkblue);
    transform: scale(1.03);
}
.main a{    
    font-size:12px;
    color:#000;
    text-decoration: none;
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.85) 100%);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 880px;
    margin: 0 auto;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero h1 span {
    color: #38bdf8;
}
.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: #e2e8f0;
    font-weight: 500;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    background: var(--kp-blue);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(0, 131, 202, 0.35);
    transition: all 0.2s;
}
.btn-primary:hover {
    background: var(--kp-darkblue);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.25); }

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 20px;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.section-pill {
    display: inline-block;
    background: #e0f2fe;
    color: var(--kp-blue);
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--kp-muted);
    font-size: 15px;
}

/* 6 Clickable Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.attraction-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--kp-border);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px -5px rgba(0, 131, 202, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.attraction-card:hover {
    transform: translateY(-6px);
    border-color: var(--kp-blue);
    box-shadow: 0 20px 35px -5px rgba(0, 131, 202, 0.16);
}
.card-img-wrap {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.attraction-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.tag-blue { background: var(--kp-blue); }
.tag-amber { background: var(--kp-amber); color: #0f172a; }
.tag-green { background: #059669; }
.tag-dark { background: #0f172a; }

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-arrow {
    color: var(--kp-blue);
    font-size: 16px;
    transition: transform 0.2s;
}
.attraction-card:hover .card-arrow {
    transform: translateX(4px);
}
.card-body p {
    font-size: 14px;
    color: var(--kp-muted);
    line-height: 1.55;
}

/* Detailed Text Sections */
.detailed-section {
    padding: 60px 0;
    border-top: 1px solid var(--kp-border);
}
.detailed-section:nth-child(even) {
    background-color: #f1f8fe;
}
.detailed-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.detailed-container .section-pill {
    margin-bottom: 12px;
}
.detailed-container h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
}
.detailed-container p {
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Kurlanchiki Block */
.kurlan-section {
    background: #eef8ff;
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
    padding: 70px 20px;
}
.kurlan-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}
.kurlan-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 12px 0;
}
.kurlan-info h2 span { color: var(--kp-blue); }
.kurlan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.kurlan-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 12px rgba(0, 131, 202, 0.05);
}
.kurlan-box .icon { font-size: 28px; margin-bottom: 8px; }
.kurlan-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.kurlan-box p { font-size: 12px; color: var(--kp-muted); }

/* Discounts Banner */
.discounts-banner {
    background: linear-gradient(135deg, var(--kp-blue) 0%, var(--kp-darkblue) 100%);
    border-radius: 28px;
    padding: 50px 40px;
    color: #ffffff;
    max-width: 1240px;
    margin: 40px auto 80px auto;
}
.discounts-banner h2 {
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 800;
    margin-bottom: 12px;
}
.discounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 28px;
}
.disc-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.disc-item h3 {
    color: var(--kp-amber);
    font-size:20px;
    font-weight:1000;
    margin-bottom: 4px;
}
.disc-item p { font-size: 13px; color: #e2e8f0; }
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 20px 30px 20px;
    border-top: 1px solid #1e293b;
}
.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    max-height: 48px;
    margin-bottom: 14px;
    /* filter: brightness(1.8); */
}
.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}
.footer-col p { font-size: 13px; margin-bottom: 6px; }
.footer-bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}
.footer-col a{
    color:#fff;
    font-weight: bold;
}
.footer-col-p{
    width:65%;
    margin-right:300px;
}
.footer-logotype{
    width: 350px;
}
.card-tag{
    display:inline-block;
    margin-top:-20px;
    margin-left:-15px;
}
.footer__menu {
  padding: 24px 0;
  text-align: center;
}

.footer__line {
  height: 1px;
  background-color: #e0e0e0;
  margin: 0 auto 16px auto;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;  
  margin-bottom: 20px;
}
.footer__list li {
  margin: 0;
}
.footer__list-link {
  color: #fefefe;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
  font-size:20px;
  font-weight: bold;
}
.footer__list-link:hover {
  color: #005fcc;
}
.footer__list-link--external::after {
  content: "↗";
  font-size: 0.8em;
}
a{
    text-decoration:none;
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    nav { display: none; }
    .header-info-text { display: none; }
    .kurlan-grid { grid-template-columns: 1fr; }
    .discounts-banner { padding: 30px 20px; margin: 20px 16px 60px 16px; }
}
a{
    text-decoration:none;
}
/* Floating Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kp-blue);
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 16px rgba(0, 131, 202, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    z-index: 999;
    cursor: pointer;
    transition: all 0.25s ease;
}
.back-to-top:hover {
    background: var(--kp-darkblue);
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 91, 142, 0.5);
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
}
.card-tag{
    display:none;
}
/* Опционально: если добавишь картинку */
.modal-image {
  max-width: 100%;
  height: auto;
  margin-top: 16px;
}

#modal-kurlan .modal-window {
  border-top: 4px solid #f5a623; /* акцентный цвет под «бонусную» тематику */
}

#modal-kurlan h3 {
  color: #e8941a;
}
.card-tag{
    display:none;
}
/* Базовые настройки для секции */
.rozigrish {
  padding: 60px 20px;
  background-color: #f5f5f5; /* светло‑серый фон как на скриншоте */
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

.rozigrish__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Основной заголовок */
.rozigrish__title {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
  color: #222;
}

/* Заголовок для мобильных (скрыт на десктопе) */
.rozigrish__title-mb {
  display: none;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 700;
  color: #222;
}

/* Подзаголовок про возврат денег */
.rozigrish__tilte-small {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 600;
  color: #444;
  text-transform: none;
}

.rozigrish__tilte-small span {
  color: #00c; /* акцентный синий для ключевых слов */
}

/* Основной текст про билеты и розыгрыш */
.nashPark {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.nashPark b {
  color: #222;
  font-weight: 700;
}

.nashPark .neon {
  color: #0f0; /* эффект «неон» как в HTML */
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

/* Дата акции */
.rozigrish__title-small {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 25px;
  font-weight: 700;
  color: #00c; /* бирюзово‑голубой как на скриншоте */
  text-transform: uppercase;
}

/* Условия участия (фото/видео/репост) */
.repost,
.repost-mb {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #444;
}

.repost b,
.repost-mb b {
  color: #222;
  font-weight: 700;
}

.repost-mb {
  display: none; /* скрыт на десктопе */
}

/* Список призов */
.prizes {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 20px;
}

.prizes span {
  color: #222;
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .rozigrish {
    padding: 40px 15px;
  }
  a{
    text-decoration:none;
}
  .rozigrish__title {
    display: none; /* скрываем десктоп‑заголовок */
  }

  .rozigrish__title-mb {
    display: block; /* показываем мобильный заголовок */
  }

  .rozigrish__title-small {
    font-size: 20px;
  }

  .repost {
    display: none; /* скрываем десктоп‑версию условий */
  }

  .repost-mb {
    display: block; /* показываем мобильную версию условий */
  }
}
/* Общие стили */







/* Кнопка открытия */
.open-btn {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.open-btn:hover {
    background-color: #357abd;
}

/* Модальное окно (фон) */
.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

/* Контент модального окна */
.modal-content {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 90vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Шапка модального окна */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 28px;
}

.close-btn {
    font-size: 30px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Сетка карточек */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Карточки */
.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-header .icon {
    font-size: 20px;
    margin-right: 10px;
}

.card-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

/* Список товаров */
.list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-items li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.list-items li:last-child {
    border-bottom: none;
}

.price {
    background-color: #eef2f7;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

/* Двойная карточка (Развлечения + Допы) */
.double-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 768px) {
    .double-card {
        flex-direction: row;
    }
}
a{
    text-decoration:none;
}
.sub-card {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Карточка бонусов */
.bonuses-card {
    background-color: #3498db;
    color: white;
    border-radius: 12px;
    padding: 20px;
    grid-column: 1 / -1; /* На всю ширину на мобильных */
}

@media (min-width: 768px) {
    .bonuses-card {
        grid-column: auto;
    }
}
a{
    text-decoration:none;
}
.bonuses-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.badge {
    background-color: #f1c40f;
    color: #3498db;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
    text-transform: uppercase;
}

.bonuses-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
}

.bonuses-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 8px;
}

.bonus-val {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
}

.bonus-desc {
    color: #ecf0f1;
    font-size: 14px;
}

/* Подвал */
.footer-note {
    text-align: center;
    color: #999;
    font-size: 12px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 22px;
    }
}

.modal-overlay {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000; /* Поверх всех элементов */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    opacity: 0;
    transition: opacity 0.3s ease;
}
a{
    text-decoration:none;
}
.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


a{
    text-decoration:none;
}
/* Настройка сетки */
.grid-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка по умолчанию (для телефонов) */
    gap: 20px;
    padding: 0 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Карточки */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-height: 0; /* Критически важно для предотвращения обрезания контента */
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.card-header .icon {
    font-size: 24px;
    margin-right: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

/* Список товаров */
.list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Растягивает список, чтобы все карточки были одной высоты */
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.list-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #555;
    width: 100%;
}

.list-items li:last-child {
    border-bottom: none;
}

.price {
    background: #e0f2fe;
    color: #1e40af;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

/* Блок бонусов (синяя панель) */
.bonuses-card {
    background: #2b6cb0;
    color: #fff;
    grid-column: 1 / -1; /* На мобильных занимает всю ширину */
    text-align: center;
}

.bonuses-card .card-header h3,
.bonuses-card h4 {
    color: #fff;
}

.bonuses-card h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
}

.bonuses-card .list-items li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: #e2e8f0;
    justify-content: center;
}

.bonuses-card .price {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Адаптив для планшетов */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    a{
    text-decoration:none;
}
    .bonuses-card {
        grid-row: 1 / span 3; /* Тянется по высоте */
        text-align: left;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .bonuses-card h4 {
        text-align: left;
    }
}

/* Адаптив для ПК (как на макете) */
@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
.modal-header {
    display: flex;
    flex-direction: column;          /* Элементы друг под другом */
    align-items: flex-start;         /* Выравнивание по левому краю */
    padding: 25px;
    border-bottom: 1px solid #eee;
    position: relative;              /* Чтобы крестик позиционировать относительно хедера */
}
a{
    text-decoration:none;
}
.price-label {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e0f2fe;
    color: #1e40af;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;              /* Отступ только снизу, чтобы отделить от заголовка */
    align-self: flex-start;          /* На случай, если родитель будет иначе выравнивать */
}

.modal-header h2 {
    margin: 0;
    font-size: 28px;
    color: #1f2937;
    font-weight: 700;
    align-self: flex-start;          /* Гарантируем, что заголовок слева */
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;                     /* Крестик в правом верхнем углу */
    font-size: 32px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #333;
}
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;          /* Белый фон — виден на тёмном */
    color: #000000;                      /* Чёрная стрелка — видна на белом */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Тень отделяет от фона */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 9999;
    cursor: pointer;
}

#scrollTopBtn svg {
    width:100px;
    height:100px;
    display:block;
}

/* Показываем кнопку, когда прокрутили вниз */
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Инверсия при наведении — одинаково заметно на любом фоне */
#scrollTopBtn:hover {
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    #scrollTopBtn svg {
        width: 24px;
        height: 24px;
    }
    a{
    text-decoration:none;
}
}
