/* Legal Pages CSS */

/* Legal Content Wrapper */
.legal-content {
  display: block !important;
  grid-template-columns: 1fr !important;
}

.legal-card {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(to bottom right, rgba(25, 25, 25, 0.9), rgba(35, 35, 35, 0.6));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Introduction Text */
.legal-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Legal Sections */
.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-section p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-section a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Legal Lists */
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.legal-list li strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Alphabetical List */
.legal-list.alpha {
  counter-reset: alpha-counter;
}

.legal-list.alpha li {
  counter-increment: alpha-counter;
}

.legal-list.alpha li::before {
  content: counter(alpha-counter, lower-alpha) ")";
  font-weight: 500;
}

/* Info Box */
.info-box {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: rgba(40, 40, 40, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1rem 0;
}

.info-box p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  color: rgba(255, 255, 255, 0.95);
}

/* Cookie Table */
.cookie-table {
  margin: 1rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-row:last-child {
  border-bottom: none;
}

.cookie-type {
  padding: 1rem;
  background: rgba(40, 40, 40, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.cookie-desc {
  padding: 1rem;
  background: rgba(30, 30, 30, 0.5);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Legal Notes */
.legal-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 1rem;
}

.legal-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links */
.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-card {
    padding: 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.125rem;
  }

  .cookie-row {
    grid-template-columns: 1fr;
  }

  .cookie-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}
