/* Legal Pages Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #1e1e2e 0%, #2b2b3b 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding: 20px;
  color: #d0d0d0;
}

.legal-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 50px;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.legal-page h1 {
  color: #fff;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: 700;
  border-bottom: 3px solid #89b4fa;
  padding-bottom: 15px;
}

.legal-page h2 {
  color: #89b4fa;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
}

.legal-page h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: #89b4fa;
  border-radius: 2px;
}

.legal-page h3 {
  color: #a0c4ff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 500;
}

.legal-page p,
.legal-page ul {
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.legal-page ul {
  padding-left: 25px;
  list-style-type: none;
}

.legal-page ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.legal-page ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #89b4fa;
  font-weight: bold;
}

.legal-page a {
  color: #89b4fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-page a:hover {
  color: #a0c4ff;
  border-bottom: 1px solid #89b4fa;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  padding: 12px 24px;
  background: rgba(137, 180, 250, 0.1);
  color: #89b4fa;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(137, 180, 250, 0.3);
}

.back-link:hover {
  background: rgba(137, 180, 250, 0.2);
  transform: translateX(-5px);
  border-color: #89b4fa;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .legal-page {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .legal-page h1 {
    font-size: 2em;
  }

  .legal-page h2 {
    font-size: 1.3em;
  }
}
