/* =========================
   Modern CSS Reset (eticplay)
   ========================= */

/* Box sizing más predecible */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Elimina márgenes por defecto */
* {
  margin: 0;
}

/* Mejora rendering de texto */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Mejora media elements */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Formularios heredan tipografía */
input,
button,
textarea,
select {
  font: inherit;
}

/* Evita overflow de texto */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Listas: mantiene estilo pero controla padding */
ul,
ol {
  padding-left: 1.5rem;
}

/* Links sin estilos raros */
a {
  text-decoration: none;
  color: inherit;
}

/* Tablas limpias */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Botones sin estilos inconsistentes */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Reduce animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}