/* ==== RESET Y TIPOGRAFÍA ==== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #ff1616 #181818;
}
html, body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #000 !important;
  color: #fff;
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==== CONTENIDO PRINCIPAL ==== */
main.contenido-principal {
  flex: 1 0 auto;
  min-height: 0;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: #000;
}

/* ==== BLOQUE CENTRAL ==== */
.section-simple {
  width: 100vw;
  max-width: 100vw;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.8s cubic-bezier(.42,0,.33,1.01);
}

/* ==== TITULO Y LÍNEAS ==== */
.titulo-con-linea {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  max-width: 1200px;
  margin: 46px 0 32px 0;
}
.titulo-con-linea .linea {
  flex: 1 1 120px;
  height: 2.2px;
  background: linear-gradient(90deg, #fff0 0%, #fff 60%, #fff0 100%);
  opacity: 0.22;
  border-radius: 2px;
  min-width: 32px;
  max-width: 180px;
  transition: background 0.3s;
  box-shadow: 0 2px 8px #0007;
}
.titulo-xl {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  line-height: 1.10;
  color: #fff;
  text-shadow: 0 2px 6px #0008;
  margin: 0 4px;
  white-space: pre-line;
}

/* ==== BLOQUE DE TÉRMINOS ==== */
.terms-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 38px auto;
  padding: 0 36px;
}
.terms-content p {
  font-size: 1.07rem;
  color: #ededed;
  margin: 8px 0 0 0;
  line-height: 1.65;
  font-weight: 400;
}
.terms-content h2 {
  font-size: 1.33rem;
  font-weight: 800;
  color: #fff;
  margin: 38px 0 10px 0;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #0006;
}
.terms-content p strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.terms-content ul, .terms-content ol {
  padding-left: 1.4em;
  margin: 9px 0 11px 0;
}
.terms-content li {
  font-size: 1.03rem;
  color: #ededed;
  margin-bottom: 5px;
  line-height: 1.48;
}

/* ==== Scrollbar ==== */
::-webkit-scrollbar {
  width: 8px;
  background: #181818;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff1616 50%, #b10000 100%);
  border-radius: 10px;
  border: 2px solid #181818;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #d10000 70%, #ff1616 100%);
}

/* ==== Footer ==== */
footer {
  width: 100vw;
  background: #111;
  padding: 32px 0 18px 0;
  color: #fff;
  text-align: center;
  margin-top: auto;
  border-top: 1.5px solid #222;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .terms-content {
    max-width: 99vw;
    padding: 0 7vw;
  }
  .titulo-xl {
    font-size: 1.6rem;
  }
  .terms-content h2 {
    font-size: 1.1rem;
    margin-top: 28px;
  }
}
@media (max-width: 700px) {
  .section-simple {
    padding: 0 0 14vw 0;
  }
  .titulo-con-linea {
    margin: 30px 0 18px 0;
    gap: 10px;
  }
  .titulo-con-linea .linea {
    min-width: 8px;
    max-width: 36px;
    opacity: 0.12;
  }
  .titulo-xl {
    font-size: 1.18rem;
  }
  .terms-content {
    padding: 0 4vw;
    font-size: .97rem;
  }
  .terms-content h2 {
    font-size: .98rem;
    margin: 19px 0 7px 0;
  }
  .terms-content p,
  .terms-content li {
    font-size: .94rem;
  }
}
@media (max-width: 420px) {
  .section-simple {
    padding: 0 2vw 12vw 2vw;
  }
  .titulo-xl { font-size: .95rem; }
  .terms-content h2 { font-size: .82rem; }
  .terms-content p,
  .terms-content li {
    font-size: .83rem;
  }
}

/* ==== Selección de texto ==== */
::selection {
  background: #ff1616;
  color: #fff;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: none;}
}
