.bg-light {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section h2 {
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.terms-section h3 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1.3rem;
}

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

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

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

.terms-section li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.last-updated {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--primary);
}

.important-notice {
  background: rgba(var(--accent-rgb), 0.1);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
}

.important-notice p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.subsection {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem) !important;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
}

section.container h1:first-of-type {
  margin-top: 6rem !important;
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  section.container h1:first-of-type {
    margin-top: 5rem !important;
  }
}