/* ========================================
   Legal Pages (Terms & Privacy)
   ======================================== */

.legal-page {
  background: #0a0a0a;
  color: #e0e0e0;
  min-height: 100vh;
}

.legal-content {
  padding-top: 100px;
  padding-bottom: 80px;
}

/* Header */
.legal-header {
  text-align: center;
  margin-bottom: 48px;
}

.legal-tag {
  display: inline-block;
  background: rgba(200, 230, 74, 0.1);
  color: var(--primary, #c8e64a);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.legal-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.legal-meta {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* Body */
.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

/* Notice & Warning Boxes */
.legal-notice,
.legal-warning {
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.legal-notice {
  background: rgba(200, 230, 74, 0.06);
  border: 1px solid rgba(200, 230, 74, 0.2);
}

.legal-warning {
  background: rgba(255, 68, 68, 0.06);
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.legal-notice h3,
.legal-warning h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-notice p,
.legal-warning p {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-warning ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-warning ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #ccc;
  line-height: 1.6;
}

.legal-warning ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
}

/* Cards Grid */
.legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.legal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
}

.legal-card h4 {
  color: var(--primary, #c8e64a);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-card p {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.legal-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-card ul li {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 3px 0;
}

/* Sections */
.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(200, 230, 74, 0.12);
  color: var(--primary, #c8e64a);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.legal-section h3 {
  color: #ddd;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.legal-section p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.legal-section ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #bbb;
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary, #c8e64a);
  opacity: 0.6;
}

.legal-section a {
  color: var(--primary, #c8e64a);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-section a:hover {
  opacity: 0.8;
}

/* Contact Box */
.legal-contact {
  background: rgba(200, 230, 74, 0.04);
  border: 1px solid rgba(200, 230, 74, 0.15);
  border-radius: 16px;
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}

.legal-contact h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-contact p {
  color: #aaa;
  margin-bottom: 16px;
}

.legal-contact ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.legal-contact ul li {
  color: #ccc;
  padding: 4px 0;
}

.legal-links {
  margin-top: 16px;
}

.legal-links a {
  color: var(--primary, #c8e64a);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.legal-links a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .legal-notice,
  .legal-warning {
    padding: 20px 24px;
  }

  .legal-cards {
    grid-template-columns: 1fr;
  }

  .legal-contact {
    padding: 24px 20px;
  }

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