/* ===== ESTILOS GLOBALES ===== */
:root {
    --color-primario: #ffb6c1;
    --color-secundario: #f5f5f5;
    --color-texto: #333333;
    --color-borde: #e0e0e0;
    --sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
    --sombra-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transicion: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: var(--color-texto);
    line-height: 1.6;
    position: relative;
}

/* ===== BOTÓN DE MÚSICA FLOTANTE ===== */
.boton-musica {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: var(--sombra);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicion);
    z-index: 1000;
    border: 2px solid var(--color-primario);
}

.boton-musica:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--sombra-hover);
}

.boton-musica img {
    width: 35px;
    height: 35px;
    transition: var(--transicion);
}

.boton-musica.reproduciendo {
    animation: latido 1.5s ease-in-out infinite;
}

@keyframes latido {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== TIPOGRAFÍA ===== */
h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-texto), #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ===== BOTONES ===== */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    background: white;
    color: var(--color-texto);
    cursor: pointer;
    transition: var(--transicion);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--sombra);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--sombra-hover);
}

.btn-primario {
    background: var(--color-primario);
    color: white;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}