/* Защита от горизонтального скролла */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Hero-блок, как на главной */
.hero-section {
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -5%;
  right: -5%;
  width: 40%;
  height: 110%;
  background: radial-gradient(circle, rgba(222, 166, 92, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 40%;
  height: 110%;
  background: radial-gradient(circle, rgba(32, 88, 61, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  color: var(--text);
}

.hero-section .cta-button {
  font-size: 1.3rem;
  padding: 20px 50px;
  display: inline-block;
}

/* Адаптация к теме сайта */
.bg-light {
  background: linear-gradient(135deg, var(--dark-lighter), var(--dark-card)) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.bg-dark {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: #ffffff !important;
}

.card {
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bonus-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--gradient-accent);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.bonus-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.table {
  color: var(--text-primary);
  border-color: var(--border-color);
}

.table-dark {
  --bs-table-bg: var(--dark-card);
  --bs-table-striped-bg: var(--dark-lighter);
  --bs-table-border-color: var(--border-color);
}

.table thead {
  background: var(--dark-card);
  border-bottom: 2px solid var(--border-color);
}

.table tbody tr {
  border-bottom: 1px solid var(--border-color);
}

.highlight-box {
  background: var(--dark-lighter);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.terms-list {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.terms-list li {
  margin-bottom: 0.5rem;
}

.vip-tier {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.icon-check {
  color: var(--success);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Мобилка: меньше отступ от шапки до h1 */
@media (max-width: 767px) {
  .subpage-head {
    margin-top: 10px !important;
    padding-top: 1.5rem !important;
  }
}
