/* ========== AUTORAS ========== */
/* Sección creativa para las creadoras del cuento */

.autoras-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Nubes decorativas de fondo */
.autoras-nubes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.autoras-nubes .nube {
    position: absolute;
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

/* Pseudo-elementos para forma de nube más realista */
.autoras-nubes .nube::before,
.autoras-nubes .nube::after {
    content: '';
    position: absolute;
    background: #FFFFFF;
    border-radius: 50%;
}

.autoras-nubes .nube-1::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 30px;
}

.autoras-nubes .nube-1::after {
    width: 90px;
    height: 90px;
    top: -45px;
    right: 30px;
}

.autoras-nubes .nube-2::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.autoras-nubes .nube-2::after {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 20px;
}

.autoras-nubes .nube-3::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.autoras-nubes .nube-3::after {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 15px;
}

.autoras-nubes .nube-1 {
    width: 180px;
    height: 60px;
    top: 10%;
    left: 20px;
    animation: flotar 8s ease-in-out infinite;
}

.autoras-nubes .nube-2 {
    width: 120px;
    height: 40px;
    top: 60%;
    right: 30px;
    animation: flotar 10s ease-in-out infinite 2s;
}

.autoras-nubes .nube-3 {
    width: 100px;
    height: 35px;
    bottom: 15%;
    left: 5%;
    animation: flotar 7s ease-in-out infinite 1s;
}

.autoras-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.autoras-header h2 {
    font-family: var(--font-titulo);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.autoras-header p {
    font-family: var(--font-manuscrito);
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Grid de autoras */
.autoras-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Tarjeta de autora */
.autora-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.autora-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Borde decorativo dashed */
.autora-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px dashed #E8B4B8;
    border-radius: 22px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.autora-card:hover::before {
    opacity: 1;
}

/* Avatar con gradiente */
.autora-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.autora-avatar--rosa {
    background: linear-gradient(135deg, #FF9AA2 0%, #E8B4B8 100%);
}

.autora-avatar--turquesa {
    background: linear-gradient(135deg, #4DBCC8 0%, #88d4f2 100%);
}

/* Inicial del nombre */
.autora-inicial {
    font-family: var(--font-titulo);
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}


/* Nombre */
.autora-card h3 {
    font-family: var(--font-titulo);
    font-size: 1.5rem;
    color: var(--marron);
    margin-bottom: 10px;
}

/* Descripción */
.autora-card p {
    font-family: var(--font-cuerpo);
    font-size: 1rem;
    color: #8B6F47;
    line-height: 1.5;
}

/* Frase destacada */
.autoras-frase {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 154, 162, 0.15) 0%, rgba(232, 180, 184, 0.15) 100%);
    border-radius: 25px;
    border: 3px dashed #E8B4B8;
    position: relative;
    z-index: 1;
}

.autoras-frase p {
    font-family: var(--font-manuscrito);
    font-size: 1.4rem;
    color: var(--marron);
    margin: 0;
}

.autoras-frase .sparkle {
    font-size: 1.5rem;
    margin: 0 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .autoras-section {
        padding: 60px 0;
    }
    
    .autoras-header h2 {
        font-size: 2rem;
    }
    
    .autoras-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .autora-card {
        max-width: 320px;
        padding: 30px 25px;
    }
    
    .autora-avatar {
        width: 100px;
        height: 100px;
    }
    
    .autora-inicial {
        font-size: 3rem;
    }
    
    .autoras-frase {
        padding: 25px 20px;
        margin: 0 15px;
    }
    
    .autoras-frase p {
        font-size: 1.2rem;
    }
}
