/* ======================================================
   Estela.app – Condiciones Generales de Uso
   Hoja de estilos v2.3 – Fondo estrellado y modo oscuro
   Fecha: 11 julio 2025
   ====================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --c-primary: #00aaff;
  --c-primary-dark: #0077cc;
  --c-border: #ffffff2b;
  --c-text: #f0f0f0;
  --c-text-muted: #bcbcbc;
  --c-shadow: rgba(0, 170, 255, 0.35);
  --c-surface: rgba(0, 0, 0, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: url("/recursos/imagenes/fondo_estelado.png") no-repeat center/cover fixed;
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: -1;
}

.container {
  max-width: 820px;
  margin: 80px auto 96px;
  padding: 2rem 1.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: fadeInUp 0.7s ease forwards;
}

@media (max-width: 768px) {
  .container {
    margin: 64px 1rem 72px;
    padding: 1.5rem 1rem;
  }
}

header {
  text-align: center;
  margin-top: 40px;
}

header .logo img {
  width: 140px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}

h1, h2, h3 {
  color: #fff;
  font-weight: 600;
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.4rem;
  margin: 2.4rem 0 1.1rem;
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 0.4rem;
}

p {
  margin-bottom: 1.25rem;
}

ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 100px;
}

section:target {
  animation: highlight 1s ease;
}

@keyframes highlight {
  0% { background: rgba(0, 170, 255, 0.08); }
  100% { background: transparent; }
}

footer {
  text-align: center;
  padding: 60px 0 80px;
  font-size: 0.9rem;
  color: #999;
}

.text-muted {
  color: var(--c-text-muted);
}
