/* Адаптация к темной теме сайта */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.terms-content h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.terms-content h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.terms-content h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.terms-content h4 {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.terms-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.terms-content ul,
.terms-content ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.terms-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.update-notice {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.update-notice p {
  margin: 0;
  color: #fff;
  font-weight: 500;
}

.section-highlight {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  border-radius: 4px;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .terms-content h1 {
    font-size: 2rem;
  }
  
  .terms-content h2 {
    font-size: 1.5rem;
  }
  
  .terms-content h3 {
    font-size: 1.2rem;
  }
}