/* ===== PANEL DE NOVEDADES ===== */
.novedades-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.novedades-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.novedades-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: 90%;
    max-width: 480px;
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f0f 100%);
    border: 1px solid rgba(211, 13, 33, 0.966);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.novedades-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.novedades-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(216, 4, 25, 0.842);
    border-bottom: 1px solid rgba(220, 53, 69, 0.2);
}

.novedades-header h3 {
    margin: 0;
    color: #f8f9fa;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.novedades-header h3 i {
    color: #dc3545;
    font-size: 1.1rem;
}

.close-novedades {
    background: none;
    border: none;
    color: #adb5bd;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-novedades:hover {
    background: rgba(0, 0, 0, 0.733);
    color: #fff;
}

.novedades-body {
    padding: 1.25rem;
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.7;
}

.novedades-fecha {
    display: inline-block;
    background: rgb(204, 16, 34);
    color: #f5f0f1;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    border: 1px solid rgb(223, 17, 37);
}

.novedades-texto {
    color: #dee2e6;
    font-size: 0.95rem;
    line-height: 1.7;
}

.novedades-texto strong {
    color: #fff;
    font-weight: 600;
}

.novedades-texto em {
    color: #adb5bd;
    font-style: italic;
}

.novedades-footer {
    padding: 0 1.25rem 1.25rem;
    text-align: center;
}

.novedades-btn-cerrar {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(8, 8, 8, 0.3);
}

.novedades-btn-cerrar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 2, 2, 0.4);
}

.novedades-btn-cerrar:active {
    transform: translateY(0);
}

/* Animación de entrada para el contenido */
@keyframes novedadesFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.novedades-body > * {
    animation: novedadesFadeIn 0.4s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .novedades-panel {
        width: 92%;
        border-radius: 14px;
    }
    
    .novedades-header h3 {
        font-size: 0.95rem;
    }
    
    .novedades-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
}