/* Legal Pages Styles */
.legal-page {
  min-height: 100vh;
  background: #f8f9fa;
  padding: 8rem 0 4rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1rem;
}

.last-updated {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.legal-text {
  text-align: justify;
}

.legal-text h2 {
  color: #2c3e50;
  font-size: 1.6rem;
  margin: 3rem 0 1.5rem 0;
  padding: 1.5rem 0 1rem 0;
  background: linear-gradient(90deg, #3498db, transparent);
  padding-left: 1rem;
  border-radius: 5px;
  text-align: left;
  position: relative;
}

.legal-text h2::before {
  content: "▶";
  color: #3498db;
  margin-right: 0.5rem;
}

.legal-text p {
  color: #555;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
  font-size: 1rem;
}

.legal-text ul {
  margin: 1.5rem 0 2rem 2rem;
  text-align: justify;
  list-style-type: disc;
}

.legal-text li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
  text-align: justify;
  color: #555;
}

/* Footer Styles */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    margin: 0 1rem;
    padding: 2rem;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-text h2 {
    font-size: 1.3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
.legal-text ul {
  margin: 1.5rem 0 2rem 2rem;
  text-align: justify;
  list-style: none;
  padding-left: 0;
}

.legal-text li {
  margin-bottom: 1rem;
  line-height: 1.7;
  text-align: justify;
  color: #555;
  padding-left: 2rem;
  position: relative;
}

.legal-text li::before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}
/* Анимации */
.legal-content {
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-text h2 {
  animation: fadeInLeft 0.6s ease-out;
  animation-fill-mode: both;
}

.legal-text h2:nth-child(2) {
  animation-delay: 0.1s;
}
.legal-text h2:nth-child(4) {
  animation-delay: 0.2s;
}
.legal-text h2:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
