/**
 * ============================================================================
 * PROYECTO: Play - Un Poco de Trux
 * ARCHIVO: reset.css
 * UBICACIÓN: /play/public/assets/css/reset.css
 * DESCRIPCIÓN: Reset CSS y normalización de elementos HTML base
 * ============================================================================
 */

/* ============================================================
   RESET UNIVERSAL
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   BODY Y TEXTO BASE
   ============================================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   ENLACES
   ============================================================ */

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    outline: 0;
}

/* ============================================================
   LISTAS
   ============================================================ */

ul, ol {
    list-style: none;
}

li {
    list-style: none;
}

/* ============================================================
   FORMULARIOS Y INPUTS
   ============================================================ */

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

button, [type="button"], [type="submit"], [type="reset"] {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: 0;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ============================================================
   TABLA
   ============================================================ */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 0.75rem;
}

th {
    font-weight: 700;
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

td {
    border-bottom: 1px solid #eee;
}

/* ============================================================
   CÓDIGO
   ============================================================ */

code, kbd, pre, samp {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
}

code {
    background-color: #f5f5f5;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
}

/* ============================================================
   IMÁGENES Y MEDIA
   ============================================================ */

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

video, iframe {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   LÍNEA HORIZONTAL
   ============================================================ */

hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid #ddd;
}

/* ============================================================
   BLOCKQUOTE
   ============================================================ */

blockquote {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #0066cc;
    font-style: italic;
    color: #666;
}

/* ============================================================
   ACCESIBILIDAD
   ============================================================ */

/* Focus visible para navegación por teclado */
:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Hidden pero accesible para screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================================
   UTILIDADES
   ============================================================ */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================================================
   FIN DE RESET.CSS
   ============================================================================ */
