/* Legal pages specific styles */

.legal-section {
  padding: 100px 0 60px;
  min-height: 100vh;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.legal-title {
  text-align: center;
  margin-bottom: 40px;
}

.legal-content {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
              0 0 15px rgba(76, 201, 255, 0.2),
              0 0 30px rgba(201, 97, 255, 0.1);
  position: relative;
}

.legal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-pink), var(--primary-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  text-align: left;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--primary-blue);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.legal-content a:hover {
  color: var(--primary-pink);
  text-shadow: 0 0 8px var(--neon-pink);
}

.back-to-home {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-family: 'Orbitron', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .legal-section {
    padding: 100px 0 40px;
  }
  
  .legal-content {
    padding: 25px;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
}