/* Адаптация к темной теме сайта */
.bg-light {
  background-color: var(--dark-lighter) !important;
  color: var(--text-primary) !important;
}

.terms-section {
  color: var(--text-primary);
  line-height: 1.8;
}

.terms-section h1 {
  color: var(--primary-coral);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-teal);
  padding-bottom: 1rem;
}

.terms-section h2 {
  color: var(--primary-teal);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.terms-section h3 {
  color: var(--accent-lime);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.terms-section ul li,
.terms-section ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

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

.last-updated {
  background: var(--dark-card);
  border-left: 4px solid var(--primary-coral);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.important-notice {
  background: rgba(255, 87, 51, 0.1);
  border: 1px solid var(--primary-coral);
  padding: 1.25rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.important-notice strong {
  color: var(--primary-coral);
}

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