header{
    background-color: #471b9f;
    display: flex;
    color: rgb(255, 255, 255);
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 50px;
    align-items: center;
}
body{
    background-color: rgb(36, 37, 47);
}
h1{
    background-color: rgba(101, 101, 212, 0.623);
    margin: 0;
    padding: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

nav> ul{
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

nav li{

    cursor: pointer;
    font-weight: 500;
    transition: color 0.4s;

}
nav li:hover{
    color: #d59fec;
}
section{
    display: flex;
    padding: 40px;
    flex-grow: 1;
    flex-direction: column;
    gap:30px
    
}
#contexto{
    background-color: rgb(207, 210, 255);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

#resumen > li {
    display: flex;
    list-style: none;
    margin: 3px;
    padding-left: 5px;
    background-color: #60556b41; /* fondo plano */
    border-left: 3px solid #2b274b;
    transition: background 0.3s ease; /* transición suave */
}

#resumen > li:hover {
    background: linear-gradient(90deg, #322e5036 0%, #61516e46 100%); /* difuminado al hacer hover */
}

#contexto>h3{
    margin-top: 0;
    color:#302c50;
    border-bottom: 2px solid #6634db;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
#motor{
    background-color: rgb(207, 210, 255);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.mediainfo{
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.drop-zone{
    border: 2px dashed #dccde8;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background-color: #9fb6ec8c;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.drop-zone:hover{
    border-color: #403a68dd;
    background-color: #2b274b4f;
}
.drop-zone .icon{
    font-size: 50px;
}
.drop-zone .text {
    font-weight: 600;
    color: #4a5568;
}
/* Estilos para la tarjeta de resultados generada por JS */
.resultado-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in;
}

.resultado-card h4 {
    color: #471b9f;
    border-bottom: 2px solid #d59fec;
    padding-bottom: 5px;
    margin-top: 15px;
}

.resultado-card ul {
    list-style: none;
    padding-left: 0;
}

.resultado-card li {
    padding: 5px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
}

.resultado-card li strong {
    color: #555;
    margin-right: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}